Displaying 3 results from an estimated 3 matches for "module_utils".
2013 Feb 22
0
Custom utils lib
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 a...
2013 Aug 15
1
Announce: Puppet 3.2.4 Available [ Security Release ]
...Fix TypeLoader#import_all on Ruby 1.8.7
a0f8a32 (#21971) Fixes PathPattern''s usage of Dir.glob for Windows
987c4d5 (#21971) Allow paths that contain .. as part of a name
c0234fe (maint) Fix windows test for embedded ''..'' in path
adff11c (maint) Fix module_utils regex tests for module file perms
Matthaus Owens (4):
05d20ff (maint) Remove rspec requires from the Rakefile
a754bc8 (packaging) Move systemd BuildRequires into conditional
019e443 (maint) Correct type in speeeeling of pl-fedora-18-i386 mock
in ext/build_defaults.yaml
f558...
2020 Apr 20
0
Fwd: Guestfish Ansible Modules using Python Bindings
...please let me know. I have
found guestfish and supermin a very interesting library to work with and
learned a lot.
https://github.com/ppetrou/infra_server_kvm/tree/master/roles/infra_server_kvm_cloud_create
https://github.com/ppetrou/infra_server_kvm/blob/master/roles/infra_server_kvm_cloud_create/module_utils/guestfish_lib.py
https://github.com/ppetrou/infra_server_kvm/tree/master/roles/infra_server_kvm_cloud_create/library
Thank you,
Petros
----- End forwarded message -----
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog:...