thank you, completely missed it.

On Tuesday, February 24, 2015 at 3:06:34 PM UTC, Josh Cooper wrote:
>
>
>
> On Tuesday, February 24, 2015, Helen Paterson <[email protected] 
> <javascript:>> wrote:
>
>> 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']
>>     }
>>
>>
> You'll need to specify the puppet-user's password if you don't use 
> the LocalSystem account.
>  
>
>>
>> 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
>>  
>> <https://groups.google.com/d/msgid/puppet-users/17b6bf14-5a4a-4122-96fa-40703ab7c916%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Josh Cooper
> Developer, Puppet Labs
>
> *Join us at **PuppetConf 2015, October 5-9 in Portland, OR - *
> http://2015.puppetconf.com.  
> *Register early to save 40%!*
>
>

-- 
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/3b0f1ac1-e6d0-4ea6-a26a-cb661590e83c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to