Example manifests for "How to automate Google Compute Engine with Puppet"
A collection of Puppet manifest examples from our blog post How to automate Google Compute Engine with Puppet: Highly Available LAMP Stack with MongoDB.
With these manifests you can create a cluster on Google's Compute Engine with two load balanced web instances and three replicated MongoDB instances.
Create the Puppet Master instance
puppet apply --certname my_project puppetmaster_up.pp
SSH into the Puppet master
gcutil ssh puppet-master
Authorize the Puppet master
sudo gcloud auth login
Put the files from this repo in /etc/puppet/manifests
Launch the instances
sudo puppet apply --certname my_project /etc/puppet/manifests/cluster_up.pp