conf/redhat/server.init in puppet-0.24.4 vs conf/redhat/server.init in puppet-0.24.5

- old
+ new

@@ -60,10 +60,15 @@ restart() { stop start } +genconfig() { + echo -n $"Generate configuration puppetmaster: " + $PUPPETMASTER $PUPPETMASTER_OPTS --genconfig +} + case "$1" in start) start ;; stop) @@ -77,11 +82,14 @@ ;; status) status $PUPPETMASTER RETVAL=$? ;; + genconfig) + genconfig + ;; *) - echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}" + echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart|genconfig}" exit 1 esac exit $RETVAL