[Puppet Users] Schedule for own resources?

Os
Thu, 02 Feb 2012 11:18:18 -0000

Hello,

I am testing some schedule configurations and was wondering if I can
use the schedule type in my own defines? As far as I can claim from my
own tests, this is not possible?

For example, the schedule "morning" does not work with my self-written
define "my_crontab":

#########################################

class crontab {
    schedule {"morning":
        range => "8-9",
    }

    my_crontab{"user-crontab":
        hostname => ''foobar001'',
        schedule => ''einmal'',
    }
}

#########################################

Am I missing something or is it impossible to use the schedule type
with my own defines?