search for: secondary_group

Displaying 1 result from an estimated 1 matches for "secondary_group".

2012 Mar 23
11
Plugins and Hiera
...irst, doesn''t it? So, I guess I could create a module and a ruby script: - mygroups/lib/facter/addgroup.rb And write some code in Ruby to call Facter.add(:primary_group). My problem is (besides the fact that I know nothing about Ruby)... how do I insert the values for primary_group and secondary_group inside that function, within a simple puppet run? I guess I could use a file with the definitions, like /etc/facts.d/groups... but that would require two puppet runs: one to create the file, and the second that loads the facts. I was thinking of a possible alternative... a module "mygroup...