Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Commit

Permalink
Add utility script run*
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Jun 12, 2013
1 parent 39f747e commit df21831
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runlibrarian
@@ -0,0 +1,6 @@
#!/bin/bash -v
# To be use on a vagrant machine
# prepare environment for librarian-puppet
if [ -d /vagrant ] ; then PUPPET_DIR=/vagrant ; else PUPPET_DIR=/etc/puppet ; fi
cd $PUPPET_DIR
time sudo librarian-puppet install
6 changes: 6 additions & 0 deletions runpuppet
@@ -0,0 +1,6 @@
#!/bin/bash -v
# To be use on a vagrant machine
if [ -d /vagrant ] ; then PUPPET_DIR=/vagrant ; else PUPPET_DIR=/etc/puppet ; fi
cd $PUPPET_DIR
./runlibrarian
sudo -i puppet apply --modulepath $PUPPET_DIR/modules $*

0 comments on commit df21831

Please sign in to comment.