deploy-chef-config 0.0.0.1.ENOTAG
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 +7 -0
- checksums.yaml.gz.sig +0 -0
- data/.gitignore +56 -0
- data/Gemfile +3 -0
- data/LICENSE +21 -0
- data/README.md +2 -0
- data/Rakefile +30 -0
- data/bin/deploy-chef-config +2 -0
- data/deploy-chef-config.gemspec +69 -0
- data/lib/deploy-chef-config/context/binary.rb +7 -0
- data/lib/deploy-chef-config.rb +18 -0
- data.tar.gz.sig +0 -0
- metadata +129 -0
- metadata.gz.sig +2 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 13fbfb0f86ea0d77052d2da62ba964ba32571fca8cf64da163b5701ee90ab543
|
4
|
+
data.tar.gz: 4163effe0313969c77a3e7fca92f79ff08140aa1993c2c1086863ce52b39b68b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a63e9c1af59a7fd5cac193a43dd13dcbea18d16326b21a47ae35813263a938e8b19801cd4e2a3b1e4a9ca570fb7cc5df4f02ff313be936668071d13e9a297f24
|
7
|
+
data.tar.gz: 137baa14869e4e1a7371e6304dffa7e1b32301001dd4143ea77661ee22d7ffa7486f6a823edeee3fe0caeed7dd21c9ff796875c2f65596a920a904bda9de5da8
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/.gitignore
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/spec/examples.txt
|
9
|
+
/test/tmp/
|
10
|
+
/test/version_tmp/
|
11
|
+
/tmp/
|
12
|
+
|
13
|
+
# Used by dotenv library to load environment variables.
|
14
|
+
# .env
|
15
|
+
|
16
|
+
# Ignore Byebug command history file.
|
17
|
+
.byebug_history
|
18
|
+
|
19
|
+
## Specific to RubyMotion:
|
20
|
+
.dat*
|
21
|
+
.repl_history
|
22
|
+
build/
|
23
|
+
*.bridgesupport
|
24
|
+
build-iPhoneOS/
|
25
|
+
build-iPhoneSimulator/
|
26
|
+
|
27
|
+
## Specific to RubyMotion (use of CocoaPods):
|
28
|
+
#
|
29
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
30
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
31
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
32
|
+
#
|
33
|
+
# vendor/Pods/
|
34
|
+
|
35
|
+
## Documentation cache and generated files:
|
36
|
+
/.yardoc/
|
37
|
+
/_yardoc/
|
38
|
+
/doc/
|
39
|
+
/rdoc/
|
40
|
+
|
41
|
+
## Environment normalization:
|
42
|
+
/.bundle/
|
43
|
+
/vendor/bundle
|
44
|
+
/lib/bundler/man/
|
45
|
+
|
46
|
+
# for a library or gem, you might want to ignore these files since the code is
|
47
|
+
# intended to run in multiple environments; otherwise, check them in:
|
48
|
+
# Gemfile.lock
|
49
|
+
# .ruby-version
|
50
|
+
# .ruby-gemset
|
51
|
+
|
52
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
53
|
+
.rvmrc
|
54
|
+
|
55
|
+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
56
|
+
# .rubocop-https?--*
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2023 JimboDragon
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
|
4
|
+
Bundler::GemHelper.install_tasks
|
5
|
+
|
6
|
+
require 'rdoc/task'
|
7
|
+
|
8
|
+
Rake::RDocTask.new do |rd|
|
9
|
+
rd.main = "README.md"
|
10
|
+
rd.title = 'deploy-context'
|
11
|
+
rd.rdoc_files.include("README.md", "lib/**/*.rb")
|
12
|
+
end
|
13
|
+
|
14
|
+
require 'git-version-bump/rake-tasks'
|
15
|
+
|
16
|
+
require_relative 'lib/deploy-chef-config'
|
17
|
+
|
18
|
+
deployer = Context::DeployChefConfig.deployer
|
19
|
+
|
20
|
+
task :default do
|
21
|
+
deployer.execute_action(deployer, 'once')
|
22
|
+
end
|
23
|
+
|
24
|
+
task :bump do
|
25
|
+
deployer.execute_action(deployer, 'bump')
|
26
|
+
end
|
27
|
+
|
28
|
+
task :test do
|
29
|
+
deployer.execute_action(deployer, 'test')
|
30
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
|
2
|
+
require 'git-version-bump'
|
3
|
+
|
4
|
+
::Gem::Specification.new do |s|
|
5
|
+
s.name = 'deploy-chef-config'
|
6
|
+
s.license = 'MIT'
|
7
|
+
s.authors = ['Jimmy Provencher']
|
8
|
+
s.email = ['jimbo_dragon@hotmail.com']
|
9
|
+
s.homepage = 'https://github.com/JimboDragonGit/deploy-chef-config'
|
10
|
+
s.summary = 'A auto chef bootstrapper and wrapper cookbook to deploy code and context'
|
11
|
+
s.description = 'Using Chef cookbook style and force any script using it to switch to chef even if it is not install. It will install it tho ;)'
|
12
|
+
|
13
|
+
|
14
|
+
s.version = GVB.version
|
15
|
+
s.date = GVB.date
|
16
|
+
|
17
|
+
# all_files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
18
|
+
# s.files = all_files.grep(%r!^(exe|libraries|rubocop)/|^.rubocop.yml$!)
|
19
|
+
# code_folder = 'libraries/'
|
20
|
+
# s.files = %w(README.md LICENSE bin/selfbootstrap libraries/selfbootstrap.rb ) + Dir.glob('libraries/**/*') # + Dir.glob('{bin,lib,certs,test}/**/*')
|
21
|
+
# s.require_paths = [code_folder]
|
22
|
+
# s.executables = %w(selfbootstrap)
|
23
|
+
# s.bindir = 'exe'
|
24
|
+
|
25
|
+
|
26
|
+
s.extra_rdoc_files = ["README.md"]
|
27
|
+
s.files = `git ls-files`.split("\n")
|
28
|
+
s.executables = [
|
29
|
+
'deploy-chef-config'
|
30
|
+
]
|
31
|
+
|
32
|
+
# s.cert_chain = [File.expand_path('../jimbodragon/certs/public/jimbodragon.pem')]
|
33
|
+
# s.signing_key = File.expand_path('../jimbodragon/certs/private/jimbodragon-gem-private_key.pem') if $PROGRAM_NAME =~ /gem\z/
|
34
|
+
|
35
|
+
s.metadata = {
|
36
|
+
# 'source_code_uri' => '/home/git/selfbootstrap.git/',
|
37
|
+
'bug_tracker_uri' => 'https://github.com/JimboDragonGit/deploy-chef-config/issues',
|
38
|
+
'changelog_uri' => 'https://github.com/JimboDragonGit/deploy-chef-config/releases',
|
39
|
+
'homepage_uri' => s.homepage,
|
40
|
+
}
|
41
|
+
|
42
|
+
s.rdoc_options = ['--charset=UTF-8']
|
43
|
+
s.extra_rdoc_files = %w(README.md LICENSE)
|
44
|
+
|
45
|
+
# s.required_ruby_version = '>= 2.5.0'
|
46
|
+
# s.required_rubygems_version = '>= 2.7.0'
|
47
|
+
|
48
|
+
s.add_development_dependency('chef')
|
49
|
+
s.add_development_dependency('test-kitchen')
|
50
|
+
|
51
|
+
s.add_runtime_dependency('deploy-context')
|
52
|
+
|
53
|
+
# s.add_runtime_dependency('colorator', '~> 1.0')
|
54
|
+
# s.add_runtime_dependency('em-websocket', '~> 0.5')
|
55
|
+
# s.add_runtime_dependency('i18n', '~> 1.0')
|
56
|
+
# s.add_runtime_dependency('jekyll-sass-converter', '>= 2.0', '< 4.0')
|
57
|
+
# s.add_runtime_dependency('jekyll-watch', '~> 2.0')
|
58
|
+
# s.add_runtime_dependency('kramdown', '~> 2.3', '>= 2.3.1')
|
59
|
+
# s.add_runtime_dependency('kramdown-parser-gfm', '~> 1.0')
|
60
|
+
# s.add_runtime_dependency('liquid', '~> 4.0')
|
61
|
+
# s.add_runtime_dependency('mercenary', '>= 0.3.6', '< 0.5')
|
62
|
+
# s.add_runtime_dependency('pathutil', '~> 0.9')
|
63
|
+
# s.add_runtime_dependency('rouge', '>= 3.0', '< 5.0')
|
64
|
+
# s.add_runtime_dependency('safe_yaml', '~> 1.0')
|
65
|
+
# s.add_runtime_dependency('terminal-table', '>= 1.8', '< 4.0')
|
66
|
+
# s.add_runtime_dependency('webrick', '~> 1.7')
|
67
|
+
end
|
68
|
+
|
69
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'deploy-context'
|
2
|
+
|
3
|
+
module Context
|
4
|
+
class DeployChefConfig < Deploy
|
5
|
+
include GitDeployerHelper
|
6
|
+
include RubyDeployerHelper
|
7
|
+
include CucumberDeployerHelper
|
8
|
+
|
9
|
+
def self.deployer
|
10
|
+
@deployer = Context::DeployChefConfig.new(Dir.pwd) if @deployer.nil?
|
11
|
+
@deployer
|
12
|
+
end
|
13
|
+
|
14
|
+
def initialize(deploycontext_folder)
|
15
|
+
super('deploy-chef-config', deploycontext_folder)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: deploy-chef-config
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0.1.ENOTAG
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jimmy Provencher
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFqaW1t
|
14
|
+
eS5wcm92ZW5jaGVyL0RDPWhvdG1haWwvREM9Y2EwHhcNMjIxMDE4MjExMjAwWhcN
|
15
|
+
MjMxMDE4MjExMjAwWjAsMSowKAYDVQQDDCFqaW1teS5wcm92ZW5jaGVyL0RDPWhv
|
16
|
+
dG1haWwvREM9Y2EwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCex0r1
|
17
|
+
ngWBVriaiIpaW08qeFeaCMqRlotYWvXA4M796ahhyE0HUAz8IfqXyZL9FU3lyOW2
|
18
|
+
AdtO8ISR0W1nwOn3hJj6KL+KDylHP0Ih3k7pI7NysaBxi3QlpWSVOw+DOJA2OsLm
|
19
|
+
W/a9ZTeRigHiLkq4ZGIYiJFw7LhZSC1onXkGXu7vjST0ZFGL75z7kg+7zVRdB8IB
|
20
|
+
LwfwU93VPlRdNSBu4D3te0A6jN+Gvh2zvAKqd5muxT2869R0AaSDDeXyn70CbQry
|
21
|
+
AgXwO62Zl0whs5SYKZT4SHTsKPPEvIaj9UXJ863/lvxUQaqvpl+w+I/JvWaB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|
+
-----END CERTIFICATE-----
|
38
|
+
date: 2023-10-03 00:00:00.000000000 Z
|
39
|
+
dependencies:
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: chef
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
type: :development
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: test-kitchen
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
type: :development
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: deploy-context
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
type: :runtime
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
description: Using Chef cookbook style and force any script using it to switch to
|
83
|
+
chef even if it is not install. It will install it tho ;)
|
84
|
+
email:
|
85
|
+
- jimbo_dragon@hotmail.com
|
86
|
+
executables:
|
87
|
+
- deploy-chef-config
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files:
|
90
|
+
- README.md
|
91
|
+
- LICENSE
|
92
|
+
files:
|
93
|
+
- ".gitignore"
|
94
|
+
- Gemfile
|
95
|
+
- LICENSE
|
96
|
+
- README.md
|
97
|
+
- Rakefile
|
98
|
+
- bin/deploy-chef-config
|
99
|
+
- deploy-chef-config.gemspec
|
100
|
+
- lib/deploy-chef-config.rb
|
101
|
+
- lib/deploy-chef-config/context/binary.rb
|
102
|
+
homepage: https://github.com/JimboDragonGit/deploy-chef-config
|
103
|
+
licenses:
|
104
|
+
- MIT
|
105
|
+
metadata:
|
106
|
+
bug_tracker_uri: https://github.com/JimboDragonGit/deploy-chef-config/issues
|
107
|
+
changelog_uri: https://github.com/JimboDragonGit/deploy-chef-config/releases
|
108
|
+
homepage_uri: https://github.com/JimboDragonGit/deploy-chef-config
|
109
|
+
post_install_message:
|
110
|
+
rdoc_options:
|
111
|
+
- "--charset=UTF-8"
|
112
|
+
require_paths:
|
113
|
+
- lib
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 1.3.1
|
124
|
+
requirements: []
|
125
|
+
rubygems_version: 3.2.32
|
126
|
+
signing_key:
|
127
|
+
specification_version: 4
|
128
|
+
summary: A auto chef bootstrapper and wrapper cookbook to deploy code and context
|
129
|
+
test_files: []
|
metadata.gz.sig
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
R;<dz���7�^Θ��^�f�<�Ka�D;�]�y�7��ປY<���b慺(1�-de%���S^녲��h����X!���周�[�p���Qf����!��TY��)�l�g������s�����풤-f UYw�'<�"Dz�g`u��`����_��L���4'wVmNtA�`p�{=���Ֆ�V�!�z�����lw��+����$���R^�;/���S���O�jb��w����"|�Q��w�pZO,�8)�`�ߛ.�s�cMc��ڄ��0��F1���T ,������\p\̾����I����\>�풢`&��0��|݃�Tܟ�2<�_.�X������Χ
|
2
|
+
�4����� n���p��;��A\
|