knife-ec-backup 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/chef/knife/ec_backup.rb +2 -0
- data/lib/chef/knife/ec_restore.rb +4 -1
- 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: 3be6b56c7c0a6b7cd445ebf3ca610866e91476ab
|
|
4
|
+
data.tar.gz: a975490841095a7ed627def37f7f2a8b78ad860f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.**
|
data/lib/chef/knife/ec_backup.rb
CHANGED
|
@@ -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
|
-
|
|
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
|
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.
|
|
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-
|
|
11
|
+
date: 2013-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|