hiera-eyaml 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +24 -0
- data/.github/workflows/test.yml +31 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +25 -1
- data/Gemfile +3 -17
- data/README.md +83 -0
- data/hiera-eyaml.gemspec +2 -2
- data/lib/hiera/backend/eyaml.rb +1 -1
- data/lib/hiera/backend/eyaml/encryptor.rb +3 -4
- data/lib/hiera/backend/eyaml/parser/encrypted_tokens.rb +2 -6
- data/lib/hiera/backend/eyaml/subcommands/encrypt.rb +4 -4
- data/lib/hiera/backend/eyaml_backend.rb +1 -1
- metadata +10 -9
- data/.travis.yml +0 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67081f4016df05d739c387a5565632e3af0afa51367b505f3552b6c008a47c93
|
4
|
+
data.tar.gz: 573dfd56dc711d1b4722a67fc42a558c50eb38f43d56d3fccb79fe0d21d2a766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40e0c1fa73fe82f1b563580d0b4cdf26f402e1c9ee4d7c0b023ed9ad1941ced96f60dbb6e26fbefe3dce99a0b1c0e2816efbec09263b57c9ff5589d727353434
|
7
|
+
data.tar.gz: 86313762de24804bde617a78f865f3686e1d5ef0f011b4e5e786f0ec7401c9caac0702fb67ca332ab107b6f81dc0c674bea9ff268bab7f985c582a8ad21c0ad9
|
@@ -0,0 +1,24 @@
|
|
1
|
+
name: Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
create:
|
5
|
+
ref_type: tag
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
release:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
if: github.repository == 'voxpupuli/hiera-eyaml'
|
11
|
+
env:
|
12
|
+
BUNDLE_WITHOUT: release
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v2
|
15
|
+
- name: Install Ruby 2.7
|
16
|
+
uses: ruby/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
ruby-version: '2.7'
|
19
|
+
- name: Build gem
|
20
|
+
run: gem build *.gemspec
|
21
|
+
- name: Publish gem
|
22
|
+
run: gem push *.gem
|
23
|
+
env:
|
24
|
+
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on:
|
4
|
+
- pull_request
|
5
|
+
- push
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
test:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
strategy:
|
11
|
+
fail-fast: false
|
12
|
+
matrix:
|
13
|
+
ruby:
|
14
|
+
- "2.5"
|
15
|
+
- "2.6"
|
16
|
+
- "2.7"
|
17
|
+
env:
|
18
|
+
BUNDLE_WITHOUT: release
|
19
|
+
PUPPET_VERSION: "~> 6.0"
|
20
|
+
name: Ruby ${{ matrix.ruby }}
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
- name: Install expect
|
24
|
+
run: sudo apt-get install expect
|
25
|
+
- name: Install Ruby ${{ matrix.ruby }}
|
26
|
+
uses: ruby/setup-ruby@v1
|
27
|
+
with:
|
28
|
+
ruby-version: ${{ matrix.ruby }}
|
29
|
+
bundler-cache: true
|
30
|
+
- name: Run tests
|
31
|
+
run: bundle exec cucumber -f progress
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,28 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
## [v3.2.
|
5
|
+
## [v3.2.1](https://github.com/voxpupuli/hiera-eyaml/tree/v3.2.1) (2021-02-16)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/hiera-eyaml/compare/v3.2.0...v3.2.1)
|
8
|
+
|
9
|
+
**Fixed bugs:**
|
10
|
+
|
11
|
+
- remove question mark from regex in encrypted? method [\#313](https://github.com/voxpupuli/hiera-eyaml/pull/313) ([mcka1n](https://github.com/mcka1n))
|
12
|
+
- Fix block folding [\#307](https://github.com/voxpupuli/hiera-eyaml/pull/307) ([kenyon](https://github.com/kenyon))
|
13
|
+
- add step-by-step how-to encrypting multiline values [\#304](https://github.com/voxpupuli/hiera-eyaml/pull/304) ([kBite](https://github.com/kBite))
|
14
|
+
|
15
|
+
**Closed issues:**
|
16
|
+
|
17
|
+
- eyaml edit should produce evenly folded blocks. [\#281](https://github.com/voxpupuli/hiera-eyaml/issues/281)
|
18
|
+
- Support version 4 hiera config [\#213](https://github.com/voxpupuli/hiera-eyaml/issues/213)
|
19
|
+
|
20
|
+
**Merged pull requests:**
|
21
|
+
|
22
|
+
- migrate CI to github actions [\#315](https://github.com/voxpupuli/hiera-eyaml/pull/315) ([bastelfreak](https://github.com/bastelfreak))
|
23
|
+
- gemspec: fix repo url / Drop Puppet 4/5 tests [\#311](https://github.com/voxpupuli/hiera-eyaml/pull/311) ([bastelfreak](https://github.com/bastelfreak))
|
24
|
+
- Unpin highline [\#310](https://github.com/voxpupuli/hiera-eyaml/pull/310) ([lucywyman](https://github.com/lucywyman))
|
25
|
+
|
26
|
+
## [v3.2.0](https://github.com/voxpupuli/hiera-eyaml/tree/v3.2.0) (2020-01-31)
|
6
27
|
|
7
28
|
[Full Changelog](https://github.com/voxpupuli/hiera-eyaml/compare/v3.1.1...v3.2.0)
|
8
29
|
|
@@ -122,7 +143,10 @@ This is the first release after this project was migrated to Vox Pupuli.
|
|
122
143
|
- \(docs\) Update README with instructions for using Hiera 5 [\#229](https://github.com/voxpupuli/hiera-eyaml/pull/229) ([nfagerlund](https://github.com/nfagerlund))
|
123
144
|
- Attempt to resolve Travis CI issues [\#220](https://github.com/voxpupuli/hiera-eyaml/pull/220) ([rnelson0](https://github.com/rnelson0))
|
124
145
|
- Make it clear that the ID and parens must be deleted, not just the ID [\#188](https://github.com/voxpupuli/hiera-eyaml/pull/188) ([sdotz](https://github.com/sdotz))
|
146
|
+
- Refactor highline import [\#187](https://github.com/voxpupuli/hiera-eyaml/pull/187) ([petems](https://github.com/petems))
|
147
|
+
- Adding hiera-eyaml-kms plugin to readme file [\#184](https://github.com/voxpupuli/hiera-eyaml/pull/184) ([adenot](https://github.com/adenot))
|
125
148
|
- Make output of `eyaml decrypt` valid yaml with multiline values. [\#183](https://github.com/voxpupuli/hiera-eyaml/pull/183) ([peculater](https://github.com/peculater))
|
149
|
+
- Add testing support for puppet 4 [\#181](https://github.com/voxpupuli/hiera-eyaml/pull/181) ([peculater](https://github.com/peculater))
|
126
150
|
|
127
151
|
## v2.1.0 (2016-03-02)
|
128
152
|
|
data/Gemfile
CHANGED
@@ -2,28 +2,14 @@ source 'https://rubygems.org/'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
def default_puppet_restriction
|
6
|
-
# Puppet 6 should be the default for Ruby 2.5+
|
7
|
-
# Puppet 5 should be the defualt for Ruby 2.4
|
8
|
-
Gem::Requirement.create('>= 2.5.0').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) ? '~> 6.0' : '~> 5.0'
|
9
|
-
end
|
10
|
-
|
11
|
-
def activesupport_restriction
|
12
|
-
# Active Support 6.x requires ruby 2.5.0+
|
13
|
-
Gem::Requirement.create('>= 2.5.0').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) ? '~> 6.0' : '~> 5.0'
|
14
|
-
end
|
15
|
-
|
16
5
|
group :development do
|
17
6
|
gem "aruba", '~> 0.6.2'
|
18
7
|
gem "cucumber", '~> 1.1'
|
19
8
|
gem "rspec-expectations", '~> 3.1.0'
|
20
9
|
gem "hiera-eyaml-plaintext"
|
21
|
-
gem "puppet", ENV['PUPPET_VERSION'] ||
|
22
|
-
gem '
|
23
|
-
|
24
|
-
gem 'github_changelog_generator', :require => false, :git => 'https://github.com/voxpupuli/github-changelog-generator', :branch => 'voxpupuli_essential_fixes'
|
25
|
-
gem "activesupport", activesupport_restriction
|
26
|
-
end
|
10
|
+
gem "puppet", ENV['PUPPET_VERSION'] || '>= 7'
|
11
|
+
gem 'github_changelog_generator', :require => false, :git => 'https://github.com/voxpupuli/github-changelog-generator', :branch => 'voxpupuli_essential_fixes'
|
12
|
+
gem "activesupport"
|
27
13
|
end
|
28
14
|
|
29
15
|
group :test do
|
data/README.md
CHANGED
@@ -187,6 +187,89 @@ file just like any other eyaml string and your done. If the file is rather
|
|
187
187
|
large, you may wish to use a helper like `xclip` to copy the stdout directly to
|
188
188
|
your clipboard.
|
189
189
|
|
190
|
+
### Encrypting multiline values
|
191
|
+
|
192
|
+
The following step-by-step example shows you how to encrypt multiline values.
|
193
|
+
|
194
|
+
- Copy the YAML text below to a file named `multiline_example.eyaml`
|
195
|
+
```
|
196
|
+
---
|
197
|
+
accounts::key_sets:
|
198
|
+
dummy:
|
199
|
+
private: |
|
200
|
+
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
201
|
+
Comment: "dummy-key-hiera-eyaml-issue-rsa-key-20200911"
|
202
|
+
P2/56wAAANwAAAA3aWYtbW9kbntzaWdue3JzYS1wa2NzMS1zaGExfSxlbmNyeXB0e3JzYS
|
203
|
+
1wa2NzMXYyLW9hZXB9fQAAAARub25lAAAAjQAAAIkAAAAGJQAAAP93ZtrMIRZutZ/SZUyw
|
204
|
+
JWwyI4YxNvr5tBt9UnSJ7K0+rQAAAQDohO1ykUahsogS+ymM6o9WEmdROJZpWShCqdv8Dj
|
205
|
+
2roQAAAIDG1G8hY90Xlz/YiFhDZLLWAAAAgOzMWTfAlHbJ4AdEhG5uU/EAAACA+1/AlcSr
|
206
|
+
QEPM5xLW0unCsQ==
|
207
|
+
---- END SSH2 ENCRYPTED PRIVATE KEY ----
|
208
|
+
```
|
209
|
+
|
210
|
+
- Use `edit` to ...
|
211
|
+
- replace '|' with '>',
|
212
|
+
- prepend `DEC::PKCS7[` before the first line,
|
213
|
+
- remove all whitespaces used for indentation,
|
214
|
+
- and append `]!` to the last line of the multiline value.
|
215
|
+
|
216
|
+
`eyaml edit multiline_example.eyaml`
|
217
|
+
```
|
218
|
+
---
|
219
|
+
accounts::key_sets:
|
220
|
+
dummy:
|
221
|
+
private: >
|
222
|
+
DEC::PKCS7[---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
223
|
+
Comment: "dummy-key-hiera-eyaml-issue-rsa-key-20170123"
|
224
|
+
P2/56wAAANwAAAA3aWYtbW9kbntzaWdue3JzYS1wa2NzMS1zaGExfSxlbmNyeXB0e3JzYS
|
225
|
+
1wa2NzMXYyLW9hZXB9fQAAAARub25lAAAAjQAAAIkAAAAGJQAAAP93ZtrMIRZutZ/SZUyw
|
226
|
+
JWwyI4YxNvr5tBt9UnSJ7K0+rQAAAQDohO1ykUahsogS+ymM6o9WEmdROJZpWShCqdv8Dj
|
227
|
+
2roQAAAIDG1G8hY90Xlz/YiFhDZLLWAAAAgOzMWTfAlHbJ4AdEhG5uU/EAAACA+1/AlcSr
|
228
|
+
QEPM5xLW0unCsQ==
|
229
|
+
---- END SSH2 ENCRYPTED PRIVATE KEY ----]!
|
230
|
+
```
|
231
|
+
```
|
232
|
+
# resulting encrypted file
|
233
|
+
---
|
234
|
+
accounts::key_sets:
|
235
|
+
dummy:
|
236
|
+
private: >
|
237
|
+
ENC[PKCS7,MIIDTQYJKoZIhvcNAQcDoIIDPjCCAzoCAQAxggEhMIIBHQIBADAFMAACAQEw
|
238
|
+
DQYJKoZIhvcNAQEBBQAEggEAXH7xB1xuzoMAqA/3jSXO0ZUR6+UCb3DsTTj3
|
239
|
+
Lsrcx5oQBnJ/ml7GfBCPxBKfArZunLcnxmSk4hECKXdfgKsVjAa++JQWvtEm
|
240
|
+
HUNTFqvwd76Ku+nMfI9c8g+X+l6obLjzWfJdg3t6Ja7CJKl8UNFtSmbfYKVi
|
241
|
+
nZ0xBubgdY4plLAFcZyD5/A/lNFqwb051TRLbZOIRRfLUlRL7RNkKRC59Aog
|
242
|
+
S5aJXjmqx6vRzFifNK0JFZvYHGD75TiHJ5LFjg4rjgFd43AnK8iNo773ZWP2
|
243
|
+
48Gly5Zx7qVQDCDDi1YBgNFb0NIBQw+kWy7HcPH2REvPnXu/HV2FWvDP3Ond
|
244
|
+
yr2EbTCCAg4GCSqGSIb3DQEHATAdBglghkgBZQMEASoEEH+CjZJ1gKfaQIrr
|
245
|
+
N5zef7OAggHgBmRVsfaoiNEOzhmHZ5SxxZztmpBNtLv7mteaSqSL5o0TtKQh
|
246
|
+
SDgxBhaQmlL51+JM1Jsnvqm57ikZhj7Vtek/vr5DhYhWs0AxttH5rNaw0zKU
|
247
|
+
4bMppVu+SNKCtT+2Qw31x/S7gF7yVl+mwmXhq3qAj9ExWRX3d/8/zTuC61Io
|
248
|
+
f+7O6YUOucZ/m/YPrQnC5v7bDSKlIf1aFaKqukjM3QO8FZlAOHGPvRuWV2Om
|
249
|
+
QIgxQE6F8r+bTkW3KiVIx5FEIthRZ90VS3tz/2wjj77svddBhlid9ov/0ard
|
250
|
+
GGVNGsl1BFpLqxC0mpZXz237cL/aM58naqmX52J6YmC0xQM3DNmahWlYx1HV
|
251
|
+
J/Ogk12pOYPLJB/09OuoHPzKC4WfpB9B7wAC6pghRkO/84cOw6rgSdbzze5W
|
252
|
+
WMPvo181Y74BSBKhJDdO3lWYmEcDyx4TEsMUlpxd9PBDcOHqf9qHviXrwGzO
|
253
|
+
oSm2bUV0Fum5ueU+D2vu3mO0yIQ6fwyvDZLBRjfJV7K/PyDz81feWT6+g38t
|
254
|
+
AC27c0h8wk9b7HYfqG28nZE7F13qrhwCKnOaYLglsmbszNpRrBhfo1IHF6oM
|
255
|
+
YZRZrnrGQg5qQcxMsLq37RAfRgkY0rRLs78EEAhkf4NDxw0A/ovt]
|
256
|
+
```
|
257
|
+
- Output of `eyaml decrypt -f multiline_example.eyaml`:
|
258
|
+
```
|
259
|
+
---
|
260
|
+
accounts::key_sets:
|
261
|
+
dummy:
|
262
|
+
private: |
|
263
|
+
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
264
|
+
Comment: "dummy-key-hiera-eyaml-issue-rsa-key-20200911"
|
265
|
+
P2/56wAAANwAAAA3aWYtbW9kbntzaWdue3JzYS1wa2NzMS1zaGExfSxlbmNyeXB0e3JzYS
|
266
|
+
1wa2NzMXYyLW9hZXB9fQAAAARub25lAAAAjQAAAIkAAAAGJQAAAP93ZtrMIRZutZ/SZUyw
|
267
|
+
JWwyI4YxNvr5tBt9UnSJ7K0+rQAAAQDohO1ykUahsogS+ymM6o9WEmdROJZpWShCqdv8Dj
|
268
|
+
2roQAAAIDG1G8hY90Xlz/YiFhDZLLWAAAAgOzMWTfAlHbJ4AdEhG5uU/EAAACA+1/AlcSr
|
269
|
+
QEPM5xLW0unCsQ==
|
270
|
+
---- END SSH2 ENCRYPTED PRIVATE KEY ----
|
271
|
+
```
|
272
|
+
- The output *does NOT* have to be valid YAML for usage with Puppet.
|
190
273
|
|
191
274
|
Hiera
|
192
275
|
-----
|
data/hiera-eyaml.gemspec
CHANGED
@@ -11,12 +11,12 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.author = "Tom Poulton"
|
12
12
|
gem.license = "MIT"
|
13
13
|
|
14
|
-
gem.homepage = "
|
14
|
+
gem.homepage = "https://github.com/voxpupuli/hiera-eyaml/"
|
15
15
|
gem.files = `git ls-files`.split($/).reject { |file| file =~ /^features.*$/ }
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
20
|
gem.add_dependency('optimist')
|
21
|
-
gem.add_dependency('highline'
|
21
|
+
gem.add_dependency('highline')
|
22
22
|
end
|
data/lib/hiera/backend/eyaml.rb
CHANGED
@@ -14,7 +14,7 @@ class Hiera
|
|
14
14
|
|
15
15
|
def self.find encryption_scheme = nil
|
16
16
|
encryption_scheme = Eyaml.default_encryption_scheme if encryption_scheme.nil?
|
17
|
-
require "hiera/backend/eyaml/encryptors/#{File.basename encryption_scheme.downcase}"
|
17
|
+
require "hiera/backend/eyaml/encryptors/#{File.basename encryption_scheme.downcase}"
|
18
18
|
encryptor_module = Module.const_get('Hiera').const_get('Backend').const_get('Eyaml').const_get('Encryptors')
|
19
19
|
encryptor_class = Utils.find_closest_class :parent_class => encryptor_module, :class_name => encryption_scheme
|
20
20
|
raise StandardError, "Could not find hiera-eyaml encryptor: #{encryption_scheme}. Try gem install hiera-eyaml-#{encryption_scheme.downcase} ?" if encryptor_class.nil?
|
@@ -22,14 +22,14 @@ class Hiera
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def self.encode binary_string
|
25
|
-
Base64.
|
25
|
+
Base64.strict_encode64(binary_string)
|
26
26
|
end
|
27
27
|
|
28
28
|
def self.decode string
|
29
29
|
Base64.decode64(string)
|
30
30
|
end
|
31
31
|
|
32
|
-
def self.encrypt *args
|
32
|
+
def self.encrypt *args
|
33
33
|
raise StandardError, "encrypt() not defined for encryptor plugin: #{self}"
|
34
34
|
end
|
35
35
|
|
@@ -80,4 +80,3 @@ class Hiera
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
end
|
83
|
-
|
@@ -59,16 +59,12 @@ class Hiera
|
|
59
59
|
encryption_method = args[:change_encryption]
|
60
60
|
if encryption_method != nil
|
61
61
|
@encryptor = Encryptor.find encryption_method
|
62
|
-
@cipher = Base64.
|
62
|
+
@cipher = Base64.strict_encode64(@encryptor.encrypt(@plain_text))
|
63
63
|
end
|
64
64
|
case format
|
65
65
|
when :block
|
66
|
-
# strip any white space
|
67
|
-
@cipher = @cipher.gsub(/[ \t]/, "")
|
68
|
-
# normalize indentation
|
69
|
-
ciphertext = @cipher.gsub(/[\n\r]/, "\n" + @indentation)
|
70
66
|
chevron = (args[:use_chevron].nil? || args[:use_chevron]) ? ">\n" : ''
|
71
|
-
"#{label_string}#{chevron}" + @indentation + "ENC[#{@encryptor.tag},#{
|
67
|
+
"#{label_string}#{chevron}" + @indentation + "ENC[#{@encryptor.tag},#{@cipher}]".scan(/.{1,60}/).join("\n" + @indentation)
|
72
68
|
when :string
|
73
69
|
ciphertext = @cipher.gsub(/[\n\r]/, "")
|
74
70
|
"#{label_string}ENC[#{@encryptor.tag},#{ciphertext}]"
|
@@ -11,12 +11,12 @@ class Hiera
|
|
11
11
|
class Encrypt < Subcommand
|
12
12
|
|
13
13
|
def self.options
|
14
|
-
[{:name => :password,
|
15
|
-
:description => "Source input is a password entered on the terminal",
|
14
|
+
[{:name => :password,
|
15
|
+
:description => "Source input is a password entered on the terminal",
|
16
16
|
:short => 'p'},
|
17
17
|
{:name => :string,
|
18
18
|
:description => "Source input is a string provided as an argument",
|
19
|
-
:short => 's',
|
19
|
+
:short => 's',
|
20
20
|
:type => :string},
|
21
21
|
{:name => :file,
|
22
22
|
:description => "Source input is a regular file",
|
@@ -78,7 +78,7 @@ class Hiera
|
|
78
78
|
else
|
79
79
|
encryptor = Encryptor.find
|
80
80
|
ciphertext = encryptor.encode( encryptor.encrypt(Eyaml::Options[:input_data]) )
|
81
|
-
token = Parser::EncToken.new(:block, Eyaml::Options[:input_data], encryptor, ciphertext, nil, '
|
81
|
+
token = Parser::EncToken.new(:block, Eyaml::Options[:input_data], encryptor, ciphertext, nil, ' ')
|
82
82
|
case Eyaml::Options[:output]
|
83
83
|
when "block"
|
84
84
|
token.to_encrypted :label => Eyaml::Options[:label], :use_chevron => !Eyaml::Options[:label].nil?, :format => :block
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiera-eyaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Poulton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: optimist
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: highline
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
description: Hiera backend for decrypting encrypted yaml properties
|
42
42
|
email:
|
43
43
|
executables:
|
@@ -45,8 +45,9 @@ executables:
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
+
- ".github/workflows/release.yml"
|
49
|
+
- ".github/workflows/test.yml"
|
48
50
|
- ".gitignore"
|
49
|
-
- ".travis.yml"
|
50
51
|
- CHANGELOG.md
|
51
52
|
- Gemfile
|
52
53
|
- HISTORY.md
|
@@ -86,7 +87,7 @@ files:
|
|
86
87
|
- sublime_text/eyaml.syntax_definition.json
|
87
88
|
- tools/git_tag_release.rb
|
88
89
|
- tools/regem.sh
|
89
|
-
homepage:
|
90
|
+
homepage: https://github.com/voxpupuli/hiera-eyaml/
|
90
91
|
licenses:
|
91
92
|
- MIT
|
92
93
|
metadata: {}
|
@@ -105,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
106
|
- !ruby/object:Gem::Version
|
106
107
|
version: '0'
|
107
108
|
requirements: []
|
108
|
-
rubygems_version: 3.1.
|
109
|
+
rubygems_version: 3.1.4
|
109
110
|
signing_key:
|
110
111
|
specification_version: 4
|
111
112
|
summary: OpenSSL Encryption backend for Hiera
|
data/.travis.yml
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
---
|
2
|
-
dist: trusty
|
3
|
-
language: ruby
|
4
|
-
cache: bundler
|
5
|
-
sudo: false
|
6
|
-
before_install:
|
7
|
-
- bundle -v
|
8
|
-
- rm Gemfile.lock || true
|
9
|
-
- gem update --system $RUBYGEMS_VERSION
|
10
|
-
- gem update bundler
|
11
|
-
- gem --version
|
12
|
-
- bundle -v
|
13
|
-
addons:
|
14
|
-
apt:
|
15
|
-
packages:
|
16
|
-
- expect
|
17
|
-
script:
|
18
|
-
bundle exec cucumber -f progress
|
19
|
-
matrix:
|
20
|
-
include:
|
21
|
-
- rvm: 2.1.9
|
22
|
-
env: PUPPET_VERSION="~> 4.0" RUBYGEMS_VERSION=2.7.8
|
23
|
-
- rvm: 2.4.2
|
24
|
-
env: PUPPET_VERSION="~> 5.0"
|
25
|
-
- rvm: 2.5.7
|
26
|
-
env: PUPPET_VERSION="~> 6.0"
|
27
|
-
notifications:
|
28
|
-
email: false
|
29
|
-
irc:
|
30
|
-
on_success: always
|
31
|
-
on_failure: always
|
32
|
-
channels:
|
33
|
-
- "chat.freenode.org#voxpupuli-notifications"
|
34
|
-
branches:
|
35
|
-
only:
|
36
|
-
- master
|
37
|
-
- /^v\d/
|
38
|
-
deploy:
|
39
|
-
provider: rubygems
|
40
|
-
api_key:
|
41
|
-
secure: 'W6a8A3KfxNydnbK4qhpL4S4KBUnadw8eGr1s8vqeOc8gXlc/qkj/DET9jWpgaEsdnEN/ALJL0WEksYJCHDpdeJv1qKaidFg5dC5l+qZ5gdVHRoKKVFkVlt8WDHe5UdP+bI2vUHWQ/1c04P92+jU9SJ0afTU1xUFn4d3AWCgwmdk='
|
42
|
-
gem: hiera-eyaml
|
43
|
-
on:
|
44
|
-
tags: true
|
45
|
-
repo: voxpupuli/hiera-eyaml
|