stack-kicker 0.0.24 → 0.0.25

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/Gemfile CHANGED
@@ -2,3 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in stack-kicker.gemspec
4
4
  gemspec
5
+
6
+ # apart from stuff you need to run, but don't want as a dependency
7
+ gem 'chef', '~> 11.6.0'
@@ -1,5 +1,5 @@
1
1
  module Stack
2
2
  module Kicker
3
- VERSION = "0.0.24"
3
+ VERSION = "0.0.25"
4
4
  end
5
5
  end
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 --server-url #{config[:chef_server_public]} #{hostname}"
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.24
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-18 00:00:00.000000000 Z
12
+ date: 2013-09-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc