Puppet Class: libvirt::manage_domains_config

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

Overview

libvirt::manage_domains_config

Parameters:

  • manage_domains_config (String) (defaults to: $libvirt::manage_domains_config)

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



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

class libvirt::manage_domains_config (
  String $manage_domains_config = $libvirt::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',
  }
}