When Facter's output changes, puppetd does not notice, which can result in configurations not being recompiled when they should:
---- site.pp ----
node 'HOST' {
notify { "FACTER":
message => "The env fact: $factspuppetser"
}
}
---- sample run ----
[root@HOST manifests]# FACTER_FACTSPUPPETSER=BUTIAM puppetd -o --server=HOST --verbose
notice: Ignoring --listen on onetime run
info: Caching configuration at /var/scea/puppet/etc/localconfig.yaml
notice: Starting configuration run
notice: //HOSTA/Notify[FACTER]/message: The env fact: BUTIAM
info: Sent transaction report in 0.18 seconds
notice: Finished configuration run in 0.29 seconds
[root@HOST manifests]# FACTER_FACTSPUPPETSER=DIFFERENT puppetd -o --server=HOST --verbose
notice: Ignoring --listen on onetime run
info: Config is up to date
notice: Starting configuration run
notice: //the-puppet-master002.scea.com/Notify[FACTER]/message: The env fact: BUTIAM
info: Sent transaction report in 0.19 seconds
notice: Finished configuration run in 0.27 seconds