Defined Type: yum::plugin
- Defined in:
- manifests/plugin.pp
Overview
Manage per-plugin configuration files.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'manifests/plugin.pp', line 18
define yum::plugin (
String $content,
String $plugin = $title,
) {
if ! defined(Class['::yum']) {
fail('You must include the yum base class before using any yum defined resources')
}
file { "${::yum::pluginconf_dir}/${plugin}.conf":
ensure => file,
owner => 0,
group => 0,
mode => '0644',
content => $content,
}
}
|