stack-kicker 0.0.12 → 0.0.13

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
@@ -61,7 +61,7 @@ This is usually only used when :chef_server = true, it stops stack-kicker from a
61
61
  #### :security_group
62
62
  security group to be assigned to this node. (set to default is you don't want to manage security groups for every role)
63
63
  #### :cloud_config_yaml
64
- defaults to a file which contains a simple template (lib/cloud-config.yaml in the github repo) that installs the http://apt.opscode.com repo & gpg key, as well as installing the opscode-keyring. Can be replaced with any filename that complies with cloud-init. If the filename supplied ends in '.erb', it will be processed with ERB. See [ERB Templates](#erbtemplates) for details on available data.
64
+ defaults to a file which contains a simple template (lib/cloud-config.yaml in the github repo) that installs the http://apt.opscode.com repo & gpg key, as well as installing the opscode-keyring. Can be replaced with any filename that complies with cloud-init. If the filename supplied ends in '.erb', it will be processed with ERB. See [ERB Templates](#erb-templates) for details on available data.
65
65
  #### :bootstrap
66
66
  Optional filename, the contents of which will get combined with :cloud_config_yaml to form the cloud-init payload (using mime encoding, supported types are #include, ) with some variable substation (chef server ip, environment, validation.pem, roles) See lib/chef-client-bootstrap-excl-validation-pem.sh as an example.
67
67
 
@@ -94,25 +94,25 @@ There are 3 key data sets exposed to the ERB templates:
94
94
 
95
95
  * instances - subset all_instances, just the nodes referenced/managed by this Stackfile
96
96
  * all_instances - hash of all instances running in this account
97
- * config - config contains all the config data from the Stackfile, as well as info about running instances in the account used by the Stackfile
97
+ * config - config contains all the config data from the Stackfile, as well as info about running instances in the account used by the Stackfile
98
98
 
99
99
  instances & all_instances hashes look like this:
100
100
 
101
101
  ```
102
102
  {
103
103
  "webci-az1-web0001" => {
104
- :region => "az-1.region-a.geo-1",
105
- :id => 1395635,
106
- :private_ips => ["10.5.170.11"],
107
- :public_ips => ["15.185.114.181"],
108
- :az => "az-1.region-a.geo-1",
109
- :role => :web},
104
+ :region => "az-1.region-a.geo-1",
105
+ :id => 1395635,
106
+ :private_ips => ["10.5.170.11"],
107
+ :public_ips => ["15.185.114.181"],
108
+ :az => "az-1.region-a.geo-1",
109
+ :role => :web},
110
110
  "webci-az1-web0002" => {
111
- :region => "az-1.region-a.geo-1",
112
- :id => 1396181,
113
- :private_ips => ["10.5.172.145"],
114
- :public_ips => ["15.185.110.42"],
115
- :az => "az-1.region-a.geo-1",
111
+ :region => "az-1.region-a.geo-1",
112
+ :id => 1396181,
113
+ :private_ips => ["10.5.172.145"],
114
+ :public_ips => ["15.185.110.42"],
115
+ :az => "az-1.region-a.geo-1",
116
116
  :role=>:web
117
117
  }
118
118
  }
@@ -1,5 +1,5 @@
1
1
  module Stack
2
2
  module Kicker
3
- VERSION = "0.0.12"
3
+ VERSION = "0.0.13"
4
4
  end
5
5
  end
data/lib/stack.rb CHANGED
@@ -260,10 +260,9 @@ module Stack
260
260
  log_level :info
261
261
  log_location STDOUT
262
262
  node_name '<%=ENV['USER']%>'
263
- # use the HPCS_ENV environment name to pick the correct key
264
- client_key '<%=dot_chef_abs%>/' + ENV['HPCS_ENV'] + '-' + ENV['USER'] + '.pem'
263
+ client_key '<%=dot_chef_abs%>/'+ ENV['USER'] + '.pem'
265
264
  validation_client_name 'chef-validator'
266
- validation_key '<%=dot_chef_abs%>/' + ENV['HPCS_ENV'] + '-validation.pem'
265
+ validation_key '<%=dot_chef_abs%>/validation.pem'
267
266
  chef_server_url '<%=config[:chef_server_public]%>'
268
267
  cache_type 'BasicFile'
269
268
  cache_options( :path => '<%=dot_chef_abs%>/checksums' )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack-kicker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-15 00:00:00.000000000 Z
12
+ date: 2013-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
@@ -172,18 +172,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
172
  - - ! '>='
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
- segments:
176
- - 0
177
- hash: 503041037987723651
178
175
  required_rubygems_version: !ruby/object:Gem::Requirement
179
176
  none: false
180
177
  requirements:
181
178
  - - ! '>='
182
179
  - !ruby/object:Gem::Version
183
180
  version: '0'
184
- segments:
185
- - 0
186
- hash: 503041037987723651
187
181
  requirements: []
188
182
  rubyforge_project:
189
183
  rubygems_version: 1.8.23