Commit 068bc8d4 authored by Adam Lewenberg's avatar Adam Lewenberg

add new systemd class

parent 1a167dfb
Unreleased
[dns] Changes Livermore detection to use the system's primary IP address,
[systemd] New class to allow systemd daemon reloads. (adamhl)
[dns] Changes Livermore detection to use the system's primary IP address,
instead of using a manually-set parameter. (akkornel)
[kerberos] Automatically determine if we are in Livermore; if we are, place
[kerberos] Automatically determine if we are in Livermore; if we are, place
the Livermore-based KDC at the top of the list. (akkornel)
Clients who are using the base::kerberos::dr class should immediately switch
......
# This code is from the Puppet Forge project justin8-systemd
#
# If you want to reload the systemd service on a unit file change, include
# this class and add a dependency:
#
# notify => Exec['systemd-daemon-reload']
#
class systemd {
exec { 'systemd-daemon-reload':
path => '/bin:/usr/bin:/sbin:/usr/sbin',
command => 'systemctl daemon-reload',
refreshonly => true,
}
case $::osfamily {
'Archlinux': {
$unit_path = '/usr/lib/systemd/system'
}
'Debian': {
$unit_path = '/lib/systemd/system'
}
'RedHat': {
$unit_path = '/usr/lib/systemd/system'
}
default: {
$unit_path = '/usr/lib/systemd/system'
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment