diff options
author | varac <varacanero@zeromail.org> | 2016-06-09 17:34:14 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-06-14 12:05:18 +0200 |
commit | 1e5b7380fbb9da62e08fb0644e309c0afe709331 (patch) | |
tree | 76bbb606b06b81e11816dbddde3ab155e8ff8f48 /puppet/modules/sshd/manifests/openbsd.pp | |
parent | c55393d0bd72907a151466df7339072d78a9f565 (diff) |
git subrepo clone https://leap.se/git/puppet_sshd puppet/modules/sshd
subrepo:
subdir: "puppet/modules/sshd"
merged: "76f4f87"
upstream:
origin: "https://leap.se/git/puppet_sshd"
branch: "master"
commit: "76f4f87"
git-subrepo:
version: "0.3.0"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "cb2995b"
Diffstat (limited to 'puppet/modules/sshd/manifests/openbsd.pp')
-rw-r--r-- | puppet/modules/sshd/manifests/openbsd.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/sshd/manifests/openbsd.pp b/puppet/modules/sshd/manifests/openbsd.pp new file mode 100644 index 00000000..cb6dbba6 --- /dev/null +++ b/puppet/modules/sshd/manifests/openbsd.pp @@ -0,0 +1,8 @@ +class sshd::openbsd inherits sshd::base { + Service[sshd]{ + restart => '/bin/kill -HUP `/bin/cat /var/run/sshd.pid`', + stop => '/bin/kill `/bin/cat /var/run/sshd.pid`', + start => '/usr/sbin/sshd', + status => '/usr/bin/pgrep -f /usr/sbin/sshd', + } +} |