Le mercredi 13 décembre 2017 à 14:46 +0100, Tobias Koeck a écrit :
> Hi,
> 
> I am wondering what the difference between a Resource Default statement like
> 
> Exec {
>   path        => '/usr/bin:/bin:/usr/sbin:/sbin',
>   environment => 'RUBYLIB=/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0/',
>   logoutput   => true,
>   timeout     => 180,
> }
> 

This will apply to all the Exec in the scope where it is declared and all the
nested scopes while resource defaults will only apply to the resource block.

-- 
Johan Fleury
PGP Key ID : 0x5D404386805E56E6

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1513177708.2452.37.camel%40arcaik.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to