Lines 47-52
Link Here
|
47 |
: ${puppetserver_enable="NO"} |
47 |
: ${puppetserver_enable="NO"} |
48 |
: ${puppetserver_args="--config /usr/local/etc/puppetserver/conf.d -b /usr/local/etc/puppetserver/services.d"} |
48 |
: ${puppetserver_args="--config /usr/local/etc/puppetserver/conf.d -b /usr/local/etc/puppetserver/services.d"} |
49 |
: ${puppetserver_java_home="/usr/local/openjdk8"} |
49 |
: ${puppetserver_java_home="/usr/local/openjdk8"} |
|
|
50 |
: ${puppetserver_java_opts=""} |
50 |
: ${puppetserver_user="puppet"} |
51 |
: ${puppetserver_user="puppet"} |
51 |
: ${puppetserver_group="puppet"} |
52 |
: ${puppetserver_group="puppet"} |
52 |
: ${puppetserver_log_file="/var/log/puppetserver/puppetserver.log"} |
53 |
: ${puppetserver_log_file="/var/log/puppetserver/puppetserver.log"} |
Lines 55-61
Link Here
|
55 |
command="/usr/sbin/daemon" |
56 |
command="/usr/sbin/daemon" |
56 |
java_cmd="${puppetserver_java_home}/bin/java" |
57 |
java_cmd="${puppetserver_java_home}/bin/java" |
57 |
procname="${java_cmd}" |
58 |
procname="${java_cmd}" |
58 |
command_args="-f -p ${pidfile} ${java_cmd} -cp /usr/local/share/puppetserver/puppet-server-release.jar:/usr/local/share/puppetserver/jruby-9k.jar clojure.main -m puppetlabs.trapperkeeper.main ${puppetserver_args}" |
59 |
command_args="-f -p ${pidfile} ${java_cmd} ${puppetserver_java_opts} -cp /usr/local/share/puppetserver/puppet-server-release.jar:/usr/local/share/puppetserver/jruby-9k.jar clojure.main -m puppetlabs.trapperkeeper.main ${puppetserver_args}" |
59 |
|
60 |
|
60 |
|
61 |
|
61 |
required_files="${java_cmd}" |
62 |
required_files="${java_cmd}" |