Hi,
When i add the user attribute to Scheduled_task, the scheduled task is not
created, but if i comment out the user attribute the scheduled task is
created running as system.
This doesn't seem to work
scheduled_task { 'CopyCF11ReposFromDR':
ensure => present,
enabled => true,
command => 'D:\bin\Schedules\CopyCF11ReposFromDR.bat',
working_dir => 'D:\bin\Schedules',
user => 'MYDOMAIN\puppet-user',
arguments => '> D:\bin\Schedules\CopyCF11ReposFromDR_LOG.txt',
require => File['D:\bin\Schedules\CopyCF11ReposFromDR.bat']
}
I am using puppet master version 3.7.4 and windows agent version 3.7.4 on
Windows server 2012 R2.
I see this bug has been reported as
fixed https://projects.puppetlabs.com/issues/15326
--
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/17b6bf14-5a4a-4122-96fa-40703ab7c916%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.