knife-ec-backup 2.4.3 → 2.4.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_base.rb +1 -1
- data/lib/chef/knife/ec_key_export.rb +1 -1
- data/lib/chef/knife/ec_key_import.rb +2 -2
- data/lib/chef/knife/ec_restore.rb +4 -4
- data/lib/knife_ec_backup/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 590ca547b897bbeb57b20d0fc9a1383b801b0f76c52b0725b900611d2ff70b9e
|
4
|
+
data.tar.gz: 8ed73b22a6f0451be9bb05cf03915b5d0e2d9f5ce702883fe46896a3bfe2ddf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 335249353776537c908431a6169b45b9e86507dd673efb470e7cc997517cf9459222c7608545f77c6ce8a56a0487592e31deb4cbbe571f20a3ef16f27ab04060
|
7
|
+
data.tar.gz: 2bc2f0497ab2d4a3076a92fc0614790e248253705771f1779c538ed03e5a550786a0460b84112f8dc13780d452d8c6e408176cece6117cd12d5ba974893c727d
|
data/lib/chef/knife/ec_backup.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'chef/knife'
|
2
|
-
|
2
|
+
require_relative 'ec_base'
|
3
3
|
|
4
4
|
class Chef
|
5
5
|
class Knife
|
@@ -14,7 +14,7 @@ class Chef
|
|
14
14
|
require 'chef/chef_fs/file_system'
|
15
15
|
require 'chef/chef_fs/file_pattern'
|
16
16
|
require 'chef/chef_fs/parallelizer'
|
17
|
-
|
17
|
+
require_relative '../server'
|
18
18
|
require 'fileutils'
|
19
19
|
end
|
20
20
|
|
@@ -127,7 +127,7 @@ class Chef
|
|
127
127
|
end
|
128
128
|
|
129
129
|
def export_from_sql
|
130
|
-
|
130
|
+
require_relative 'ec_key_export'
|
131
131
|
Chef::Knife::EcKeyExport.deps
|
132
132
|
k = Chef::Knife::EcKeyExport.new
|
133
133
|
k.name_args = ["#{dest_dir}/key_dump.json", "#{dest_dir}/key_table_dump.json"]
|
data/lib/chef/knife/ec_base.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'chef/knife'
|
2
|
-
|
2
|
+
require_relative 'ec_base'
|
3
3
|
|
4
4
|
class Chef
|
5
5
|
class Knife
|
@@ -35,8 +35,8 @@ class Chef
|
|
35
35
|
require 'chef/chef_fs/data_handler/acl_data_handler'
|
36
36
|
require 'securerandom'
|
37
37
|
require 'chef/chef_fs/parallelizer'
|
38
|
-
|
39
|
-
|
38
|
+
require_relative '../tsorter'
|
39
|
+
require_relative '../server'
|
40
40
|
end
|
41
41
|
|
42
42
|
def run
|
@@ -179,7 +179,7 @@ class Chef
|
|
179
179
|
|
180
180
|
def ec_key_import
|
181
181
|
@ec_key_import ||= begin
|
182
|
-
|
182
|
+
require_relative 'ec_key_import'
|
183
183
|
k = Chef::Knife::EcKeyImport.new
|
184
184
|
k.name_args = ["#{dest_dir}/key_dump.json", "#{dest_dir}/key_table_dump.json"]
|
185
185
|
k.config[:skip_pivotal] = true
|
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.4.
|
4
|
+
version: 2.4.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: 2019-
|
11
|
+
date: 2019-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: knife-tidy
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
description: Backup and Restore of Enterprise Chef
|
70
84
|
email: jkeiser@chef.io
|
71
85
|
executables: []
|