Hello John, On Thu, Apr 1, 2010 at 5:16 AM, John Lyman <[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
