stack-kicker 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/lib/stack-kicker/version.rb +1 -1
- data/lib/stack.rb +1 -1
- metadata +2 -2
data/Gemfile
CHANGED
data/lib/stack-kicker/version.rb
CHANGED
data/lib/stack.rb
CHANGED
@@ -741,7 +741,7 @@ cookbook_path [ '<%=config[:stackhome]%>/cookbooks' ]
|
|
741
741
|
# knife node create -d --environment $CHEF_ENVIRONMENT $SERVER_NAME
|
742
742
|
# knife node run_list add -d --environment $CHEF_ENVIRONMENT $SERVER_NAME "role[${ROLE}]"
|
743
743
|
# this relies on .chef matching the stacks config (TODO: poke the Chef API directly?)
|
744
|
-
cmd = "EDITOR=\"perl -p -i -e 's/_default/#{config[:chef_environment]}/'\" knife node create
|
744
|
+
cmd = "EDITOR=\"perl -p -i -e 's/_default/#{config[:chef_environment]}/'\" knife node create #{hostname}"
|
745
745
|
Logger.debug cmd
|
746
746
|
knife_node_create = Stack.shellout(config, cmd)
|
747
747
|
Logger.info "Priming Chef Server: #{knife_node_create}"
|
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.
|
4
|
+
version: 0.0.25
|
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-09-
|
12
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|