Removed support for OpenBSD < 4.9
This commit is contained in:
parent
93906963d9
commit
e8b2422265
7 changed files with 55 additions and 223 deletions
|
@ -70,20 +70,9 @@ class puppet::client {
|
|||
case $::operatingsystem {
|
||||
"openbsd": {
|
||||
service { "puppet":
|
||||
name => $::operatingsystemrelease ? {
|
||||
/4\.[1-8]/ => "puppet",
|
||||
default => "puppetd",
|
||||
},
|
||||
name => "puppetd",
|
||||
ensure => running,
|
||||
enable => true,
|
||||
start => $::operatingsystemrelease ? {
|
||||
/^4\./ => "/usr/local/sbin/puppetd",
|
||||
default => undef,
|
||||
},
|
||||
stop => $::operatingsystemrelease ? {
|
||||
/^4\./ => "pkill -f /usr/local/sbin/puppetd",
|
||||
default => undef,
|
||||
},
|
||||
status => $::puppetversion ? {
|
||||
/^[0-2]\./ => "pgrep -f /usr/local/sbin/puppetd",
|
||||
default => "pgrep -f /usr/local/bin/puppet",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue