summaryrefslogtreecommitdiff
path: root/sysutils/puppet-devel/files/puppetmasterd.in
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-05-01 16:19:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-05-01 16:19:48 +0000
commit6c8151ca31507f91a2bcf7c1b387ecd82d70db07 (patch)
treecf5b31e8d450f1a56d701a05409f1a54e2b1b875 /sysutils/puppet-devel/files/puppetmasterd.in
parent- Update to 1.08 (diff)
2009-04-22 audio/snowstar: tcl8.0 support is going to be dropped
2009-04-29 devel/cppadvio: abandoned upstream, does not work with current versions of GCC, needs gcc295 which has been failing to build for months 2009-04-22 irc/olirc: project is discontinued and tcl82 support is going to be dropped 2009-04-12 multimedia/toxine: has been inactive for almost 5 years 2009-04-17 net-mgmt/nagios12: Obsolete version, consider migration to net-mgmt/nagios 2009-04-28 sysutils/bbsmount: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months 2009-04-30 sysutils/puppet-devel: Use sysutils/puppet instead 2009-04-28 sysutils/tua: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months 2009-04-28 x11/qrash: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
Notes
Notes: svn path=/head/; revision=233077
Diffstat (limited to 'sysutils/puppet-devel/files/puppetmasterd.in')
-rw-r--r--sysutils/puppet-devel/files/puppetmasterd.in45
1 files changed, 0 insertions, 45 deletions
diff --git a/sysutils/puppet-devel/files/puppetmasterd.in b/sysutils/puppet-devel/files/puppetmasterd.in
deleted file mode 100644
index 3afb97663a24..000000000000
--- a/sysutils/puppet-devel/files/puppetmasterd.in
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: puppetmasterd
-# REQUIRE: NETWORK
-
-# Add the following lines to /etc/rc.conf to enable puppetmasterd:
-#
-# puppetmasterd_enable="YES"
-# puppetmasterd_confdir: Set to %%PREFIX%%/etc/puppet by default
-# puppetmasterd_flags: Set to "--pidfile ${puppetmasterd_pid}" by default
-#
-
-. %%RC_SUBR%%
-
-name="puppetmasterd"
-rcvar=`set_rcvar`
-
-command="%%PREFIX%%/bin/${name}"
-command_interpreter="%%PREFIX%%/bin/ruby18"
-start_precmd="puppetmasterd_checkconfig"
-restart_precmd="puppetmasterd_checkconfig"
-
-puppetmasterd_checkconfig() {
- echo -n "Performing sanity check of ${name} configuration: "
- ${command} --parseonly ${puppetmasterd_flags} >/dev/null 2>&1
- rv=$?
- if [ $rv != 0 ]; then
- echo "FAILED, ${name} exited with status ${rv}"
- ${command} --parseonly ${puppetmasterd_flags}
- return 1
- else
- echo "OK"
- fi
-}
-
-load_rc_config "$name"
-: ${puppetmasterd_enable="NO"}
-: ${puppetmasterd_confdir="%%PREFIX%%/etc/puppet"}
-: ${puppetmasterd_pid="%%PUPPET_RUNDIR%%/${name}.pid"}
-: ${puppetmasterd_flags="--pidfile ${puppetmasterd_pid}"}
-pidfile="$puppetmasterd_pid"
-
-run_rc_command "$1"