summaryrefslogtreecommitdiff
path: root/sysutils/puppet7/files/puppet.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/puppet7/files/puppet.in')
-rw-r--r--sysutils/puppet7/files/puppet.in46
1 files changed, 0 insertions, 46 deletions
diff --git a/sysutils/puppet7/files/puppet.in b/sysutils/puppet7/files/puppet.in
deleted file mode 100644
index fbdfef003ed5..000000000000
--- a/sysutils/puppet7/files/puppet.in
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: puppet
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable the puppet agent:
-#
-# puppet_enable="YES"
-
-. /etc/rc.subr
-
-name="puppet"
-rcvar=puppet_enable
-
-load_rc_config "$name"
-
-: ${puppet_enable="NO"}
-: ${puppet_rundir="/var/run/puppet"}
-
-command="%%PREFIX%%/bin/puppet"
-command_args="agent ${puppet_flags} --rundir=${puppet_rundir}"
-command_interpreter=%%RUBY%%
-unset puppet_flags
-
-pidfile="${puppet_rundir}/agent.pid"
-start_precmd="install -d -o puppet -g puppet ${pidfile%/*}"
-
-PATH="${PATH}:%%PREFIX%%/bin:%%PREFIX%%/sbin"
-
-# An UTF-8 locale is required
-: LC_ALL=${LC_ALL:=C.UTF-8}
-case $LC_ALL in
- *.UTF-8)
- ;;
- *.*)
- LC_ALL="${LC_ALL%.*}.UTF-8"
- ;;
- *)
- LC_ALL=C.UTF-8
- ;;
-esac
-export LC_ALL
-
-run_rc_command "$1"