search for: sudoers_custom_serv

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

Did you mean: sudoers_custom_server
2011 Aug 05
5
Variable scope when having node inheritance
...lass sudoers::config { file { "/etc/sudoers": ensure => file, owner => "root", group => "root", mode => 440, source => "puppet:///modules/sudoers/sudoers_ $sudoenv", } } I have then created to files: sudoers_default and sudoers_custom_server I want to have a default sudoers file on most of my servers, but on a few others, I need a different one, but on serverA I only get the sudoers_default file. I have tried to create it as a template (still using the $sudoenv varialbe) but this does not have any effect. Only if I move the include...