rake-remote_chef 0.0.1 → 0.0.2

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.
@@ -0,0 +1,10 @@
1
+
2
+ set :remote_chef_path, '/usr'
3
+
4
+ namespace :chef do
5
+ namespace :bootstrap do
6
+ desc 'Install chef.'
7
+ remote_task :bootstrap do
8
+ sudo "curl -L http://www.opscode.com/chef/install.sh | bash"
9
+ end
10
+ end
@@ -1,4 +1,5 @@
1
1
 
2
+ set(:remote_chef_path) { ruby_path }
2
3
  set :ruby_version, '1.9.3-p194'
3
4
 
4
5
  namespace :chef do
@@ -101,7 +101,7 @@ namespace :chef do
101
101
 
102
102
  desc 'Execute chef-solo on remote.'
103
103
  remote_task :solo => :update_repository do
104
- sudo "#{ruby_path}/bin/chef-solo -c #{remote_chef_repo_path}/configs/solo.rb -j #{remote_chef_repo_path}/configs/#{target_host}.json"
104
+ sudo "#{remote_chef_path}/bin/chef-solo -c #{remote_chef_repo_path}/configs/solo.rb -j #{remote_chef_repo_path}/configs/#{target_host}.json"
105
105
  end
106
106
 
107
107
  end
@@ -1,5 +1,5 @@
1
1
  module Rake
2
2
  class RemoteChef
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -32,7 +32,7 @@ module Rake
32
32
 
33
33
  recipes = {
34
34
  :config => 'config/chef.rb',
35
- :bootstrap => 'bootstrap/ubuntu',
35
+ :bootstrap => 'bootstrap/omnibus',
36
36
  :core => 'core'
37
37
  }.merge(options)
38
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-remote_chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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: 2012-09-18 00:00:00.000000000 Z
12
+ date: 2013-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hoe
@@ -112,6 +112,7 @@ files:
112
112
  - example/config/chef.rb
113
113
  - example/lib/rake/remote_task_ex.rb
114
114
  - lib/rake/remote_chef.rb
115
+ - lib/rake/remote_chef/bootstrap/omnibus.rb
115
116
  - lib/rake/remote_chef/bootstrap/ubuntu.rb
116
117
  - lib/rake/remote_chef/core.rb
117
118
  - lib/rake/remote_chef/core/solo.rb.erb
@@ -129,12 +130,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
130
  - - ! '>='
130
131
  - !ruby/object:Gem::Version
131
132
  version: '0'
133
+ segments:
134
+ - 0
135
+ hash: -511483753331268016
132
136
  required_rubygems_version: !ruby/object:Gem::Requirement
133
137
  none: false
134
138
  requirements:
135
139
  - - ! '>='
136
140
  - !ruby/object:Gem::Version
137
141
  version: '0'
142
+ segments:
143
+ - 0
144
+ hash: -511483753331268016
138
145
  requirements: []
139
146
  rubyforge_project:
140
147
  rubygems_version: 1.8.23