Defined Type: dbus::system
- Defined in:
- manifests/system.pp
Overview
Manage per-application system bus configuration.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'manifests/system.pp', line 13
define dbus::system (
String $content,
String $application = $title,
) {
include dbus
$validate_cmd = $dbus::validate ? {
true => '/usr/bin/xmllint --noout --valid %',
default => undef,
}
file { "${dbus::system_dir}/${application}.conf":
ensure => file,
owner => 0,
group => 0,
mode => '0644',
content => $content,
validate_cmd => $validate_cmd,
notify => Class['dbus::reload'],
}
}
|