summaryrefslogtreecommitdiff
path: root/puppet/modules/systemd/manifests/enable.pp
blob: e1bee18a6c3f59111d59c0befef7b2aecadf6504 (plain)
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}"
  }
}