I feel like I've got a reasonably good solution with that augeas recipe, 
it's just that it requires multiple runs to work. If anybody familiar with 
augeas could take a look at it and help me, I would be most grateful.

On Thursday, July 10, 2014 6:00:26 AM UTC-5, Trevor Vaughan wrote:
>
> Pete is definitely on to one good approach here.
>
> Other approaches may include using automount and placing all of your 
> mounts into LDAP or using a custom fact to gather the mounts on each system 
> and then manipulating them accordingly with a define.
>
> Trevor
>
>
> On Wed, Jul 9, 2014 at 9:40 PM, Pete Brown <rendh...@gmail.com 
> <javascript:>> wrote:
>
>> On 10 July 2014 09:18, Kim Scarborough <cho...@gmail.com <javascript:>> 
>> wrote:
>> >>> My Augeas approach works, I'm just having the one problem where I 
>> can't
>> >>> get
>> >>
>> >> > it to apply to more than one mount line per run.
>> >>
>> >> It might work but it is probably better to manage the whole mount with
>> >> puppet.
>> >>
>> > I have hundreds of servers, many with several NFS mounts, and neither 
>> the
>> > source or the mountpoint is consistent anywhere. It would be faster for 
>> me
>> > to hand-edit every server's fstab than to enter them all into puppet.
>>
>> Sounds like a job for a class with variables backed with hiera.
>> Infinitely more configurable and less prone to the potential errors
>> you might introduce from hand editing each fstab.
>>
>> > --
>> > You received this message because you are subscribed to the Google 
>> Groups
>> > "Puppet Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an
>> > email to puppet-users...@googlegroups.com <javascript:>.
>> > To view this discussion on the web visit
>> > 
>> https://groups.google.com/d/msgid/puppet-users/1bc07614-3a9a-4650-b3ce-d531a8caba3c%40googlegroups.com
>> .
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to puppet-users...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/CAJ8DPF77ixMAm8BFe%2BLHcgcraj6iRYWJzgNE8sO1s5TZY7UvDQ%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Trevor Vaughan
> Vice President, Onyx Point, Inc
> (410) 541-6699
> tvau...@onyxpoint.com <javascript:>
>
> -- This account not approved for unencrypted proprietary information -- 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/e9177085-ab67-4ec1-bb14-71a0edb6dc8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to