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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82f59d873c1202c42f7ddebd1e673b102f81fda2
4
- data.tar.gz: f2826c7bb0ec69ae9ca0d40c1e455dadbc91e649
3
+ metadata.gz: d743d3c24edc2f864712dc85b514c6bd4cb2e8ac
4
+ data.tar.gz: 252ddd602cbd529f553452017ac5d15ab71e840d
5
5
  SHA512:
6
- metadata.gz: 70ac26a02971b3b50184d9dd7d12c12233c0d7f33cd5097c366c9eef05ae3cc78845cd482cf28dbb3e8a477bc9142422f9894739a7caff7e59976ebc139f5447
7
- data.tar.gz: cc3613d5eff4101a212c59f34f6a3ad736c0cce305501db4c41fc7dead3b0e11fb1912b564f15aecbb03a5aefdb5cfcb1ac9387271492ca17859f44bf00807c8
6
+ metadata.gz: 597e0846978c7eb975b6b54bad856c132165a84846f379716a9ed9529659e3f93c4745548a7c5aa5c38f38c94399001cc8152f95d423c52149e3bf0e5918235c
7
+ data.tar.gz: e2f96abddc1c81cbb58a1ae78dd271f1b560134297bb70aaadce62adc969a1285d45ea1c32183a5f80263cb27f4238984e6fb3e0943f083c53e78fb4824da793
@@ -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
@@ -1,3 +1,3 @@
1
1
  module KnifeECBackup
2
- VERSION = '0.9.5'
2
+ VERSION = '0.9.6'
3
3
  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.5
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-03 00:00:00.000000000 Z
11
+ date: 2013-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec