Hi all,
Is it possible to have a custom utils lib in puppet ?
By exemple I want to have a custom class used in many custom facts and many
custom function :
module_utils/lib/puppet/my_class.rb
And in my custom fact I can call this class :
> require ''module_utils''
Facter.add("custom_fact") do> setcode do
> var = Puppet::Utils::my_class.getVariable()
> end
> end
Loïc
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.