Issue #23373 has been updated by Rob Reynolds. Branch set to https://github.com/puppetlabs/puppet/pull/2138
---------------------------------------- Feature #23373: Command line manipulation of puppet.conf https://projects.puppetlabs.com/issues/23373#change-101201 * Author: Andrew Parker * Status: Merged - Pending Release * Priority: Normal * Assignee: Andrew Parker * Category: * Target version: 3.5.0 * Affected Puppet version: * Keywords: * Branch: https://github.com/puppetlabs/puppet/pull/2138 ---------------------------------------- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
