Skip to content

Instantly share code, notes, and snippets.

@hkumarmk
Created November 3, 2014 13:02
Show Gist options
  • Select an option

  • Save hkumarmk/215820487b0bbd55cdd1 to your computer and use it in GitHub Desktop.

Select an option

Save hkumarmk/215820487b0bbd55cdd1 to your computer and use it in GitHub Desktop.
#!/bin/bash
base_path=$1
mkdir -p /etc/puppet/{modules,manifests}
mount --bind ${base_path}/modules/rjil/hiera /etc/puppet/hiera
ln -s /etc/puppet/hiera/hiera.yaml /etc/puppet/hiera.yaml
mount --bind ${base_path}/modules /etc/puppet/modules
mount --bind ${base_path}/modules/rjil/site.pp /etc/puppet/manifests/site.pp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment