diff options
author | varac <varacanero@zeromail.org> | 2016-09-08 20:37:27 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-09-08 20:37:27 +0200 |
commit | 8cb40d25f3e74b37c47b0c265b346f9de860aa77 (patch) | |
tree | 82798a5ef02f6403959fb0b814a77005a19e0151 /puppet/modules/systemd/manifests/enable.pp | |
parent | 49fdcf22084258954410d158428d5e38652c36f4 (diff) | |
parent | a3af8acba8cd479f47d76784082d95100c0833ef (diff) |
Merge branch 'ensure_clamav_running' into develop
Diffstat (limited to 'puppet/modules/systemd/manifests/enable.pp')
-rw-r--r-- | puppet/modules/systemd/manifests/enable.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/systemd/manifests/enable.pp b/puppet/modules/systemd/manifests/enable.pp new file mode 100644 index 00000000..e1bee18a --- /dev/null +++ b/puppet/modules/systemd/manifests/enable.pp @@ -0,0 +1,8 @@ +# enables a systemd resource +define systemd::enable () { + + exec { "enable_systemd_${name}": + refreshonly => true, + command => "/bin/systemctl enable ${name}" + } +} |