Hi,
I've created a number of custom facts that i've added to manifests. If
i add the custom fact, have puppet push the custom fact file to the
host, then after it's pushed it add it to the templates everything
works fine. However if i try and use the module on a fresh host
without the custom facter it fails. When it looks at the templates it
isn't aware of the custom fact yet and errors out.
How can i get it to pull down the facter plugin before it tries to
read the template file?
I have tried:
file {
"/etc/somefile":
owner => root,
group => root,
mode => 644,
require => File["/usr/lib/ruby/1.8/facter/custom_fact.rb"],
content => template("module/etc/somefile");
}
Any suggestions? I'd prefer not to have to add the custom facter to
the kickstart/jumpstart enviroment.
--MD
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.