Skip to content

Instantly share code, notes, and snippets.

@deshion
Last active May 3, 2017 22:33
Show Gist options
  • Save deshion/b116f1011cdff0702b45 to your computer and use it in GitHub Desktop.
Save deshion/b116f1011cdff0702b45 to your computer and use it in GitHub Desktop.
Setup local puppet development environment in Linux
#!/bin/sh
#Run from url
#curl -s https://gist.githubusercontent.com/deshion/b116f1011cdff0702b45/raw | bash /dev/stdin user fullname email
# Bootstrap vim and git
source <<< "$(curl -s -L https://gist.githubusercontent.com/deshion/59b635538280d3afe064daf2750b8707/raw)"
mkdir -p puppet/modules
cd puppet
wget https://gist.githubusercontent.com/deshion/21ff132ed2b70cf9bb8b/raw/apply_puppet.sh
git clone https://$1@stash.vpcx.jnj.com/scm/scm/puppetforge_beta.git
git clone https://$1@stash.vpcx.jnj.com/scm/scm/its_core_beta.git
git clone https://$1@stash.vpcx.jnj.com/scm/scm/scmframework_beta.git
git config --global color.ui auto
git config --global user.name $2
git config --global user.email $3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment