On Tue, Mar 15, 2011 at 6:14 AM, Martijn Grendelman <[email protected]> wrote: > Hi, > > I have a type named apt::package, that installs packages on Debian base > systems. By default, it sets the schedule to something I defined, to > prevent package updates from happening outside maintenance hours. > > Now, in a specific class, I do this: > > # This is normally a manual puppet run, so ignore the maintenance window > Apt::Package { > schedule => "common::schedule::always", > } > > This results in the following text being written to the log: > > "puppet-master[30601]: schedule is a metaparam; this value will inherit to > all contained resources" > > This message doesn't give many results in Google, so I wonder: > > What exactly does that mean?
It means that if you have any other resources *inside* the Apt::Package definition, they will also inherit the schedule parameter you're passing in. > Does it do something unexpected (I expect the default to apply to any > apt::package defined in that specific class, and nothing else)? > Why is it necessary to log this, if nothing is wrong? It's warning you that it will automatically inherit the schedule metaparameter because this may not be what you expected to happen. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
