GithubHelp home page GithubHelp logo

unibonn / puppet-yum_cron Goto Github PK

View Code? Open in Web Editor NEW

This project forked from treydock/puppet-yum_cron

0.0 5.0 1.0 161 KB

Puppet yum_cron Module

Home Page: http://forge.puppetlabs.com/treydock/yum_cron

License: Other

Ruby 76.37% Puppet 23.63%

puppet-yum_cron's Introduction

puppet-yum_cron

Puppet Forge CI Status

Table of Contents

  1. Overview - What is the yum_cron module?
  2. Backwards Compatibility - Key changes between versions
  3. Usage - Configuration and customization options
  4. Reference - Parameter and detailed reference to all options
  5. Compatibility - Operating system and Puppet compatibility

Overview

The yum_cron module manages either the yum-cron or dnf-automatic (RHEL/CentOS 8+) package to allow for automatic updates and available updates notifications.

Backwards Compatibility

Version 3.x of this module modified the way apply_updates and download_updates parameters are handled. apply_updates now takes precedence over download_updates. If apply_updates is true then download_updates has no effect.

Version 2.x of this module added and removed many parameters. See CHANGELOG for detailed list of all the changes.

Version 1.x of this module replaced the disable_yum_autoupdate and remove_yum_autoupdate parameters with yum_autoupdate_ensure. The default behavior is still to disable yum-autoupdate.

Usage

Class: yum_cron

The default parameters will install and enable yum-cron to only check for updates and notify root if any are available. Generally, dnf-automatic uses different paths, but functions very similarly and has a similar config file. For the rest of the documentation, you can generally assuming that references to yum-cron also apply to dnf-automatic.

On Scientific Linux the default behavior is also to disable yum-autoupdate.

class { 'yum_cron': }

These are the actions taken by the module with default parameter values:

  • Install yum-cron/dnf-automatic
  • Set configuration values to enable checking for updates and notify root
  • Start and enable the yum-cron/dnf-automatic service
  • Disable yum-autoupdate by setting ENABLED="false" in /etc/sysconfig/yum-autoupdate (Scientific Linux only)

This is an example of enabling automatic updates

class { 'yum_cron':
  apply_updates => true,
}

Refer to the yum-cron manpage for all available configuration options.

Additional configuration values can be passed to the yum-cron configurations via the extra_configs parameter.

To define additional configuration options for EL6:

class { 'yum_cron':
  extra_configs => {
    'yum_cron ERROR_LEVEL' => { 'variable' => 'ERROR_LEVEL', 'value' => '1' }
  }
}

To define additional configuration options for EL7:

class { 'yum_cron':
  extra_configs => {
    'email/email_from' => { 'value' => '[email protected]' }
  }
}

Reference

http://treydock.github.io/puppet-yum_cron/

Compatibility

This module should be compatible with all RedHat based operating systems and Puppet 6.1.x and newer.

It has only been tested on:

  • RHEL/CentOS 8
  • RHEL/CentOS 7

puppet-yum_cron's People

Contributors

treydock avatar siebrand avatar mmoll avatar ncstate-daniel avatar moonwolf-github avatar yorickps avatar narbutas avatar

Watchers

Oliver Freyermuth avatar Oliver Cordes avatar James Cloos avatar Ole Marggraf avatar Peter Wienemann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.