Hi,
Is it correct that it'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:/PuppetFolder/puppettest.bat'],
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.