example42 / puppet-yum

Puppet module for Yum
Other
43 stars 116 forks source link

Fixed parameters missing in main class, to be used on the template of yu... #104

Closed ricciocri closed 9 years ago

ricciocri commented 9 years ago

...m-cron for centos/rhel 7

More specifically I've added the following parameters:

$cron_update_cmd = params_lookup( 'cron_update_cmd' ), $cron_update_messages = params_lookup( 'cron_update_messages' ), $cron_apply_updates = params_lookup( 'cron_apply_updates' ), $cron_random_sleep = params_lookup( 'cron_random_sleep' ), $cron_emit_via = params_lookup( 'cron_emit_via' ), $cron_email_host = params_lookup( 'cron_email_host' ),

They are used on the template for rhel/centos 7

alvagante commented 9 years ago

if you add a param o init.pp you should set its default value in params.pp

ricciocri commented 9 years ago

In a former PR i put all the defaults in params.pp...but forgot to add them in the init.pp This PR should Fix this.