Commit 32988f01 authored by James T. Lee's avatar James T. Lee
Browse files

/usr/bin/systemctl -> /bin/systemctl

parent fa06b0f0
...@@ -14,7 +14,7 @@ add_host() { ...@@ -14,7 +14,7 @@ add_host() {
echo -e "${ip}\t${cn}" >> "$HOSTS" echo -e "${ip}\t${cn}" >> "$HOSTS"
# Load it into DNS # Load it into DNS
/usr/bin/systemctl reload dnsmasq /bin/systemctl reload dnsmasq
} }
case "$1" in case "$1" in
......
...@@ -15,7 +15,7 @@ class nest::profile::base::distccd { ...@@ -15,7 +15,7 @@ class nest::profile::base::distccd {
} }
exec { 'distccd-systemd-daemon-reload': exec { 'distccd-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
notify => Service['distccd'] notify => Service['distccd']
} }
......
...@@ -27,7 +27,7 @@ class nest::profile::base::fs { ...@@ -27,7 +27,7 @@ class nest::profile::base::fs {
} }
exec { 'nfs-server-systemd-daemon-reload': exec { 'nfs-server-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
} }
...@@ -122,7 +122,7 @@ class nest::profile::base::fs { ...@@ -122,7 +122,7 @@ class nest::profile::base::fs {
} }
exec { 'cachefilesd-systemd-daemon-reload': exec { 'cachefilesd-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
} }
......
...@@ -71,7 +71,7 @@ class nest::profile::base::libvirt { ...@@ -71,7 +71,7 @@ class nest::profile::base::libvirt {
} }
exec { 'libvirt-systemd-daemon-reload': exec { 'libvirt-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
} }
} }
...@@ -36,7 +36,7 @@ class nest::profile::base::network { ...@@ -36,7 +36,7 @@ class nest::profile::base::network {
# probably not *strictly* necessary, but good practice none-the-less # probably not *strictly* necessary, but good practice none-the-less
exec { 'NetworkManager-systemd-daemon-reload': exec { 'NetworkManager-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
} }
} }
...@@ -139,7 +139,7 @@ class nest::profile::base::openvpn { ...@@ -139,7 +139,7 @@ class nest::profile::base::openvpn {
} }
exec { 'dnsmasq-systemd-daemon-reload': exec { 'dnsmasq-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
subscribe => File['/etc/systemd/system/dnsmasq.service.d/10-openvpn.conf'], subscribe => File['/etc/systemd/system/dnsmasq.service.d/10-openvpn.conf'],
} }
......
...@@ -35,7 +35,7 @@ class nest::profile::base::puppet { ...@@ -35,7 +35,7 @@ class nest::profile::base::puppet {
} }
exec { 'puppetserver-systemd-daemon-reload': exec { 'puppetserver-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
before => Class['::puppet::server::service'], before => Class['::puppet::server::service'],
} }
......
...@@ -35,12 +35,12 @@ class nest::profile::base::ssh { ...@@ -35,12 +35,12 @@ class nest::profile::base::ssh {
} }
exec { 'ssh-systemd-daemon-reload': exec { 'ssh-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
} }
exec { 'ssh-agent-enable-systemd-user-service': exec { 'ssh-agent-enable-systemd-user-service':
command => '/usr/bin/systemctl --user --global enable ssh-agent.service', command => '/bin/systemctl --user --global enable ssh-agent.service',
creates => '/etc/systemd/user/default.target.wants/ssh-agent.service', creates => '/etc/systemd/user/default.target.wants/ssh-agent.service',
require => File['/etc/systemd/user/ssh-agent.service'], require => File['/etc/systemd/user/ssh-agent.service'],
} }
......
...@@ -124,7 +124,7 @@ class nest::profile::base::zfs { ...@@ -124,7 +124,7 @@ class nest::profile::base::zfs {
} }
exec { 'zfs-systemctl-daemon-reload': exec { 'zfs-systemctl-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
} }
} }
...@@ -3,7 +3,7 @@ class nest::profile::workstation::pulseaudio { ...@@ -3,7 +3,7 @@ class nest::profile::workstation::pulseaudio {
# the first thing to use it, like mpd; and when it does, it will respawn # the first thing to use it, like mpd; and when it does, it will respawn
# itself like a virus, preventing clean shutdowns. # itself like a virus, preventing clean shutdowns.
exec { 'pulseaudio-enable-systemd-user-service': exec { 'pulseaudio-enable-systemd-user-service':
command => '/usr/bin/systemctl --user --global enable pulseaudio.socket', command => '/bin/systemctl --user --global enable pulseaudio.socket',
creates => '/etc/systemd/user/sockets.target.wants/pulseaudio.socket', creates => '/etc/systemd/user/sockets.target.wants/pulseaudio.socket',
} }
} }
...@@ -37,12 +37,12 @@ class nest::profile::workstation::synergy { ...@@ -37,12 +37,12 @@ class nest::profile::workstation::synergy {
} }
exec { 'synergy-systemd-daemon-reload': exec { 'synergy-systemd-daemon-reload':
command => '/usr/bin/systemctl daemon-reload', command => '/bin/systemctl daemon-reload',
refreshonly => true, refreshonly => true,
} }
exec { 'synergy-enable-systemd-user-service': exec { 'synergy-enable-systemd-user-service':
command => '/usr/bin/systemctl --user --global enable synergys.service', command => '/bin/systemctl --user --global enable synergys.service',
creates => '/etc/systemd/user/default.target.wants/synergys.service', creates => '/etc/systemd/user/default.target.wants/synergys.service',
require => File['/etc/systemd/user/synergys.service'], require => File['/etc/systemd/user/synergys.service'],
} }
......
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