On Tuesday, February 24, 2015, Helen Paterson <helen.pater...@gmail.com>
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 puppet-users+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','puppet-users%2bunsubscr...@googlegroups.com');>
> .
> 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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2Bu97um8k%3DjFEfZZ9GD2krteqrsMy%3DcBOV6EuVG3nrbxQWbMtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to