Hi Ohad, Ohad Levy schrieb am 27. Apr 2009 um 08:27:57 CEST: > Puppet does what you tell it to do, it usually doesnt have defaults.
if I have set e.g. weekday => ['1-5'] and want to revert back to the default (which maybe cron has), is it valid to say: weekday => undef, > if you want a default for any resource type, you should specify it, for > example, if you don't want repeating yourself for all of your services you > can do something like this (in a top level class declaration) > > Service {enable => true, ensure => running, hasstatus => true } > > the same can be done for cron.. Yes, I use it for file{}, to set defaults. Is there any doc about the different meanins concerning the case of the first character: file - File service - Service Is there a difference and when do I have to use what? Thanks Helmut -- ------------------------------------------------------------------------- Helmut Lichtenberg <helmut.lichtenb...@fli.bund.de> Tel.: 05034/871-128 Institut für Nutztiergenetik (FLI) 31535 Neustadt Germany ------------------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---