As Puppet is supposed to be idempotent, in practical terms this shouldn't(!) be a problem, BUT (afaik), this is not normal and I'd like to know why and ideally how to 'fix' it.
Also, when I push to merge, the approver(s) are going to ask & I don't have an answer...
Notice: /Stage[main]/Pm::Classes::Configuration/File[/etc/puppetlabs/puppet/puppet.conf]/content: --- /etc/puppetlabs/puppet/puppet.conf 2016-12-07 03:29:19.219026379 +0000 +++ /tmp/puppet-file20161207-15887-1afkw5j 2016-12-07 23:00:23.803972337 +0000 @@ -1,10 +1,4 @@ -# TESTING -# This file can be used to override the default puppet settings. -# See the following links for more details on what settings are available: -# - https://docs.puppetlabs.com/puppet/latest/reference/config_important_settings.html -# - https://docs.puppetlabs.com/puppet/latest/reference/config_about_settings.html -# - https://docs.puppetlabs.com/puppet/latest/reference/config_file_main.html -# - https://docs.puppetlabs.com/puppet/latest/reference/configuration.html + [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /var/log/puppetlabs/puppetserver @@ -12,6 +6,7 @@ pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid codedir = /etc/puppetlabs/code dns_alt_names =XXXX + reports = store, foreman reportdir = $vardir/reports Notice: /Stage[main]/Pm::Classes::Configuration/File[/etc/puppetlabs/puppet/puppet.conf]/content: --- /etc/puppetlabs/puppet/puppet.conf 2016-12-07 03:29:19.219026379 +0000 +++ /tmp/puppet-file20161207-15887-uy7270 2016-12-07 23:00:23.808972337 +0000 @@ -1,10 +1,4 @@ -# TESTING -# This file can be used to override the default puppet settings. -# See the following links for more details on what settings are available: -# - https://docs.puppetlabs.com/puppet/latest/reference/config_important_settings.html -# - https://docs.puppetlabs.com/puppet/latest/reference/config_about_settings.html -# - https://docs.puppetlabs.com/puppet/latest/reference/config_file_main.html -# - https://docs.puppetlabs.com/puppet/latest/reference/configuration.html + [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /var/log/puppetlabs/puppetserver @@ -12,6 +6,7 @@ pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid codedir = /etc/puppetlabs/code dns_alt_names = XXXX + reports = store, foreman reportdir = $vardir/reports Notice: /Stage[main]/Pm::Classes::Configuration/File[/etc/puppetlabs/puppet/puppet.conf]/content: current_value {md5}dbbf413a3623b3fd204ac255af96c709, should be {md5}6e25f3d067d4cc9d52a2f7ee9888a98c (noop)
Cheers
Chris
PS: yes, I've grepped through site.pp, nodes.pp, all modules, both common and for this env and I can't see 2 calls...