On Fri, Dec 12, 2014 at 1:49 PM, Felix Frank < [email protected]> wrote:
> On 12/12/2014 07:03 PM, Josh Cooper wrote: > > The constants are defined in the win32-dir gem[1]. > > > > Aweseome! > > > path => $::local_appdata;$path > > Wait, shouldn't this be > > path => [ $local_appdata, $path ] > > The semicolon would end the resource declaration I believe. > Actually it supports both! So either an array or a string whose components are delimited with the platform-specific separator: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/exec.rb#L181-L192 An array is probably preferable since puppet will just do-the-right-thing for that platform. > Cheers, > Felix > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/548B62D7.5050005%40Alumni.TU-Berlin.de > . > For more options, visit https://groups.google.com/d/optout. > Josh -- Josh Cooper Developer, Puppet Labs *Join us at **PuppetConf 2015, October 5-9 in Portland, OR - * http://2015.puppetconf.com. *Register early to save 40%!* -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2Bu97uk4ob9AqpjCO8diNw3tdY4_-zoA25CvtpTvDtJKCUcrog%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
