knife-ec-backup 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/knife/ec_backup.rb +3 -3
- data/lib/chef/knife/ec_restore.rb +3 -3
- data/lib/knife_ec_backup/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d743d3c24edc2f864712dc85b514c6bd4cb2e8ac
|
4
|
+
data.tar.gz: 252ddd602cbd529f553452017ac5d15ab71e840d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 597e0846978c7eb975b6b54bad856c132165a84846f379716a9ed9529659e3f93c4745548a7c5aa5c38f38c94399001cc8152f95d423c52149e3bf0e5918235c
|
7
|
+
data.tar.gz: e2f96abddc1c81cbb58a1ae78dd271f1b560134297bb70aaadce62adc969a1285d45ea1c32183a5f80263cb27f4238984e6fb3e0943f083c53e78fb4824da793
|
data/lib/chef/knife/ec_backup.rb
CHANGED
@@ -87,12 +87,12 @@ class Chef
|
|
87
87
|
def download_org(dest_dir, webui_key, name)
|
88
88
|
old_config = {}
|
89
89
|
CONFIG_VARS.each do |key|
|
90
|
-
old_config[key] = Chef::Config[key]
|
90
|
+
old_config[key] = Chef::Config[key.to_sym]
|
91
91
|
end
|
92
92
|
begin
|
93
93
|
# Clear out paths
|
94
94
|
PATHS.each do |path_var|
|
95
|
-
Chef::Config[path_var] = nil
|
95
|
+
Chef::Config[path_var.to_sym] = nil
|
96
96
|
end
|
97
97
|
Chef::Config.chef_repo_path = "#{dest_dir}/organizations/#{name}"
|
98
98
|
|
@@ -126,7 +126,7 @@ class Chef
|
|
126
126
|
end
|
127
127
|
ensure
|
128
128
|
CONFIG_VARS.each do |key|
|
129
|
-
Chef::Config[key] = old_config[key]
|
129
|
+
Chef::Config[key.to_sym] = old_config[key]
|
130
130
|
end
|
131
131
|
end
|
132
132
|
end
|
@@ -136,12 +136,12 @@ class Chef
|
|
136
136
|
def upload_org(dest_dir, webui_key, name)
|
137
137
|
old_config = {}
|
138
138
|
CONFIG_VARS.each do |key|
|
139
|
-
old_config[key] = Chef::Config[key]
|
139
|
+
old_config[key] = Chef::Config[key.to_sym]
|
140
140
|
end
|
141
141
|
begin
|
142
142
|
# Clear out paths
|
143
143
|
PATHS.each do |path_var|
|
144
|
-
Chef::Config[path_var] = nil
|
144
|
+
Chef::Config[path_var.to_sym] = nil
|
145
145
|
end
|
146
146
|
Chef::Config.chef_repo_path = "#{dest_dir}/organizations/#{name}"
|
147
147
|
|
@@ -187,7 +187,7 @@ class Chef
|
|
187
187
|
end
|
188
188
|
ensure
|
189
189
|
CONFIG_VARS.each do |key|
|
190
|
-
Chef::Config[key] = old_config[key]
|
190
|
+
Chef::Config[key.to_sym] = old_config[key]
|
191
191
|
end
|
192
192
|
end
|
193
193
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-ec-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|