deploy_rubygem 0.60.36 → 0.60.38
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
- checksums.yaml.gz.sig +3 -4
- data/exe/deploy_rubygem +2 -1
- data/lib/deploy_rubygem/project.rb +1 -0
- data/lib/deploy_rubygem/rake/default.rb +12 -3
- data/lib/deploy_rubygem/version.rb +1 -1
- data/lib/deploy_rubygem.rb +5 -1
- data.tar.gz.sig +0 -0
- metadata +72 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cccd7569728b2b9ede4301d183546ec24ad39089db0f6daeb6c390980c7786d
|
|
4
|
+
data.tar.gz: e32b2f6201da5e78cefea517f50264aaf5ab557218274707146dd8d83873f5e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9a9e21f0124eb9ec5019d487ebf1c675c3005b9ab0f150d32f3ef4ad25e3fff7d0da2eed84f887e8d1f09f0e0542c60d6d7cfc659df5fedc6809792627c5ef3
|
|
7
|
+
data.tar.gz: 5e08d462a9f2f1f8165942814d9781e68d715ed1e3141b90d24bf9e73dbb06084e9da6ad50646842ba00c6406397f655677ee4cc1be5efaa4a4c65053297bb0d
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
���v�����G����h������{\�!����]��Z�����Wq�.vr��~��E���� �j�I9z
|
|
1
|
+
�r��k;}�0��]K�`%�*�z
|
|
2
|
+
�u{�s�����17Śy[���<��]�5�����
|
|
3
|
+
��
|
data/exe/deploy_rubygem
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
require 'deploy_rubygem'
|
|
4
4
|
|
|
5
|
+
abort DeployRubygem.deployer.no_option_txt if ARGV.empty?
|
|
5
6
|
case ARGV[0]
|
|
6
7
|
when 'install'
|
|
7
8
|
DeployRubygem.deployer.install_chef_workstation
|
|
8
9
|
when 'bootstrap_chef_workstation'
|
|
9
10
|
DeployRubygem.deployer.bootstrap_chef_workstation(ARGV[0])
|
|
10
11
|
else
|
|
11
|
-
puts DeployRubygem.deployer.
|
|
12
|
+
puts DeployRubygem.deployer.unknown_option_txt(ARGV[0])
|
|
12
13
|
end
|
|
@@ -31,10 +31,19 @@ module DeployRubygem
|
|
|
31
31
|
default
|
|
32
32
|
cycle
|
|
33
33
|
test_version
|
|
34
|
-
|
|
34
|
+
check_local
|
|
35
35
|
compliance
|
|
36
36
|
develop
|
|
37
37
|
push
|
|
38
|
+
chef_install
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def chef_install # :nodoc:
|
|
42
|
+
desc "@desc with #{__method__}"
|
|
43
|
+
task :install_chef_workstation do
|
|
44
|
+
extend DeployRubygem
|
|
45
|
+
install_chef_workstation
|
|
46
|
+
end
|
|
38
47
|
end
|
|
39
48
|
|
|
40
49
|
def test_framework # :nodoc:
|
|
@@ -57,14 +66,14 @@ module DeployRubygem
|
|
|
57
66
|
task test_version: %i[install compliance]
|
|
58
67
|
end
|
|
59
68
|
|
|
60
|
-
def
|
|
69
|
+
def check_local # :nodoc:
|
|
61
70
|
desc "@desc with #{__method__}"
|
|
62
71
|
task check_local: %i[rubocop spec]
|
|
63
72
|
end
|
|
64
73
|
|
|
65
74
|
def compliance # :nodoc:
|
|
66
75
|
desc "@desc with #{__method__}"
|
|
67
|
-
task :
|
|
76
|
+
task compliance: :install_chef_workstation do
|
|
68
77
|
system('inspec exec compliance')
|
|
69
78
|
end
|
|
70
79
|
end
|
data/lib/deploy_rubygem.rb
CHANGED
|
@@ -11,6 +11,10 @@ module DeployRubygem
|
|
|
11
11
|
'Use "deploy_rubygem install" to install Chef dependencies'
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
def unknown_option_txt(options)
|
|
15
|
+
"#{no_option_txt}\nUnknown options #{options}"
|
|
16
|
+
end
|
|
17
|
+
|
|
14
18
|
def rubygem_test
|
|
15
19
|
DeployRubygem.deployer
|
|
16
20
|
end
|
|
@@ -70,7 +74,7 @@ module DeployRubygem
|
|
|
70
74
|
workstation_options = JSON.parse(File.read(option_file))
|
|
71
75
|
|
|
72
76
|
if workstation_options['user_folder'] == '/root'
|
|
73
|
-
DeployRubygem::
|
|
77
|
+
DeployRubygem::ChefAdmin.new(workstation_options).boostrap
|
|
74
78
|
else
|
|
75
79
|
DeployRubygem::Workstation.new(workstation_options).boostrap_workstation
|
|
76
80
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: deploy_rubygem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.60.
|
|
4
|
+
version: 0.60.38
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jimmy Provencher
|
|
@@ -34,7 +34,77 @@ cert_chain:
|
|
|
34
34
|
3M1sBFUHvqrBg2hQkQcLHokmQYrYsRK5A7HrxwKcmwM=
|
|
35
35
|
-----END CERTIFICATE-----
|
|
36
36
|
date: 2024-06-17 00:00:00.000000000 Z
|
|
37
|
-
dependencies:
|
|
37
|
+
dependencies:
|
|
38
|
+
- !ruby/object:Gem::Dependency
|
|
39
|
+
name: rspec
|
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
|
41
|
+
requirements:
|
|
42
|
+
- - ">="
|
|
43
|
+
- !ruby/object:Gem::Version
|
|
44
|
+
version: '0'
|
|
45
|
+
type: :runtime
|
|
46
|
+
prerelease: false
|
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
48
|
+
requirements:
|
|
49
|
+
- - ">="
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: '0'
|
|
52
|
+
- !ruby/object:Gem::Dependency
|
|
53
|
+
name: rspec-core
|
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
- - ">="
|
|
57
|
+
- !ruby/object:Gem::Version
|
|
58
|
+
version: '0'
|
|
59
|
+
type: :runtime
|
|
60
|
+
prerelease: false
|
|
61
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
62
|
+
requirements:
|
|
63
|
+
- - ">="
|
|
64
|
+
- !ruby/object:Gem::Version
|
|
65
|
+
version: '0'
|
|
66
|
+
- !ruby/object:Gem::Dependency
|
|
67
|
+
name: rspec-support
|
|
68
|
+
requirement: !ruby/object:Gem::Requirement
|
|
69
|
+
requirements:
|
|
70
|
+
- - ">="
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: '0'
|
|
73
|
+
type: :runtime
|
|
74
|
+
prerelease: false
|
|
75
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
76
|
+
requirements:
|
|
77
|
+
- - ">="
|
|
78
|
+
- !ruby/object:Gem::Version
|
|
79
|
+
version: '0'
|
|
80
|
+
- !ruby/object:Gem::Dependency
|
|
81
|
+
name: rubocop-rake
|
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
|
83
|
+
requirements:
|
|
84
|
+
- - ">="
|
|
85
|
+
- !ruby/object:Gem::Version
|
|
86
|
+
version: '0'
|
|
87
|
+
type: :runtime
|
|
88
|
+
prerelease: false
|
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
90
|
+
requirements:
|
|
91
|
+
- - ">="
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '0'
|
|
94
|
+
- !ruby/object:Gem::Dependency
|
|
95
|
+
name: rubocop-rspec
|
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
|
97
|
+
requirements:
|
|
98
|
+
- - ">="
|
|
99
|
+
- !ruby/object:Gem::Version
|
|
100
|
+
version: '0'
|
|
101
|
+
type: :runtime
|
|
102
|
+
prerelease: false
|
|
103
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
104
|
+
requirements:
|
|
105
|
+
- - ">="
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: '0'
|
|
38
108
|
description: Using Chef cookbook style and force any script using it to switch to
|
|
39
109
|
chef even if it is not install. It will install it tho ;)
|
|
40
110
|
email:
|
metadata.gz.sig
CHANGED
|
Binary file
|