toquen 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -38,6 +38,7 @@ This will create a data_bag named *servers* in your data_bags path that contains
38
38
  Bootstrapping a server will perform all of the following:
39
39
 
40
40
  1. Update all packages (assuming a Debian/Ubuntu system)
41
+ 1. Sets the hostname to be whatever you set as value for the Name tag in AWS
41
42
  1. Set ruby 1.9.3 as the default ruby
42
43
  1. Install rubygems
43
44
  1. Install the chef and bundler gems
@@ -64,7 +64,7 @@ desc "Run chef for servers"
64
64
  task :cook do
65
65
  on roles(:all), in: :parallel do |host|
66
66
  info "Chef is now cooking on #{host}..."
67
- roles = host.properties.roles.reject { |r| r.to_s.start_with?('server-') }
67
+ roles = host.properties.roles.reject { |r| r.to_s.start_with?('server-') or r == :all }
68
68
  roles = roles.map { |r| "\"role[#{r}]\"" }.join(',')
69
69
  info "Roles for #{host}: #{roles}"
70
70
  tfile = "/home/#{fetch(:ssh_options)[:user]}/chef.json"
@@ -1,3 +1,3 @@
1
1
  module Toquen
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: toquen
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brian Muller
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-12-15 00:00:00 Z
13
+ date: 2013-12-17 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- hash: -2663475817431623628
85
+ hash: 652687701132205552
86
86
  segments:
87
87
  - 0
88
88
  version: "0"
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- hash: -2663475817431623628
94
+ hash: 652687701132205552
95
95
  segments:
96
96
  - 0
97
97
  version: "0"