diff options
Diffstat (limited to 'debian/buildsys/2.3')
-rw-r--r-- | debian/buildsys/2.3/bcfg2-server.init | 53 | ||||
-rw-r--r-- | debian/buildsys/2.3/bcfg2.init | 72 | ||||
-rw-r--r-- | debian/buildsys/2.3/compat | 1 | ||||
-rw-r--r-- | debian/buildsys/2.3/control.in | 29 |
4 files changed, 0 insertions, 155 deletions
diff --git a/debian/buildsys/2.3/bcfg2-server.init b/debian/buildsys/2.3/bcfg2-server.init deleted file mode 100644 index 235087465..000000000 --- a/debian/buildsys/2.3/bcfg2-server.init +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# -# Bcfg2Server - Bcfg2 configuration daemon -# -# chkconfig: 2345 19 81 -# description: bcfg2 server for configuration requests -# -### BEGIN INIT INFO -# Provides: bcfg2-server -# Required-Start: $network $remote_fs $named -# Required-Stop: $network $remote_fs $named -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Configuration management Server -# Description: Bcfg2 is a configuration management system that builds -# installs configuration files served by bcfg2-server -### END INIT INFO - -PIDFILE=/var/tmp/bcfg2-server.pid - -msg=echo -fail=echo - -case "$1" in - start) - $msg -n "Starting bcfg2-server: " - if [ -f "/etc/debian_version" ] ; then - /sbin/start-stop-daemon --pidfile "${PIDFILE}" --make-pidfile -b -S --startas /usr/sbin/bcfg2-server - else - /usr/sbin/bcfg2-server -D "${PIDFILE}" - fi - $msg "bcfg2-server" - ;; - stop) - $msg -n "Stopping bcfg2-server: " - if [ -f "/etc/debian_version" ] ; then - /sbin/start-stop-daemon -p "${PIDFILE}" -K /usr/sbin/bcfg2-server - else - kill -INT `cat ${PIDFILE}` - fi - echo done - ;; - restart|force-reload|reload) - $0 stop - sleep 5 - $0 start - ;; - *) - ${msg} "Usage: $0 {start|stop|status|reload|restart|force-reload}" - exit 1 -esac - -exit 0 diff --git a/debian/buildsys/2.3/bcfg2.init b/debian/buildsys/2.3/bcfg2.init deleted file mode 100644 index 463d6a414..000000000 --- a/debian/buildsys/2.3/bcfg2.init +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh -# -# bcfg2 - bcfg2 configuration client -# -# chkconfig: 2345 19 81 -# description: bcfg2 client for configuration requests -# -### BEGIN INIT INFO -# Provides: bcfg2 -# Required-Start: $network $remote_fs $named -# Required-Stop: $network $remote_fs $named -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Configuration management client -# Description: Bcfg2 is a configuration management system that builds -# installs configuration files served by bcfg2-server -# This is a client that installs the server provided -# Configuration. -### END INIT INFO - -# This might need some better logic -BCFG2=/usr/sbin/bcfg2 - -# Set default options -# You can set script specific options with BCFG2_OPTIONS_INIT -BCFG2_OPTIONS="-q" - -# Disabled per default -BCFG2_ENABLED=0 -BCFG2_INIT=0 -BCFG2_AGENT=0 - -# Include default startup configuration if exists -test -f "/etc/default/bcfg2" && . /etc/default/bcfg2 - -[ "$BCFG2_ENABLED" -eq 0 ] && exit 0 -[ "$BCFG2_AGENT" -eq 0 -a "$BCFG2_INIT" -eq 0 ] && exit 0 - -# Exit if bcfg2 doesn't exist and is not executable -test -x $BCFG2 || exit 5 - -case "$1" in - start) - echo -n "Running configuration management client: " - - if [ "$BCFG2_AGENT" -eq 1 ] - then - ${BCFG2} -A -i /var/run/bcfg2-agent.pid ${BCFG2_OPTIONS} ${BCFG2_OPTIONS_AGENT} - STATUS=$? - fi - - if [ "$BCFG2_INIT" -eq 1 ] - then - ${BCFG2} ${BCFG2_OPTIONS} ${BCFG2_OPTIONS_INIT} - STATUS=$? - fi - - echo "bcfg2" - ;; - status) - # Since we are always OK, always return OK as status - exit 0 - ;; - restart|reload|stop|force-reload) - true - ;; - *) - echo "Usage: $0 {start|stop|restart|reload|force-reload|status}" - exit 1 -esac - -exit 0 diff --git a/debian/buildsys/2.3/compat b/debian/buildsys/2.3/compat deleted file mode 100644 index b8626c4cf..000000000 --- a/debian/buildsys/2.3/compat +++ /dev/null @@ -1 +0,0 @@ -4 diff --git a/debian/buildsys/2.3/control.in b/debian/buildsys/2.3/control.in deleted file mode 100644 index 7d6e9eda6..000000000 --- a/debian/buildsys/2.3/control.in +++ /dev/null @@ -1,29 +0,0 @@ -Source: bcfg2 -Section: admin -Priority: optional -Maintainer: Sami Haahtinen <ressu@debian.org> -Build-Depends: @cdbs@, python2.3-dev, python -Standards-Version: 3.7.2.0 - -Package: bcfg2 -Architecture: all -Depends: ${python:Depends}, debsums, python-apt, python2.3-lxml (>= 0.8), ucf -Description: Configuration management client - Bcfg2 is a configuration management system that generates configuration sets - for clients bound by client profiles. - bcfg2 is the client portion of bcfg2 system which installs configuration - images provided by bcfg2-server - . - Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ - -Package: bcfg2-server -Architecture: all -Depends: ${python:Depends}, python2.3-lxml (>= 0.8), python2.3-gamin | python2.3-fam , libxml2-utils (>= 2.6.23), gamin | fam, ucf, bcfg2 (= ${Source-Version}), openssl -Recommends: graphviz, python-profiler -Description: Configuration management server - Bcfg2 is a configuration management system that generates configuration sets - for clients bound by client profiles. - bcfg2-server is the server for bcfg2 clients, which generates configuration - sets and stores statistics of client system states. - . - Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ |