Merge pull request #140 from kbarber/maint/master/fix_travis_gem_versions
Fix versions for travis-ci
This commit is contained in:
commit
cb1a751fed
4 changed files with 18 additions and 10 deletions
22
.travis.yml
22
.travis.yml
|
@ -4,22 +4,30 @@ script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
|
|||
rvm:
|
||||
- 1.8.7
|
||||
- 1.9.3
|
||||
- 2.0.0
|
||||
- ruby-head
|
||||
env:
|
||||
- PUPPET_GEM_VERSION="~> 2.6"
|
||||
- PUPPET_GEM_VERSION="~> 2.7"
|
||||
- PUPPET_GEM_VERSION="~> 3.0"
|
||||
- PUPPET_GEM_VERSION="~> 2.6.0"
|
||||
- PUPPET_GEM_VERSION="~> 2.7.0"
|
||||
- PUPPET_GEM_VERSION="~> 3.0.0"
|
||||
- PUPPET_GEM_VERSION="~> 3.1.0"
|
||||
matrix:
|
||||
allow_failures:
|
||||
- rvm: 2.0.0
|
||||
- rvm: ruby-head
|
||||
- env: PUPPET_GEM_VERSION="~> 2.6.0"
|
||||
exclude:
|
||||
- rvm: 1.9.3
|
||||
env: PUPPET_GEM_VERSION="~> 2.7"
|
||||
env: PUPPET_GEM_VERSION="~> 2.7.0"
|
||||
- rvm: 2.0.0
|
||||
env: PUPPET_GEM_VERSION="~> 2.7.0"
|
||||
- rvm: ruby-head
|
||||
env: PUPPET_GEM_VERSION="~> 2.7"
|
||||
env: PUPPET_GEM_VERSION="~> 2.7.0"
|
||||
- rvm: 1.9.3
|
||||
env: PUPPET_GEM_VERSION="~> 2.6"
|
||||
env: PUPPET_GEM_VERSION="~> 2.6.0"
|
||||
- rvm: 2.0.0
|
||||
env: PUPPET_GEM_VERSION="~> 2.6.0"
|
||||
- rvm: ruby-head
|
||||
env: PUPPET_GEM_VERSION="~> 2.6"
|
||||
env: PUPPET_GEM_VERSION="~> 2.6.0"
|
||||
notifications:
|
||||
email: false
|
||||
|
|
2
Gemfile
2
Gemfile
|
@ -1,4 +1,4 @@
|
|||
source :rubygems
|
||||
source 'https://rubygems.org'
|
||||
|
||||
group :development, :test do
|
||||
gem 'rake'
|
||||
|
|
|
@ -43,7 +43,7 @@ class postgresql::params(
|
|||
$custom_service_name = undef,
|
||||
$custom_user = undef,
|
||||
$custom_group = undef,
|
||||
$run_initdb = undef,
|
||||
$run_initdb = undef
|
||||
) {
|
||||
$user = pick($custom_user, 'postgres')
|
||||
$group = pick($custom_group, 'postgres')
|
||||
|
|
|
@ -13,7 +13,7 @@ define postgresql::pg_hba_rule(
|
|||
) {
|
||||
include postgresql::params
|
||||
|
||||
validate_re($type, ['^local$', '^host$', '^hostssl$', '^hostnossl$'],
|
||||
validate_re($type, '^(local|host|hostssl|hostnossl)$',
|
||||
"The type you specified [${type}] must be one of: local, host, hostssl, hostnosssl")
|
||||
validate_re($auth_method, '^(trust|reject|md5|crypt|password|gss|sspi|krb5|ident|peer|ldap|radius|cert|pam)$',
|
||||
"The auth_method you specified [${auth_method}] must be one of: trust, reject, md5, crypt, password, krb5, ident, ldap, pam")
|
||||
|
|
Loading…
Reference in a new issue