some refactoring, externalizing classes
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# $Id: puppetd_run.sh 2714 2009-08-01 09:52:05Z uwaechte $
|
||||
|
||||
|
||||
# a wrapper script, to run puppetd after a random time
|
||||
# this will be called by cron at the same time on each client,
|
||||
# but should not call the master at the same time as the others.
|
||||
export FACTERLIB="/var/lib/puppet/facts"
|
||||
[ -e /etc/profile ] && . /etc/profile
|
||||
|
||||
PATH=/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
PUPPET=$(which puppetd)
|
||||
ISUNIIP=$(ifconfig |grep -c -e "131\.173\.3[2345]")
|
||||
|
||||
Reference in New Issue
Block a user