Bug #897

custom facts cause fileserver error

Added by Chris MacLeod over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Luke Kanies % Done:

0%

Category:-
Target version:0.24.0
Affected Puppet version:0.25.4 Branch:
Keywords:
Votes: 0

Description

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

History

Updated by Luke Kanies over 4 years ago

  • Status changed from 1 to 2

Updated by Luke Kanies over 4 years ago

  • Status changed from 2 to Closed
  • 7 set to duplicate

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

Also available in: Atom PDF