I have the following set up:

schedule {nightly:
    period => daily,
    range => "18 - 23",
    repeat => 1
}

define deadlypkg {
        tag("package")
        $pkgrepo="/staging/PRODUCTION/deadly"
        package{"$name":
                source => "$pkgrepo/$name.pkg",
                ensure => latest,
                adminfile => "puppet",
                schedule => nightly
        }
}

class deadly {
        deadlypkg{blah:}
}

This is all in a single manifest file, init.pp for the module "deadly".  
The node has "include deadly" in its definition.

(Don't worry about the silly name, it's a host-naming thing...)

Inconsistently I get the following in the puppetd run output:

Feb 12 13:16:28 wrath puppetd[23298]: [ID 702911 daemon.warning] Not using 
cache on failed catalog
Feb 12 13:16:28 wrath puppetd[23298]: [ID 702911 daemon.warning] Configuration 
could not be instantiated: Could not find schedule nightly at 
/staging/puppet/common/modules/deadly/manifests/init.pp:16

Sometimes, however, it seems to work OK.

Master and node are both running Puppet 0.24.7, though it was also
happening with the node at 0.24.6 (I just upgraded that to see if it
was a version mismatch problem).  Both ends are running Solaris 10 U6,
master is SPARC, node is Opteron.

Any ideas?

Matt

-- 
* Matt McLeod | mail: m...@boggle.org | blog: http://abortrephrase.com/ *
     --- People can do the work, so machines have time to think ---

--~--~---------~--~----~------------~-------~--~----~
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