[Puppet Users] Re: Augeas editing of fstab

2015-03-28 Thread Raphink
Actually, the native mount type can also be used with an augeas-based provider if you use the herculesteam/augeasproviders_mounttab module. This brings the simplicity of a native module with the power and safety of Augeas under the hood. As for the original code by OP, there are Augeas errors i

Re: [Puppet Users] Am I seeing PUP-3863?

2015-03-28 Thread Raphink
Also, if the future parser is not an option for you, the hiera_undef module provides hiera functions that return undef when no value is found in hiera: https://forge.puppetlabs.com/camptocamp/hiera_undef We used this write heavily to wrap puppet classes and emulate data bindings when migrating

[Puppet Users] Re: adding new users to /etc/sudoers

2015-03-28 Thread Russell Anderson
First, the visudo check didn't work otherwise it would have given actual feedback, not usage info. Second, where is this sudo class / module come from. Nothing in the command snippets creates it. On Friday, March 27, 2015 at 3:24:58 PM UTC-4, manyi wrote: > > Help needed!! > > I am trying to

[Puppet Users] Re: Problem with order and ensure_resource.

2015-03-28 Thread Nan Liu
On Friday, March 27, 2015 at 5:49:54 PM UTC-7, Shawn Sterling wrote: > > > > On Friday, March 27, 2015 at 6:45:05 AM UTC-7, jcbollinger wrote: >> >> ensure_resource() is not a resource declaration; it is a function call >> that under some circumstances causes a resource to be declared. It does >