Displaying 2 results from an estimated 2 matches for "start_puppet".
2011 Jul 25
3
Sudo #includedir function ignored CentOS 6
I am unable to get the #includedir function to work with sudo. This works
just fine on all my CentOS 5.6 servers, but on 6 it is being ignored. I
have this line in the file /etc/sudoers.d/zabbix-puppet
zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet
However sudo still requires a password. If I put that same line into
/etc/sudoers file , there is no password prompt. At the end of my sudoers
file I have this line
#includedir "/etc/sudoers.d"
It seems that line is being ignored.
The permissions on the file in that directory are 04...
2007 Mar 15
13
puppet standlone hanging when ran via init.d
...r/sbin:/usr/bin
PROGS=/usr/bin/puppet
PROGS_OPTS="-v --use-nodes /srv/puppet/manifests/site.pp"
NAME=puppet
DESC="puppet (standalone) configuration management tool"
test -x $PROGS || exit 0
[ -r /etc/default/puppet ] && . /etc/default/puppet
. /lib/lsb/init-functions
start_puppet() {
export RUBYLIB=/srv/puppet
eval $PROGS $PROGS_OPTS
}
case "$1" in
start)
log_begin_msg "Running $DESC"
start_puppet
log_end_msg 0
;;
stop)
;;
restart|force-reload)
log_begin_msg "Re-running $DESC"
stop_puppet
sleep...