Project

General

Profile

Bug #15132

/etc/puppetlabs/puppetserver/bootstrap.cfg is missing in Puppet Server 2.5.0

Added by Dominic Cleal over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

puppet-puppet fails under Puppet Server 2.5.0 as it appears bootstrap.cfg is now gone:

# [ WARN 2016-05-23 08:48:00 verbose]  /Stage[main]/Puppet::Server::Puppetserver/Augeas[puppet::server::puppetserver::jvm]/returns: executed successfully
# [ERROR 2016-05-23 08:48:00 verbose]  /Stage[main]/Puppet::Server::Puppetserver/File_line[ca_enabled]: Could not evaluate: No such file or directory @ rb_sysopen - /etc/puppetlabs/puppetserver/bootstrap.cfg
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:39:in `readlines'
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:39:in `lines'
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:6:in `exists?'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1068:in `retrieve'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1096:in `retrieve_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:221:in `from_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:19:in `evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:212:in `apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:228:in `eval_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `call'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `block (2 levels) in evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:386:in `block in thinmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:385:in `thinmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `block in evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:142:in `evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:222:in `block in apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:155:in `with_destination'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:118:in `as_logging_destination'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:221:in `apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:171:in `block in apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:223:in `block in benchmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:222:in `benchmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:170:in `apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:315:in `run_internal'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:186:in `block in run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:240:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:350:in `apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:274:in `block in main'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:240:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:225:in `main'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:170:in `run_command'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:344:in `block in run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:540:in `exit_on_fail'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:344:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:128:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:72:in `execute'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
# [ERROR 2016-05-23 08:48:00 verbose]  /Stage[main]/Puppet::Server::Puppetserver/File_line[ca_disabled]: Could not evaluate: No such file or directory @ rb_sysopen - /etc/puppetlabs/puppetserver/bootstrap.cfg
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:39:in `readlines'
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:39:in `lines'
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:6:in `exists?'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1068:in `retrieve'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1096:in `retrieve_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:221:in `from_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:19:in `evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:212:in `apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:228:in `eval_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `call'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `block (2 levels) in evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:386:in `block in thinmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:385:in `thinmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `block in evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:142:in `evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:222:in `block in apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:155:in `with_destination'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:118:in `as_logging_destination'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:221:in `apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:171:in `block in apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:223:in `block in benchmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:222:in `benchmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:170:in `apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:315:in `run_internal'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:186:in `block in run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:240:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:350:in `apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:274:in `block in main'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:240:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:225:in `main'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:170:in `run_command'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:344:in `block in run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:540:in `exit_on_fail'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:344:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:128:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:72:in `execute'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
# [ERROR 2016-05-23 08:48:00 verbose]  /Stage[main]/Puppet::Server::Puppetserver/File_line[versioned_code_service]: Could not evaluate: No such file or directory @ rb_sysopen - /etc/puppetlabs/puppetserver/bootstrap.cfg
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:39:in `readlines'
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:39:in `lines'
# [ INFO 2016-05-23 08:48:00 verbose] /usr/share/foreman-installer/modules/stdlib/lib/puppet/provider/file_line/ruby.rb:6:in `exists?'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1068:in `retrieve'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1096:in `retrieve_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:221:in `from_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:19:in `evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:212:in `apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:228:in `eval_resource'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `call'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `block (2 levels) in evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:386:in `block in thinmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:385:in `thinmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:151:in `block in evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:142:in `evaluate'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:222:in `block in apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:155:in `with_destination'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:118:in `as_logging_destination'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:221:in `apply'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:171:in `block in apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:223:in `block in benchmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:222:in `benchmark'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:170:in `apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:315:in `run_internal'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:186:in `block in run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:240:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:350:in `apply_catalog'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:274:in `block in main'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:240:in `override'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:225:in `main'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:170:in `run_command'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:344:in `block in run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:540:in `exit_on_fail'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:344:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:128:in `run'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:72:in `execute'
# [ INFO 2016-05-23 08:48:00 verbose] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
# [ WARN 2016-05-23 08:48:00 verbose]  /Stage[main]/Puppet::Server::Puppetserver/File[/etc/puppetlabs/puppetserver/conf.d/ca.conf]/ensure: defined content as '{md5}89ee09574b369829999d72d8ec1e8b8e'

