knife-ec-backup 1.1.2 → 1.1.3

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: c708f5bb43f5a6e654e7cca85eb6d57ef70c159c
4
- data.tar.gz: 2e09319976737981a00c54638d18179787c5c43d
3
+ metadata.gz: 3be6b56c7c0a6b7cd445ebf3ca610866e91476ab
4
+ data.tar.gz: a975490841095a7ed627def37f7f2a8b78ad860f
5
5
  SHA512:
6
- metadata.gz: 15ccc88cc17a20e2eace51632e7c850563f8b1f2e1bef621bab8e1aeff27d70b1143496f8fcafaa4b8673f0e37b39f8bedd3cd8a3b06f4533428f36ac7e978c3
7
- data.tar.gz: 69b46781d7f2c12accaf7e82c396729c22f3a4fa6c4a7b55cba1bebe8005ef9acd9ab48241c0174299d628e42d19c7c6e4050eaaf2873c95fdeb3b51c62db78c
6
+ metadata.gz: 92e010b8025271bf57ddbcb074944574da406fc6a8bcfb5026f01c872fce547b21dc224151e131b9db3f41b36b5140898d2ea2e1f03d07dd70464c3db96bb15e
7
+ data.tar.gz: 9320e5c0ad882373b5f894d5fc752f6b17f9c312e1deeb5c0327cf3d65316862b01ed5ff33c6ad9f393e5a00bb645ce5dedcec78b618e846d38d914a4d800683
data/README.md CHANGED
@@ -22,7 +22,7 @@ This will install the plugin directly on the Chef Server:
22
22
  Clone the git repository and run the following from inside:
23
23
 
24
24
  gem build knife-ec-backup.gemspec
25
- gem install knife-ec-backup-1.1.2.gem
25
+ gem install knife-ec-backup-1.1.3.gem
26
26
 
27
27
  # Configuration
28
28
 
@@ -119,4 +119,5 @@ Restores all data from a repository to an Enterprise Chef / Private Chef server.
119
119
 
120
120
  * Ensure easy installation into embedded ruby gemset on Chef Server.
121
121
  * Remove requirement for Knife Essentials gem to be installed.
122
- * This plugin does **NOT** currently backup user passwords. **They will have to be reset after a restore.**
122
+ * This plugin does **NOT** currently backup user passwords. **They will have to be reset after a restore.**
123
+ * This plugin does **NOT** currently restore custom user ACLs. **It will revert back to default ACLs on a restore.**
@@ -107,6 +107,8 @@ class Chef
107
107
  config[:skip_useracl] = true
108
108
  user_acl_rest = nil
109
109
  end
110
+ else
111
+ user_acl_rest = rest
110
112
  end
111
113
 
112
114
  else
@@ -106,7 +106,10 @@ class Chef
106
106
  if server_version_parts[0].to_i < 11 || (server_version_parts[0].to_i == 11 && server_version_parts[1].to_i == 0)
107
107
  ui.warn("Your version of Enterprise Chef Server does not support the updating of User ACLs. Setting skip-useracl to TRUE")
108
108
  config[:skip_useracl] = true
109
- end
109
+ user_acl_rest = nil
110
+ else
111
+ user_acl_rest = rest
112
+ end
110
113
  else
111
114
  ui.warn("Unable to detect Chef Server version.")
112
115
  end
@@ -1,3 +1,3 @@
1
1
  module KnifeECBackup
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
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: 1.1.2
4
+ version: 1.1.3
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-12-18 00:00:00.000000000 Z
11
+ date: 2013-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec