Puppet Class: libvirt::manage_domains_config

Inherits:
::libvirt
Defined in:
manifests/manage_domains_config.pp

Overview

Class: libvirt::manage_domains_config

Installs configuration files for manage-domains script

Parameters

manage_domains_config

file where the manage_domains configuration is. Defaults to $libvirt::params::manage_domains_config Remark: if you change this, you also have to change in libvirt::domain define

Parameters:

  • manage_domains_config (Any) (defaults to: $libvirt::params::manage_domains_config)


13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'manifests/manage_domains_config.pp', line 13

class libvirt::manage_domains_config (
  $manage_domains_config = $libvirt::params::manage_domains_config,
) inherits ::libvirt {


  concat { $manage_domains_config:
    owner => 'root',
    group => 'root',
    mode  => '0644',
  }

  concat::fragment { "${manage_domains_config} header":
    target  => $manage_domains_config,
    content => template('libvirt/manage-domains.ini.header.erb'),
    order   => '01',
  }
}