On 2011-11-23 15:53 , Mohamed Lrhazi wrote:
> Thanks Jacob....Did that answer my TypeError  as well?

No, a stack trace would help for that.

-- 
Jacob Helwig
http://about.me/jhelwig

> 
> Mohamed.
> 
> On Wed, Nov 23, 2011 at 5:28 PM, Jacob Helwig <ja...@puppetlabs.com> wrote:
>> On 2011-11-23 13:02 , Mohamed Lrhazi wrote:
>>> 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
>>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to