Hi Ivan,
   You can try putting the all file names in array variable and use that 
array variable in file resource.
File resource of puppet support array structure. This might work.


On Friday, August 2, 2013 2:09:32 PM UTC+5:30, Ivan Lysov wrote:
>
> Hi All!
>
> I want to grant spetial permissions on some core files. So it would be 
> nice to use something like
>
>     file { "/var/lib/monitorium/core*" :
>         mode => 0644,
>     }
>
> But that obviously doesn't work. Any people with the same problem i've 
> googled used some workarounds like managing directories recursively or 
> writing more complicated scripts.
> I can't manage the whole directory because of many other files inside and 
> i don't want to extrabloat my manifests.
> What should i do?
>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to