Bug #1114

pluginsync does not detect new facts

Added by Adrian Bridgett almost 4 years ago. Updated over 3 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:James Turnbull % Done:

0%

Category:unknown
Target version:0.24.5
Affected Puppet version: Branch:
Keywords:
Votes: 0

Description

Using Debian’s 0.24.1-2 package, new facts are not detected after pluginsync has run (i.e. I’d expect to see a “Facts have changed, recompiling” message)

# rm /var/lib/puppet/lib/facter/*
rm: cannot remove @/var/lib/puppet/lib/facter/*': No such file or directory
# puppetd --pluginsync --test -w 5 --server $host
info: Retrieving plugins
notice: /File[/var/lib/puppet/lib/facter]/checksum: checksum changed '{time}Wed Mar 05 11:44:48 +0000 2008' to '{time}Wed Mar 05 12:15:35 +0000 2008'
notice: /File[/var/lib/puppet/lib/facter/mgmt_ip.rb.disabled]/ensure: created
notice: /File[/var/lib/puppet/lib/facter/mountpoints.rb]/ensure: created
notice: /File[/var/lib/puppet/lib/facter/virtual.rb]/ensure: created
notice: /File[/var/lib/puppet/lib/facter/cputype.rb]/ensure: created
notice: /File[/var/lib/puppet/lib/facter/userspace.rb]/ensure: created
notice: Ignoring cache
err: Could not retrieve catalog: Failed to parse template snmpd/snmpd.conf: Could not find value for 'mountpoints' at /etc/puppet/modules/snmpd/manifests/init.pp:19

History

Updated by David Schmitt almost 4 years ago

Could that be related to #1002?

Updated by Adrian Bridgett almost 4 years ago

might be related, but it is different, if I add —factpath=/var/lib/puppet/lib/facter (it’s set to that in /etc/puppet/puppet.conf anyhow) there is no change.

If I set —factpath=/var/lib/puppet/lib/facter and —factdest=/var/lib/puppet/lib/facts, there is still no change.

Updated by Redmine Admin over 3 years ago

  • Status changed from 1 to Accepted

Updated by Luke Kanies over 3 years ago

Marking #1129 as a duplicate.

Updated by Luke Kanies over 3 years ago

  • Status changed from Accepted to Closed

This should work in Facter 1.5.

Updated by Ohad Levy over 3 years ago

  • Status changed from Closed to Unreviewed

luke wrote:

This should work in Facter 1.5.

Based on Facter 1.5 RC1 this does not work.

Updated by Luke Kanies over 3 years ago

  • Status changed from Unreviewed to Accepted
  • Assignee changed from Puppet Community to Luke Kanies
  • Target version changed from 4 to 0.24.5

Updated by Luke Kanies over 3 years ago

  • Assignee changed from Luke Kanies to James Turnbull

Fixed in the tickets/0.24.x/1114 branch in my repo.

Updated by Luke Kanies over 3 years ago

  • Status changed from Accepted to Ready For Checkin

Updated by James Turnbull over 3 years ago

  • Status changed from Ready For Checkin to Closed

Pushed in commit:4bdb793092a1aee1798d921cb82ee9c12f0c51be to branch 0.24.x

Also available in: Atom PDF