/etc now contains:

/etc/puppetlabs/puppetserver
/etc/puppetlabs/puppetserver/conf.d
/etc/puppetlabs/puppetserver/conf.d/auth.conf
/etc/puppetlabs/puppetserver/conf.d/global.conf
/etc/puppetlabs/puppetserver/conf.d/puppetserver.conf
/etc/puppetlabs/puppetserver/conf.d/web-routes.conf
/etc/puppetlabs/puppetserver/conf.d/webserver.conf
/etc/puppetlabs/puppetserver/logback.xml
/etc/puppetlabs/puppetserver/request-logging.xml
/etc/puppetlabs/puppetserver/services.d
/etc/puppetlabs/puppetserver/services.d/ca.cfg

but on 2.4.0:

/etc/puppetlabs/puppetserver
/etc/puppetlabs/puppetserver/bootstrap.cfg
/etc/puppetlabs/puppetserver/conf.d
/etc/puppetlabs/puppetserver/conf.d/auth.conf
/etc/puppetlabs/puppetserver/conf.d/global.conf
/etc/puppetlabs/puppetserver/conf.d/puppetserver.conf
/etc/puppetlabs/puppetserver/conf.d/web-routes.conf
/etc/puppetlabs/puppetserver/conf.d/webserver.conf
/etc/puppetlabs/puppetserver/logback.xml
/etc/puppetlabs/puppetserver/request-logging.xml

Associated revisions

Revision 68c2d50e (diff)
Added by Dominic Cleal over 4 years ago

fixes #15132 - support services.d/ configuration in Puppet Server 2.5 (#402)

PS 2.5 moves CA configuration from bootstrap.cfg to a services.d/ca.cfg
file, separating user config (CA) from app config (e.g. versioned code
service). This is now configured instead of bootstrap.cfg when the
server_puppetserver_version parameter is set to 2.5.

A special version value of 2.4.99 (now the default) configures both the
2.4 and 2.5 files simultaneously, creating both bootstrap.cfg and
services.d/ca.cfg so the module works across both versions, albeit with
logged warnings about duplicate CA definitions. This ensures the module
will still work on the release of 2.5, after which time the parameter
default can be changed to 2.5.0 to remove the duplicate configuration.

History

#2 Updated by Dominic Cleal over 4 years ago

Additionally the BOOTSTRAP_CONFIG has changed in /etc/sysconfig/puppetserver (or /etc/default) to:

BOOTSTRAP_CONFIG="/etc/puppetlabs/puppetserver/services.d/,/opt/puppetlabs/server/apps/puppetserver/config/services.d/"

from /etc/puppetlabs/puppetserver/bootstrap.cfg.

I think to retain compatibility with 2.4 and 2.5, we could:

  1. specify all three directories (bootstrap.cfg, 2x services.d) in BOOTSTRAP_CONFIG
  2. add a file resource to ensure bootstrap.cfg exists (for file_line)
  3. add a file resource to ensure both services.d/ directories exist
  4. use file_line on both bootstrap.cfg and ca.cfg

which appears to work on both 2.4 and 2.5, with it just logging some warnings about CA services being declared twice, in both bootstrap.cfg and ca.cfg. When 2.5's released then we could change the default behaviour to only configure ca.cfg and use the puppetserver version parameter to provide 2.4 compatibility.

#3 Updated by Dominic Cleal over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal

#4 Updated by Dominic Cleal over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-puppet/pull/402 added

#5 Updated by Dominic Cleal over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 136

Also available in: Atom PDF