cookbook 'automatic_updates', '= 0.1.1'
automatic_updates (2) Versions 0.1.1 Follow2
Installs/Configures automatic_updates
cookbook 'automatic_updates', '= 0.1.1', :supermarket
knife supermarket install automatic_updates
knife supermarket download automatic_updates
automatic_updates
Configures automatic updates using yum-cron or unattended-upgrades. Provides a
resource and providers for platforms listed below. Supports two actions,
:enable
and :disable
.
[Changelog](CHANGELOG.md)
See CHANGELOG.md for additional information about changes to this stack over time.
Supported Platforms
- Ubuntu 14.04
- Ubuntu 12.04
- CentOS 6.5
- CentOS 7.0
Usage
Recipe
automatic_updates::default
Enable automatic updates
Resources
automatic_updates
Enable or disable automatique update
Actions
-
:enable
enable automatique updates
automatic_updates 'default' do
action :enable
end
-
:disable
disable automatique updates
automatic_updates 'default' do
action :disable
end
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
Authors
Author:: Rackspace (devops-chef@rackspace.com)
License
# Copyright 2015, Rackspace Hosting
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
Dependent cookbooks
apt >= 0.0.0 |
chef-sugar >= 0.0.0 |
poise >= 0.0.0 |
yum >= 0.0.0 |
Contingent cookbooks
0.1.1
Update for poise compatibility
0.1.0
Initial release of automatic_updates
Foodcritic Metric
0.1.1 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/ae10b744113fc11cbe09df38/automatic_updates/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/ae10b744113fc11cbe09df38/automatic_updates/metadata.rb:1
0.1.1 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/ae10b744113fc11cbe09df38/automatic_updates/metadata.rb:1