am trying this:

    scheduled_task { 'Puppet Run':
        ensure    => present,
        enabled   => true,
        command   => 'C:\\ruby187\\bin\\puppet.bat',
        arguments => 'agent --verbose --logdest C:\\Temp\puppet.log',
        trigger   => {
            schedule   => daily,
            #every      => 2             # Defaults to 1
            #start_date => '2011-08-31', # Defaults to 'today'
            start_time => '16:00',      # Must be specified
        }
    }

And getting this error:

err: /Stage[main]/Gu_splunk/Scheduled_task[Puppet Run]/ensure: change
from absent to present failed: Could not set 'present on ensure:
TypeError at /etc/puppet/
environments/windows/modules/gu_splunk/manifests/init.pp:84

Another question I have is how do I schedule for every 30 minutes? or
every one hour?

Thanks a lot,
Mohamed.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to