solokit 0.0.4 → 0.0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef.rb +3 -3
- data/lib/solokit/version.rb +1 -1
- metadata +3 -2
data/lib/chef.rb
CHANGED
@@ -17,12 +17,12 @@ module Solokit
|
|
17
17
|
solokit_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
18
18
|
@ssh.run("rm -rf #{root}var/chef-solo", false) &&
|
19
19
|
@ssh.run("rm -rf #{root}etc/chef", false) &&
|
20
|
-
upload_files("#{solokit_path}/cookbooks/upstream
|
21
|
-
upload_files("#{solokit_path}/cookbooks/site
|
20
|
+
upload_files("#{solokit_path}/cookbooks/upstream/*", "#{root}var/chef-solo/upstream-cookbooks") &&
|
21
|
+
upload_files("#{solokit_path}/cookbooks/site/*", "#{root}var/chef-solo/site-cookbooks") &&
|
22
22
|
upload_files("cookbooks/upstream/*", "#{root}var/chef-solo/upstream-cookbooks") &&
|
23
23
|
upload_files("cookbooks/site/*", "#{root}var/chef-solo/site-cookbooks") &&
|
24
24
|
upload_files("envs/#{@env}/cookbooks/*", "#{root}var/chef-solo/site-cookbooks") &&
|
25
|
-
upload_files("#{solokit_path}/chef", "#{root}etc/chef") &&
|
25
|
+
upload_files("#{solokit_path}/chef*", "#{root}etc/chef") &&
|
26
26
|
upload_files("chef/*", "#{root}etc/chef") &&
|
27
27
|
upload_files("envs/#{@env}/chef/*", "#{root}etc/chef")
|
28
28
|
end
|
data/lib/solokit/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solokit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 93
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 4
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 0.0.4.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- "Joakim Kolsj\xC3\xB6"
|