Skip to content
Browse files

adding more init

  • Loading branch information...
1 parent 93ee867 commit c6188880930827e327ed80d836048203fdcd5327 @jfryman committed
Showing with 19 additions and 3 deletions.
  1. +7 −2 README.md
  2. +1 −1 config/autogen_defaults.yml
  3. +11 −0 rake/stroller.rb
View
9 README.md
@@ -21,8 +21,13 @@ 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.
+### Quick Start
+'''
+rake stroller:orgname[github.com]
+rake vagrant:node:add[test123]
+rake vagrant:up[test123]
+'''
+
## Provisioners
### Puppet
View
2 config/autogen_defaults.yml
@@ -2,7 +2,7 @@
# You should edit this.
default: &default
ip: 192.168.150.1
- orgname: github.com
+ orgname: frymanet.com
vbox: debian-6.0.6-amd64
memory_size: 512
# But don't edit this unless you know what you're doing.
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

0 comments on commit c618888

Please sign in to comment.
Something went wrong with that request. Please try again.