knife-ec-backup 2.0.0 → 2.0.1

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: f8f08431a9c4bb9de895e7f1de514e586603cf00
4
- data.tar.gz: bcc07b67d433964eb6b8b080650110b98c7291c2
3
+ metadata.gz: fdece34d78c5071fd6f144f35ca43b19d03ba1d6
4
+ data.tar.gz: b99f92444ffc7a236c0dd7573105a4cd048f995d
5
5
  SHA512:
6
- metadata.gz: 964129af4f8e76e3d339f4a10e2d682fbc864d1e2799b6274a2d4fb4f7b4ad0cb2d31deda74fa11f2d62033b60f0aa170e397c44d07bea56294b296abbe1887f
7
- data.tar.gz: f9de155880bf15cac8afafdcfd81365e8c2764b15065faa501ee92cb7c10772c6259e24434701dddcbe24404c74414c964b4308ddc43fce73ea37f1e52cb2f20
6
+ metadata.gz: 979c5e7cd188d37a1e9a124f60cbf3dc7aaa2b9919c44ab646969cb3c4a517fbb7bcc190e052d9df580c7561b6930c6d898449e2477576bca2ab99afb0675364
7
+ data.tar.gz: 8f9f705300333b9a42fe6e18c6fa64b6ae2b51f7bfa998988c5e9ca8a69e6a6364998238688744c0c664350c7bbcf5ed97c64118098f4539e668606a2fa3a601
data/README.md CHANGED
@@ -170,7 +170,7 @@ This compares very closely with the "knife download /" from an OSC server:
170
170
 
171
171
  Restores all data from the specified DEST_DIR to an Enterprise Chef /
172
172
  Private Chef server. DEST_DIR should be a backup directory created by
173
- `knife ec restore`
173
+ `knife ec backup`
174
174
 
175
175
  *Options*
176
176
 
@@ -165,7 +165,7 @@ class Chef
165
165
  def restore_user_sql
166
166
  k = ec_key_import
167
167
  k.config[:skip_users_table] = false
168
- k.config[:skip_keys_table] = false
168
+ k.config[:skip_keys_table] = !config[:with_key_sql]
169
169
  k.config[:users_only] = true
170
170
  k.run
171
171
  end
@@ -1,3 +1,3 @@
1
1
  module KnifeECBackup
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-28 00:00:00.000000000 Z
11
+ date: 2015-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  requirements: []
161
161
  rubyforge_project:
162
- rubygems_version: 2.4.1
162
+ rubygems_version: 2.4.4
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Backup and Restore of Enterprise Chef