Best way to really find out, would be to try it out :)
On Oct 15, 2009, at 3:51 PM, Arnau Bria wrote:
>
> Hi all,
>
> I'm not sure if next conf is going to work:
>
> I'd like to distribute a dir in recurse way, but then add a req on a
> certain file that is under that reurse dir.
>
> Example:
>
> file { "/opt/localconf":
> ensure => directory,
> owner => "root",
> group => "root",
> mode => "700",
> recurse => true,
> source => "puppet://ser01.pic.es/
> gLite/opt/localconf_test",
> }
>
> But then do some notify like:
>
> file { "/opt/localconf/gLite3.1/yaim":
> recurse => true,
> owner => "root",
> group => "root",
> mode => "700",
> source => "puppet://ser01.pic.es/wn_yaim/opt/
> localconf/gLite3.1/yaim",
> notify => Exec["yaim_conf_32"],
> }
>
> Is this conf going to work?
>
> source of both files is the same.
>
> TIA,
> Arnau
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---