Displaying 3 results from an estimated 3 matches for "puppetlabsstdlib".
2013 Apr 13
6
facter doesn't load from /ect/facter/facts.d
I''m trying to load custom facts via /etc/facter/facts.d/* according to
instructions on
http://docs.puppetlabs.com/guides/custom_facts.html#structured-data-facts
I must have missed a setting somewhere because I get nothing. The first
clue may be that /etc/facter didn''t exist. I had to create it manually.
Is there a setting or search path I need to create?
Details:
puppet
2013 Jan 04
5
How to manage one line in a file by puppet
Hi,
I want to write a puppet module for xen on Debian. This module will need
to manage one line in the file /etc/default/grub, namely the line
starting with "GRUB_CMDLINE_XEN=". Currently I want to leave the rest of
the file untouched.
Which would be the best way to do this?
I see two options:
a) Do some `sed` magic on the file in a `exec` call. Downside: puppet
won''t notice
2013 Mar 11
3
custom puppet facts
I have written a custom puppet fact using a ruby script. It is very simple
- it just adds a string to a fact. However I have written a module but it
appears to me that the custom fact has been applied to all my machines
without me specifying any node definitions. When I run a puppet agent
--test --noop, I see the custom fact appear in /var/lib/puppet/lib/facter.
Info: Loading facts in