Skip to content
Example manifests for automating Google Compute Engine with Puppet: Highly Available LAMP Stack with MongoDB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
cluster_down.pp
cluster_up.pp
database.pp
puppetmaster_down.pp
puppetmaster_up.pp
site.pp
web.pp

README.md

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.

  1. Create the Puppet Master instance

    puppet apply --certname my_project puppetmaster_up.pp
  2. SSH into the Puppet master

    gcutil ssh puppet-master
  3. Authorize the Puppet master

    sudo gcloud auth login
  4. Put the files from this repo in /etc/puppet/manifests

  5. Launch the instances

    sudo puppet apply --certname my_project /etc/puppet/manifests/cluster_up.pp
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.