The first error was being thrown out and I didn't see the second one. Its 
easy to replicate using puppet 3.3.2

node test {
    class {"crond::test":stage=>post,}
}

define crond::job($jobs,$comment,$mail="root") {
    include crond::cleanup
    file {
        "/etc/cron.d/${name}.puppet.cron":
        owner=>root,group=>root,
        content=>template("crond/job.erb")
    } 
}
class crond::cleanup {
    tidy {
        "/etc/cron.d":
        age => 0, recurse => true,
        matches => "*.puppet.cron",
    }
    service {
    "crond": ensure=>running,enable=>true
    }
}
class crond::test  {
    crond::job {"tidytest":
  mail=>"root",
  comment=>"testing tidy",
  jobs=>"6 6 * * * root nice /bin/true",
    }
}



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/886b7539-751a-4b32-b283-dcb9859fb561%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to