Displaying 1 result from an estimated 1 matches for "puppetfolder".
2012 Mar 23
3
Puppet Windows exec
...t''s not possible to excecute Windows Commands
directly with the puppet run?
For example:
exec { ''ExecCreatedFolder'':
command => "mkdir C:\PuppetOrdner\ExecCreatedFolder",
}
I allways have to bind it with a .bat file right?
file { ''c:/PuppetFolder/puppettest.bat'':
ensure => file,
owner => ''administrator'',
content => "mkdir C:\PuppetFolder\BatchCreatedFolder",
}
exec { ''c:/PuppetFolder/puppettest.bat'':
require => File[''c:/PuppetFolde...