Created
June 25, 2012 09:25
-
-
Save skihero/2987608 to your computer and use it in GitHub Desktop.
Start the puppet and ruby bundle, setting the right paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PUPPET_RUBY_DIR="/usr/local/puppetandruby" | |
PUPPET_MSTR_SERVER=" rov-master. .com" | |
# Let the path find puppet's ruby first | |
export PATH=${PUPPET_RUBY_DIR}/bin/:$PATH | |
# Set the GEM home and path for the puppet ruby | |
export GEM_HOME=${PUPPET_RUBY_DIR}/lib/ruby/gems/1.9.1/gems/ | |
export GEM_PATH=${PUPPET_RUBY_DIR}/lib/ruby/gems/1.9.1/gems/ | |
PUPPETD=${PUPPET_RUBY_DIR}/lib/ruby/gems/1.9.1/gems/bin/puppetd | |
${PUPPET_RUBY_DIR}/bin/ruby ${PUPPETD} --server ${PUPPET_MSTR_SERVER} --no-daemonize --waitforcert 20 -v -d --environment staging --trace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment