Skip to content

Instantly share code, notes, and snippets.

@jpadams
Last active August 29, 2015 14:10
Show Gist options
  • Save jpadams/fa151e35b4d850355538 to your computer and use it in GitHub Desktop.
Save jpadams/fa151e35b4d850355538 to your computer and use it in GitHub Desktop.
#! /bin/bash
PUPPET='/opt/puppet/bin/puppet'
$PUPPET module install stahnma-epel --version '0.0.6'
$PUPPET module install elasticsearch-elasticsearch --version '0.3.2'
$PUPPET module install gini-archive --version '0.2.0'
$PUPPET module install dwerder-graphite --version '5.3.3'
cd `$PUPPET config print modulepath | cut -d: -f1`
$PUPPET apply -e "package {'git': ensure => 'installed',}"
git clone https://github.com/jpadams/grafanadash.git
$PUPPET apply -e 'include grafanadash'
@jpadams
Copy link
Author

jpadams commented Dec 1, 2014

Thanks, dgrstl! I've reworked the script to address your two concerns:

  1. I reordered the script to run puppet module install first so the modules dir is created, if needed.
  2. I added your line to install git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment