Hi,
Runing puppet version 2.6.2
Created a provider and type from
http://projects.puppetlabs.com/projects/puppet/wiki/Development_Complete_Resource_Example
the
first one with file. Just renamed the type to pfile.
A put it on the puppetmaster, configured it for a client and triggered a
run. Wor
If I remove the extension .rb the facter dosen't work. So that's not the
issue.
/Patrik
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send em
Good idea!
Now I found another problem.
Some facts dosent't works when I call them explicit.
The facter shows up in the list when I run facter --puppet.
But when I call facter --puppet it dosen't give me the value
that I got in the list. Returns nothing.
"facter" gives me:
--
uptime
Found the error:
require 'rubygems'
require 'mygem'
Facter.add("myfacter") do
setcode do
--
This works:
Facter.add("myfacter") do
require 'rubygems'
require 'mygem'
setcode do
---
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
T
I do require rubygems.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options
The gem is installed on the clients and the facter works on the client. It's
when I do the puppet apply/run I get the error.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To
Hi,
Created a facter that require a gem. The gem is installed on all the servers
involved.
But when I trigger puppet I get an error in the log:
Could not run Puppet configuration client: Could not retrieve local facts:
no such file to load --
Is there a way to make puppet use/find the gem?
Us