I want to delete or at least disable certain scheduled tasks via Puppet.
scheduled_task { 'Lenovo Customer Feedback Program 64': ensure => absent, }Doesn't seem to do anything - the tasks are still there in the Task Scheduler GUI and puppet doesn't give a notice or error.
scheduled_task { 'Lenovo Customer Feedback Program 64': enabled => false, }
Gives errors saying it cannot set ensure => present on the tasks.
So - is this supposed to work? Did I get the Name wrong? Any ideas?