diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/salt/Makefile | 6 | ||||
-rw-r--r-- | sysutils/salt/files/salt_syndic.sh | 20 |
2 files changed, 23 insertions, 3 deletions
diff --git a/sysutils/salt/Makefile b/sysutils/salt/Makefile index f989163a0a8..ab5b88a7ad8 100644 --- a/sysutils/salt/Makefile +++ b/sysutils/salt/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.36 2016/02/09 14:23:04 wiz Exp $ +# $NetBSD: Makefile,v 1.37 2016/02/16 00:00:08 khorben Exp $ DISTNAME= salt-2015.8.5 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_PYPI:=s/salt/} @@ -37,7 +37,7 @@ PYSETUPINSTALLARGS+= --salt-pidfile-dir=${VARBASE}/run REPLACE_PYTHON= *.py */*.py */*/*.py -RCD_SCRIPTS+= salt_master salt_minion +RCD_SCRIPTS+= salt_master salt_minion salt_syndic SMF_INSTANCES= master minion FILES_SUBST+= PYTHON=${PYTHONBIN:Q} diff --git a/sysutils/salt/files/salt_syndic.sh b/sysutils/salt/files/salt_syndic.sh new file mode 100644 index 00000000000..246d97b5ac8 --- /dev/null +++ b/sysutils/salt/files/salt_syndic.sh @@ -0,0 +1,20 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: salt_syndic.sh,v 1.1 2016/02/16 00:00:08 khorben Exp $ +# + +# PROVIDE: salt_syndic +# REQUIRE: DAEMON +# KEYWORD: shutdown + +. /etc/rc.subr + +name="salt_syndic" +rcvar=$name +command="@PREFIX@/bin/salt-syndic" +command_args="-d" +command_interpreter=@PYTHON@ +required_files="@PKG_SYSCONFDIR@/master @PKG_SYSCONFDIR@/minion" + +load_rc_config $name +run_rc_command "$1" |