We tried name => '\automation\inventory\
But at run says can not find path.
We looked at working_dir but that didn't sound promising either. Any suggestions would be greatly appreciated. Thank you
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/53648950-dc88-4188-b2e4-678a1a14dec0%40googlegroups.com.
On Wed, May 17, 2017 at 5:34 AM, Jason McMahan <jason.m...@gmail.com> wrote:
The full error isError: Failed to call #<Win32::TaskScheduler::COM::TaskScheduler:0x000000093b6ce0>::NewWorkItem with HRESULT: -2147024893.: The system cannot find the path specified.Error: /Stage[main]/Profile::Windows::Applications::Sysinfo::Base/Scheduled_task[Automation/Inventory]/ensure: change from absent to present failed: Failed to call #<Win32::TaskScheduler::COM::TaskScheduler:0x000000093b6ce0>::NewWorkItem with HRESULT: -2147024893.: The system cannot find the path specified.The folder exists but the task is not created nor seen.I believe i may just need to create it in the root but would like verification.
Thank you
On Tuesday, May 16, 2017 at 6:59:17 PM UTC-5, Jason McMahan wrote:Good day,
We were using the scheduled_task resource to create a task. It creates the task however we nwed to create the task in a folder under task scheduler.
\automation\inventoryWe tried name => '\automation\inventory\
But at run says can not find path.
We looked at working_dir but that didn't sound promising either. Any suggestions would be greatly appreciated. Thank you
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/53648950-dc88-4188-b2e4-678a1a14dec0%40googlegroups.com.
Puppet only supports v1 of the Windows task scheduler API (which is present in 2003 and up), so I'm inclined to think folders are a v2 API feature, which is filed as https://tickets.puppetlabs.com/browse/PUP-6455.