Puppet v3.4.3 What I was specifically hoping to do was:
exec { 'test' : command => "%comspec% /c (a Windows command-line program with parameters)", } to avoid having to determine where Windows was installed. Although 'puppet parser vaildate init.pp' doesn't return an error the client agent reports "...not qualified and no path was specified... " (I realize the parser doesn't catch everything) I tried variants %%comspec%% and \%comspec\% (puppet parser complained about this) but nothing works. If this is possible please provide an example of the correct syntax, thanks. Now for the more general question, are environment variables defined on Windows able to be used at all on the puppet server when specifying an agent action? -- 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/540b2157-a139-4c22-bdac-b7d64ca8a14a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.