example42 / puppet-yum

Puppet module for Yum
Other
43 stars 116 forks source link

Cron. Install security updates. #143

Closed username1366 closed 8 years ago

username1366 commented 8 years ago

When I enable automatic updates:

    class { 'yum':
      update => 'cron',
      cron_update_cmd => 'minimal',
    }

I get an error:

Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::cron for localhost at /tmp/vagrant-puppet/modules-fa145af311a62d91c3c7de21318594ae/yum/manifests/init.pp:353:5 on node localhost

5obol commented 8 years ago

Same issue here.

alvagante commented 8 years ago

Check the referenced commit, it should fix the issue (for Puppet 4 )

5obol commented 8 years ago

That works brilliantly, Thank you very much! Any chance of pushing this to forge version?

alvagante commented 8 years ago

Just pushed version 2.1.16with current master. thx