Puppet: System Administration Automated

Support

Ticket #897 (closed defect: duplicate)

Opened 1 year ago

Last modified 1 year ago

custom facts cause fileserver error

Reported by: stick Assigned to: luke
Priority: normal Milestone: misspiggy
Component: library Version: 0.23.2
Severity: normal Keywords:
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Unknown

Description (Last modified by luke)

I have a couple of custom facts located in $vardir/facts on the puppetmaster when turning on factsync = true in puppet.conf they appear to be copied correctly and they work, but it gives the following error for each one.

err: /fact_collector/File[/var/lib/puppet/facts/hardware_platform.rb]: Failed to generate additional resources during transaction: Fileserver module 'factshardware_platform' not mounted
err: /fact_collector/File[/var/lib/puppet/facts/hardware_platform.rb]/source: Could not describe /factshardware_platform.rb: Fileserver module 'factshardware_platform' not mounted
info: /fact_collector/File[/var/lib/puppet/facts/hardware_platform.rb]/source: No specified sources exist
err: /fact_collector/File[/var/lib/puppet/facts/apache_version.rb]: Failed to generate additional resources during transaction: Fileserver module 'factsapache_version' not mounted
err: /fact_collector/File[/var/lib/puppet/facts/apache_version.rb]/source: Could not describe /factsapache_version.rb: Fileserver module 'factsapache_version' not mounted

fileserver.conf looks like this:

[facts]
path /var/lib/puppet/facts/
allow *.domain.com

Luke seemed to think this was an issue with trailing slashes, but I've tried it both ways with and without.

There certainly is an issue with the trailing slashes, but adding it doesn't seem to fix things for me

FC6 - 0.23.2

Change History

11/24/07 03:18:28 changed by luke

  • description changed.

11/24/07 03:18:51 changed by luke

  • owner changed from community to luke.
  • status changed from new to assigned.
  • stage changed from Unreviewed to Accepted.
  • version changed from 0.17.2 to 0.23.2.
  • milestone set to misspiggy.

11/28/07 04:46:01 changed by luke

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

This is actually a dupe of #752; I thought it had been filed.