Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixing Public Update #5

Merged
merged 8 commits into from

1 participant

Commits on Dec 4, 2012
  1. fixing anonymizing stuff

    authored
  2. adding more init

    authored
  3. oops

    authored
  4. fixing README

    authored
  5. adding baseline config

    authored
  6. updating README

    authored
  7. setting public defaults

    authored
This page is out of date. Refresh to see the latest.
View
1  .gitignore
@@ -6,4 +6,5 @@ vendor/gems
*.iso
.vagrant
graph
+README
config/nodes.yml
View
4 README.md
@@ -21,8 +21,8 @@ manifests/cookbooks/bundles are, and then go and start developing! You
may alternatively clone this repository and setup your own configuration
for your environment.
-Edit the defaults set in `config/autogen_defaults.yml`, and you should
-be off to the races.
+Edit all of the values in `config/autogen_defaults.yml` that are
+labeled `FILL_ME_IN`
## Provisioners
### Puppet
View
6 config/autogen_defaults.yml
@@ -2,7 +2,7 @@
# You should edit this.
default: &default
ip: 192.168.150.1
- orgname: github.com
+ orgname: FILL_ME_IN
vbox: debian-6.0.6-amd64
memory_size: 512
# But don't edit this unless you know what you're doing.
@@ -13,10 +13,10 @@ puppetmaster:
mounts:
puppet_manifests:
guest: /etc/puppet/manifests
- host: ~/github/puppet/manifests
+ host: FILL_ME_IN
puppet_modules:
guest: /etc/puppet/modules
- host: ~/github/puppet/modules
+ host: FILL_ME_IN
hitch_config:
guest: /etc/vagrant/hitch
host: ./config
View
11 rake/stroller.rb
@@ -0,0 +1,11 @@
+require 'yaml'
+
+nodes = YAML::load(File.open(NODES_FILE))
+
+namespace :stroller do
+ desc "Set the Orgname for Stroller"
+ task :orgname, :domain do |t, args|
+ nodes['default']['orgname'] = args[:domain] || 'vagrant.dev'
+ File.open(NODES_FILE, 'w') { |f| f.write(nodes.to_yaml) }
+ end
+end
Something went wrong with that request. Please try again.