Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Puppet configuration for Stacked Notion
branch: master
Failed to load latest commit information.
manifests
modules
.gitignore
.gitmodules
Gemfile
Gemfile.lock
README.md
Vagrantfile
run.sh

README.md

Stacked Notion Puppet Repository

Modules

Getting Started

We use Vagrant to develop and test these manifests and as such there is a Vagrantfile already in the root directory.

Setup submodules:

% git submodule init
% git submodule update

Install the required gems, including Vagrant:

% bundle

If you haven't already used Vagrant, you'll need to download the base box:

% vagrant box add ubuntu-12.10 https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box

Once you have Vagrant you should be able to execute the following command to bring up a test virtual machine and provision it:

% vagrant up

For development, you can just create your manifests and include them in manifests/vagrant.pp, once you're ready to re-run the puppet manifests you can run the following command (no need to rebuild the VM):

% vagrant provision

Bootstrapping

Install Puppet and Git, e.g. on Ubuntu:

# apt-get update
# apt-get install puppet git-core

(N.b. This needs to be a recent version, on Ubuntu 10.04 LTS the packaged version if horrendously out of date.)

Clone the repo from GitHub:

# git clone git://github.com/lucaspiller/stackednotion-puppet.git /root/stackednotion-puppet
# cd stackednotion-puppet

Run the script:

# sh run.sh

Minimal Ubuntu

Some VPS providers include the web server profile default on Ubuntu. This includes things such as Apache, BIND, Sendmail, etc. You can clean it up with this:

# apt-get purge sendmail* samba* bind9* apache* sasl2* && apt-get autoremove

This will free up around 100 MB of disk space, and 50 MB of memory.

About

Based upon jenkinsci/infra-puppet. Feel free to use this however you like.

Something went wrong with that request. Please try again.