Applying setting using puppet's cli command doesn't appear to work?
When I run the following command on my puppetmaster:
$ puppet config set reports datadog_reports --section master
It should add this setting in the 'master' of my puppet.conf file. However it ends up adding it to the 'main section instead':
$ cat /etc/puppetlabs/puppetpuppet.conf [main] server =xxxxxxxx.co.uk reports = datadog_reports # this is in the wrong section [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /var/log/puppetlabs/puppetserver rundir = /var/run/puppetlabs/puppetserver pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid codedir = /etc/puppetlabs/code autosign = true certname = xxxxxx server = xxxxxxx [agent] certname = xxxxxxx server = xxxxxxx
I want to set this setting in the master section as per the following instructions:
By the way I am using Puppet version:
$ puppet --version 4.4.1