Issue #23373 has been updated by Andrew Parker. Status changed from Merged - Pending Release to In Topic Branch Pending Review Branch changed from https://github.com/puppetlabs/puppet/pull/2138 to https://github.com/puppetlabs/puppet/pull/2158
The next stage of the work that allows selecting specific sections of the configuration file is up. This also changes `puppet config print` to be able to handle the sections, too. We should do some testing to make sure that the settings that might happen because of hooks also work correctly... there might be a gap in what I did around that. ---------------------------------------- Feature #23373: Command line manipulation of puppet.conf https://projects.puppetlabs.com/issues/23373#change-101383 * Author: Andrew Parker * Status: In Topic Branch Pending Review * Priority: Normal * Assignee: Andrew Parker * Category: * Target version: 3.5.0 * Affected Puppet version: * Keywords: * Branch: https://github.com/puppetlabs/puppet/pull/2158 ---------------------------------------- In order to more easily support setting up new agents, it would be useful to have a simple command which could be used to configure the agent. Something like `puppet config set server=puppet.example.com` would work great. The big open question with it is how to support sections in the presence of run modes. The simplest seems to be to just ignore run modes (since they don't have a bidirectional mapping with sections) and provide an explicit `--section` flag (probably with a default of `main`). The end goal is to be able to easily build an agent install script which looks something like this: <pre> yum install -y puppet puppet config set certname=$(hostname -f) puppet config set server=puppet.example.com puppet config set environment=test puppet resource service puppet ensure=running enable=true </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.