Hello John, On Thu, Apr 1, 2010 at 5:16 AM, John Lyman <jlym...@gmail.com> wrote: >> file { "/foo/*": mode => 700; } >> >> What comes close is: >> file { "/foo": mode => 700, recurse => "true", recurselimit => 1; } > > I'm not sure if this will work (I've never tried to ignore the top > level directory), but you can try: > > file { "/foo": mode => 700, recurse => "true", recurselimit => 1, > ignore => "/foo"; } >
I tried that early on and it didn't work, it still does a chmod 700 /foo /foo/*... :( However, using 'ignore' like that would obliviate the need for 'recursemin' as suggested earlier and would be 'obvious' enough that Puppet users could use it... Thanks for the suggestion though! -- Terra -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.