Project

General

Profile

« Previous | Next » 

Revision 70f30241

Added by Ewoud Kohl van Wijngaarden almost 10 years ago

Move puppet config to /etc/puppet/foreman.yaml

Previously it was in /etc/foreman/puppet.yaml, but this makes little
sense because foreman does not need to be installed on a puppet master.

View differences:

spec/unit/foreman_external_node_spec.rb
:puppet_home: "/var/lib/puppet"
EOF
yaml = YAML.load(yaml_text)
YAML.stubs(:load_file).with("/etc/foreman/puppet.yaml").returns(yaml)
YAML.stubs(:load_file).with("/etc/puppet/foreman.yaml").returns(yaml)
YAML.stubs(:load_file).with("/dev/null").returns({})
eval File.read(File.join(File.dirname(__FILE__), '../..', 'files', 'external_node_v2.rb'))
end

Also available in: Unified diff