-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix support for 'puppet generate types' (#41)
This works around SERVER-94 issues Puppet < 4.10.4 does not properly process the 'puppet generate types' supporting composite namevars. Closes #40
- Loading branch information
1 parent
b6268b3
commit da5fe25
Showing
7 changed files
with
50 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,36 @@ | ||
language: ruby | ||
dist: precise | ||
sudo: required | ||
rvm: | ||
- 2.1.9 | ||
- 2.3.1 | ||
# Ruby with Puppet 5 | ||
- 2.4.4 | ||
notifications: | ||
email: | ||
- [email protected] | ||
env: | ||
# Most common LTS Puppet Version | ||
- PUPPET=4.7 RUBY_AUGEAS=0.5 FORGE_PUBLISH=true | ||
# Current LTS Puppet Version | ||
- PUPPET=4.10 RUBY_AUGEAS=0.5 | ||
# base env | ||
# Test Puppet 4 | ||
- PUPPET=4.0 RUBY_AUGEAS=0.5 | ||
# Test Oldest Puppet, Inc. supported Puppet | ||
- PUPPET=4.10.4 RUBY_AUGEAS=0.5 FORGE_PUBLISH=true | ||
# Test latest Puppet version | ||
- PUPPET=5.5 RUBY_AUGEAS=0.5 | ||
|
||
matrix: | ||
fast_finish: true | ||
exclude: | ||
# base exclude | ||
# No support for Ruby 2.1.9 in Puppet 5 | ||
- rvm: 2.1.9 | ||
env: PUPPET=5.5 RUBY_AUGEAS=0.5 | ||
|
||
install: | ||
- "travis_retry ./.travis.sh" | ||
|
||
script: | ||
- AUGEAS_LENS_LIB=lib/augeas/lenses:augeas/lenses bundle exec rake | ||
# Do not include the augeas/ directory in the deployed module | ||
- rm -rf augeas/ | ||
|
||
deploy: | ||
provider: puppetforge | ||
user: herculesteam | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,14 +26,14 @@ | |
|
||
newproperty(:value, :array_matching => :all) do | ||
desc "Value to change the setting to. The follow parameters take an array of values: | ||
- MACs; | ||
- AcceptEnv; | ||
- AllowGroups; | ||
- AllowUsers; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
trevor-vaughan
Author
Contributor
|
||
- DenyGroups; | ||
- DenyUsers. | ||
All other parameters take a string. When passing an array to other parameters, only the first value in the array will be considered." | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Don't Ciphers and KexAlgorithms also take arrays?