[Puppet Users] Re: removing "minimum_uid=1000" value from all my pam config files

2017-03-31 Thread John Gelnaw
On Thursday, March 30, 2017 at 1:58:46 PM UTC-4, Peter K wrote: > > I'm trying to remove a specific configuration value, "minimum_uid=1000", > from multiple lines in several files (currently 5 files) in /etc/pam.d/. > A typical line looks like this: > auth [success=1 default=ignore]

Re: [Puppet Users] facters or Custom Facts

2017-03-31 Thread warron.french
LOL! Cool! I will join then. -- Warron French On Thu, Mar 30, 2017 at 5:20 PM, Rob Nelson wrote: > Warron, > > Hiera is a lot easier than it seems! If you join the puppet slack ( > https://slack.puppet.com), I'm sure we could help you get it set

[Puppet Users] Re: removing "minimum_uid=1000" value from all my pam config files

2017-03-31 Thread jcbollinger
On Thursday, March 30, 2017 at 12:58:46 PM UTC-5, Peter K wrote: > I've tried exec and sed, but I couldn't figure out the necessary escaping > to get the filename variable to parse (here I test with 'abc'): > define removeMinimumUID(){ > exec { '${filename}': > command =>