On Wed, 13 Dec 2017, at 14:46, Tobias Koeck wrote:
> 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 one applies to all execs in the code below it

> and
> 
> using a per block default like described in
> 
> https://puppet.com/docs/puppet/5.3/lang_data_default.html#per-block-resource-defaults

this one applies only to the resources in the group.

-- 
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/1513177516.2339411.1203793960.3D3770D2%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to