cookbook 'cronapt', '= 0.3.1'
cronapt (3) Versions 0.3.1 Follow1
Installs/Configures cronapt
cookbook 'cronapt', '= 0.3.1', :supermarket
knife supermarket install cronapt
knife supermarket download cronapt
cron-apt cookbook
This cookbook provides a basic cron-apt management.
Requirements
- vagrant >= 1.2.0
- berkshelf >= 2.0.0
- vagrant-berkshelf plugin >= 1.3.3
Usage
In your Vagrantfile, customize these attributes:
chef.json = {
:cronapt => {
:mailto => 'you@example.com',
:enable_upgrade => true,
:fivemin => true
}
}
Attributes
default['cronapt']['mailto'] = 'your@email.com'
default['cronapt']['mailon'] = 'always'
default['cronapt']['enable_upgrade'] = false
default['cronapt']['nightly'] = false
default['cronapt']['hourly'] = false
default['cronapt']['fivemin'] = false
default['cronapt']['force_confmiss'] = false
default['cronapt']['force_confnew'] = false
default['cronapt']['force_confdef'] = false
default['cronapt']['force_confold'] = false
Recipes
No additional recipes yet.
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
License: None. Do as you wish.
Authors: gregpalmier
Foodcritic Metric
0.3.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/3a92670c85116f51c45b4df4/cronapt/templates/default/config.erb:87
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/3a92670c85116f51c45b4df4/cronapt/templates/default/config.erb:96
0.3.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/3a92670c85116f51c45b4df4/cronapt/templates/default/config.erb:96