Skip to content

Instantly share code, notes, and snippets.

@kerin
Created March 12, 2013 11:51
Show Gist options
  • Save kerin/5142314 to your computer and use it in GitHub Desktop.
Save kerin/5142314 to your computer and use it in GitHub Desktop.
include "ostsite_web"
include "ostsite_db"
node "web" {
class{"ostsite_web":
owner => "vagrant",
group => "vagrant",
venv_path => "/usr/local/venv/ostsite",
requirements_path => "/vagrant/requirements.txt",
django_root => "/vagrant/django",
gunicorn_socket => "/var/run/gunicorn/ostsite.sock",
vhost_name => "192.168.1.10",
static_root => "/vagrant/django/ostsite",
static_path => "/static/"
}
}
node "db" {
class {"ostsite_db":
root_password => "clownshoes",
user_name => "devuser",
user_password => "devpass"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment