[type/__sysctl] Add OpenBSD support
This commit is contained in:
parent
183d57d6d2
commit
b36716ef36
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh -e
|
||||
#
|
||||
# 2014 Steven Armstrong (steven-cdist at armstrong.cc)
|
||||
# 2018 Takashi Yoshi (takashi at yoshi.email)
|
||||
#
|
||||
# This file is part of cdist.
|
||||
#
|
||||
|
@ -31,7 +32,7 @@ case "$os" in
|
|||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos)
|
||||
flag='-w'
|
||||
;;
|
||||
freebsd)
|
||||
freebsd|openbsd)
|
||||
flag=''
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh -e
|
||||
#
|
||||
# 2014 Steven Armstrong (steven-cdist at armstrong.cc)
|
||||
# 2018 Takashi Yoshi (takashi at yoshi.email)
|
||||
#
|
||||
# This file is part of cdist.
|
||||
#
|
||||
|
@ -22,7 +23,7 @@
|
|||
os=$(cat "$__global/explorer/os")
|
||||
|
||||
case "$os" in
|
||||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos|freebsd)
|
||||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos|freebsd|openbsd)
|
||||
:
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue