+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + DAEMON=/usr/sbin/puppetmasterd + DAEMON_OPTS= + NAME=puppetmasterd + DESC='puppet configuration management tool master server' + test -x /usr/sbin/puppetmasterd + '[' -r /etc/default/puppetmaster ']' + . /lib/lsb/init-functions ++ FANCYTTY= ++ '[' -e /etc/lsb-base-logging.sh ']' ++ . /etc/lsb-base-logging.sh + case "$1" in + log_begin_msg 'Starting puppet configuration management tool master server' + log_daemon_msg 'Starting puppet configuration management tool master server' + '[' -z 'Starting puppet configuration management tool master server' ']' + log_use_usplash + '[' n = y ']' + type usplash_write + usplash_write 'TEXT Starting puppet configuration management tool master server' + log_to_console log_daemon_msg 'Starting puppet configuration management tool master server' + '[' n '!=' y ']' + '[' no '!=' yes ']' ++ readlink /proc/self/fd/0 + stdin=/dev/pts/2 + '[' /dev/pts/2 '!=' /dev/pts/2 ']' + return 0 + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + '[' xxterm '!=' xdumb ']' + '[' -x /usr/bin/tput ']' + '[' -x /usr/bin/expr ']' + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + '[' -z ']' + FANCYTTY=1 + case "$FANCYTTY" in + true + /usr/bin/tput xenl ++ /usr/bin/tput cols + COLS=140 + '[' 140 ']' ++ /usr/bin/expr 140 - 7 + COL=133 + printf ' * Starting puppet configuration management tool master server ' * Starting puppet configuration management tool master server ++ /usr/bin/expr 140 - 1 + /usr/bin/tput hpa 139 + printf ' ' + start_puppetmaster + start-stop-daemon --start --quiet --pidfile /var/run/puppetmasterd.pid --startas /usr/sbin/puppetmasterd -- + log_end_msg 1 + '[' -z 1 ']' + log_use_usplash + '[' n = y ']' + type usplash_write + '[' 1 -eq 0 ']' + usplash_write 'FAILURE failed' + log_to_console log_end_msg 1 + '[' n '!=' y ']' + '[' no '!=' yes ']' ++ readlink /proc/self/fd/0 + stdin=/dev/pts/2 + '[' /dev/pts/2 '!=' /dev/pts/2 ']' + return 0 + '[' 133 ']' + '[' -x /usr/bin/tput ']' + printf '\r' + /usr/bin/tput hpa 133 + '[' 1 -eq 0 ']' + printf '[' [+ /usr/bin/tput setaf 1 + printf fail fail+ /usr/bin/tput op + echo ']' ] + return 1 + exit 0