cookbook 'dnf-automatic', '= 2.0.0'
dnf-automatic (6) Versions 2.0.0 Follow0
Installs/Configures dnf-automatic
cookbook 'dnf-automatic', '= 2.0.0', :supermarket
knife supermarket install dnf-automatic
knife supermarket download dnf-automatic
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
- Fork the repository on Github
- Create a named feature branch (like
username/add_component_x
) - Write tests for your change
- Write your change
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
- Author:: Oregon State University chef@osuosl.org
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.
Collaborator Number Metric
2.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.0.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
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.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
2.0.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
2.0.0 failed this metric
2.0.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
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.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
2.0.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
2.0.0 passed this metric
2.0.0 passed this metric
Testing File Metric
2.0.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
2.0.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
2.0.0 failed this metric
2.0.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