Hi, I had the same problem last week and i solved it by creating a facter plugin that returns all the mountpoints used on my system. I then use and "if" statement in Puppet configuration to check whether the mount fact exists or not to do what i want.
I don't know if is the best method to do that but i was in a hurry and found no better solution. 2009/5/27, Chad Huneycutt <chad.huneyc...@gmail.com>: > > How do you manage permissions on mount points? Maybe I am missing > something obvious here, but I can't figure out a non-convoluted way to > do this. I want the actual mount point to have 755 permissions, but, > once mounted, the filesystem should have 1777 permissions (ie., /tmp). > I want different permissions on the mount point so if the volume > fails to mount for some reason, the users can't write to the directory > and fill up the root filesystem. > > I have tried using a combination of mount and exec resources, but they > end up fighting each other. Obviously, I can do it with refreshonly > parameters to ensure that the permissions are set properly initially, > but then how to ensure that the permissions stay correct? > > -- > Chad M. Huneycutt > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---