Puppet: System Administration Automated

Support

Ticket #519 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

puppetd does not notice changes to facts

Reported by: luke Assigned to: luke
Priority: normal Milestone: grover
Component: client Version: 0.22.1
Severity: normal Keywords: caching facter puppetd
Cc: Triage Stage:
Attached Patches: Complexity:

Description

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

Change History

03/08/07 02:31:45 changed by luke

  • status changed from new to assigned.
  • milestone set to grover.

03/19/07 04:34:53 changed by luke

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in [2303].