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 <rendhal...@gmail.com> wrote:

> On 10 July 2014 09:18, Kim Scarborough <chow...@gmail.com> 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+unsubscr...@googlegroups.com.
> > 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+unsubscr...@googlegroups.com.
> 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
tvaug...@onyxpoint.com

-- 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/CANs%2BFoUGZzCZQUn_KnBe4LQOnn-nnon0_ZtE77UsnvoX0qp96Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to