Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

dnf-automatic (1) Versions 0.1.0

Installs/Configures dnf-automatic

Berkshelf
Policyfile
Knife
cookbook 'dnf-automatic', '~> 0.1.0'
cookbook 'dnf-automatic', '~> 0.1.0', :supermarket
knife supermarket install dnf-automatic
knife supermarket download dnf-automatic
README
Dependencies
Changelog
Quality 50%

dnf-automatic Cookbook

The dnf-automatic cookbook takes over management of the dnf-automatic package which replaced yum-cron. This provides an automatic way to upgrade any dnf base operating system.

Requirements

Platforms

  • CentOS >= 8

Chef

  • Chef 13+

Cookbooks

  • none

Attributes

The attributes build the /etc/dnf/automatic.conf configuration file using the following format:

default['dnf-automatic']['conf']['section']['key'] = 'value'

Will generate the following in the config file: text [section] key = value

The default attributes match the current upstream defaults as installed on CentOS 8 with the exception of enabling apply_updates. Please consult man dnf.automatic for more available configuration options.

default['dnf-automatic']['conf']['commands']['upgrade_type'] = 'default'
default['dnf-automatic']['conf']['commands']['random_sleep'] = 0
default['dnf-automatic']['conf']['commands']['download_updates'] = 'yes'
default['dnf-automatic']['conf']['commands']['apply_updates'] = 'yes'
default['dnf-automatic']['conf']['emitters']['emit_via'] = 'stdio'
default['dnf-automatic']['conf']['email']['email_from'] = 'root@example.com'
default['dnf-automatic']['conf']['email']['email_to'] = 'root'
default['dnf-automatic']['conf']['email']['email_host'] = 'localhost'
default['dnf-automatic']['conf']['command_email']['email_from'] = 'root@example.com'
default['dnf-automatic']['conf']['command_email']['email_to'] = 'root'
default['dnf-automatic']['conf']['base']['debuglevel'] = 1

Recipes

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like username/add_component_x)
  3. Write tests for your change
  4. Write your change
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Copyright:: 2019, Oregon State University

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

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

dnf-automatic CHANGELOG

This file is used to list changes made in each version of the dnf-automatic cookbook.

0.1.0

  • Initial release of dnf-automatic

Collaborator Number Metric
            

0.1.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number