Resource Type: yum_conf

Defined in:
lib/puppet/type/yum_conf.rb
Providers:
ini_setting

Overview

Manage a yum.conf setting.

Examples:

Using the type

yum_conf { 'main/distroverpkg':
  value => 'centos-release',
}

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • value

    The value of the setting to define

Parameters

  • name (namevar)

    Section/setting name to manage from yum.conf

    Supported values:
    • /\S+\/\S+/