lib/beaker-puppet/helpers/puppet_helpers.rb in beaker-puppet-1.18.4 vs lib/beaker-puppet/helpers/puppet_helpers.rb in beaker-puppet-1.18.5
- old
+ new
@@ -341,10 +341,10 @@
end
# @!visibility private
def puppet_conf_for host, conf_opts
puppetconf = host.exec( Command.new( "cat #{puppet_config(host, 'config', section: 'master')}" ) ).stdout
- new_conf = IniFile.new(content: puppetconf).merge( conf_opts )
+ new_conf = IniFile.new(default: 'main', content: puppetconf).merge( conf_opts )
new_conf
end
# Restarts the named puppet service