1 2 3 4 5 6 7 8
# enables a systemd resource define systemd::enable () { exec { "enable_systemd_${name}": refreshonly => true, command => "/bin/systemctl enable ${name}" } }