On Mon, Nov 28, 2011 at 3:56 PM, Mohamed Lrhazi <lrh...@gmail.com> wrote: > > > Thanks Josh. > > I run into an issue where this Exec would fail if the variable has a > space in it: > > command => "$splunk_home\\bin\\splunk.exe start", > > but then again that could happen in Unix just as well, not really > Windows specific. > > I had to write: > > command => "\"$splunk_home\\bin\\splunk.exe\" start", > > So I am concluding that from the Puppet end-user perspective, there no > special issue with spaces in path names, at least not as a Windows > specific concern.
Yep, the command needs to be quoted because it is a string with potentially multiple arguments. I don't know of any specific Windows issues with spaces, aside from the RUBYLIB issue mentioned earlier, but do let us know if you run into something. Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.