Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 9ff05bc3024c19bcdfc60f0485dbce4f > scriptlet

puppet-server-3.1.1-1.fc18.noarch.rpm

PREUN

/bin/sh
if [ "$1" = 0 ] ; then
  /sbin/service puppetmaster stop >/dev/null 2>&1
  /sbin/chkconfig --del puppetmaster || :
fi

POSTIN

/bin/sh
/sbin/chkconfig --add puppetmaster || :

POSTUN

/bin/sh
if [ "$1" -ge 1 ]; then
  /sbin/service puppetmaster condrestart >/dev/null 2>&1 || :
fi