Update to newest modulesync_configs [9ca280f]
This commit is contained in:
parent
733508677d
commit
ee6413b95a
24 changed files with 78 additions and 272 deletions
17
.travis.yml
17
.travis.yml
|
@ -3,18 +3,33 @@
|
||||||
sudo: false
|
sudo: false
|
||||||
language: ruby
|
language: ruby
|
||||||
cache: bundler
|
cache: bundler
|
||||||
bundler_args: --without system_tests
|
|
||||||
script: "bundle exec rake validate lint spec"
|
script: "bundle exec rake validate lint spec"
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- rvm: 2.1.6
|
- rvm: 2.1.6
|
||||||
|
dist: trusty
|
||||||
|
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04
|
||||||
|
script: bundle exec rake beaker
|
||||||
|
services: docker
|
||||||
|
sudo: required
|
||||||
|
- rvm: 2.1.6
|
||||||
|
dist: trusty
|
||||||
|
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7
|
||||||
|
script: bundle exec rake beaker
|
||||||
|
services: docker
|
||||||
|
sudo: required
|
||||||
|
- rvm: 2.1.6
|
||||||
|
bundler_args: --without system_tests
|
||||||
env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes"
|
env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes"
|
||||||
- rvm: 2.1.5
|
- rvm: 2.1.5
|
||||||
|
bundler_args: --without system_tests
|
||||||
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
|
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
|
||||||
- rvm: 2.1.5
|
- rvm: 2.1.5
|
||||||
|
bundler_args: --without system_tests
|
||||||
env: PUPPET_GEM_VERSION="~> 3.0"
|
env: PUPPET_GEM_VERSION="~> 3.0"
|
||||||
- rvm: 1.9.3
|
- rvm: 1.9.3
|
||||||
|
bundler_args: --without system_tests
|
||||||
env: PUPPET_GEM_VERSION="~> 3.0"
|
env: PUPPET_GEM_VERSION="~> 3.0"
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
centos-59-x64:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: el-5-x86_64
|
|
||||||
box : centos-59-x64-vbox4210-nocm
|
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
type: git
|
|
|
@ -1,15 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
'centos-6-vcloud':
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: el-6-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
template: centos-6-x86_64
|
|
||||||
CONFIG:
|
|
||||||
type: foss
|
|
||||||
ssh:
|
|
||||||
keys: "~/.ssh/id_rsa-acceptance"
|
|
||||||
datastore: instance0
|
|
||||||
folder: Delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
resourcepool: delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
pooling_api: http://vcloud.delivery.puppetlabs.net/
|
|
|
@ -1,12 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
centos-64-x64:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
- database
|
|
||||||
- dashboard
|
|
||||||
platform: el-6-x86_64
|
|
||||||
box : centos-64-x64-vbox4210-nocm
|
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
type: pe
|
|
|
@ -1,10 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
centos-64-x64:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: el-6-x86_64
|
|
||||||
box : centos-64-x64-vbox4210-nocm
|
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
type: foss
|
|
|
@ -1,10 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
centos-65-x64:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: el-6-x86_64
|
|
||||||
box : centos-65-x64-vbox436-nocm
|
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
type: foss
|
|
10
spec/acceptance/nodesets/centos-7-x64.yml
Normal file
10
spec/acceptance/nodesets/centos-7-x64.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
HOSTS:
|
||||||
|
centos-7-x64:
|
||||||
|
roles:
|
||||||
|
- agent
|
||||||
|
- default
|
||||||
|
platform: redhat-7-x86_64
|
||||||
|
hypervisor: vagrant
|
||||||
|
box: puppetlabs/centos-7.2-64-nocm
|
||||||
|
CONFIG:
|
||||||
|
type: foss
|
10
spec/acceptance/nodesets/debian-8-x64.yml
Normal file
10
spec/acceptance/nodesets/debian-8-x64.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
HOSTS:
|
||||||
|
debian-8-x64:
|
||||||
|
roles:
|
||||||
|
- agent
|
||||||
|
- default
|
||||||
|
platform: debian-8-amd64
|
||||||
|
hypervisor: vagrant
|
||||||
|
box: puppetlabs/debian-8.2-64-nocm
|
||||||
|
CONFIG:
|
||||||
|
type: foss
|
|
@ -1,10 +1,10 @@
|
||||||
HOSTS:
|
HOSTS:
|
||||||
centos-65-x64:
|
ubuntu-1404-x64:
|
||||||
roles:
|
roles:
|
||||||
- master
|
- agent
|
||||||
platform: el-6-x86_64
|
- default
|
||||||
box : centos-65-x64-vbox436-nocm
|
platform: ubuntu-14.04-amd64
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
|
hypervisor: vagrant
|
||||||
hypervisor : vagrant
|
box: puppetlabs/ubuntu-14.04-64-nocm
|
||||||
CONFIG:
|
CONFIG:
|
||||||
type: foss
|
type: foss
|
||||||
|
|
12
spec/acceptance/nodesets/docker/centos-7.yml
Normal file
12
spec/acceptance/nodesets/docker/centos-7.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
HOSTS:
|
||||||
|
centos-7-x64:
|
||||||
|
platform: el-7-x86_64
|
||||||
|
hypervisor: docker
|
||||||
|
image: centos:7
|
||||||
|
docker_preserve_image: true
|
||||||
|
docker_cmd: '["/usr/sbin/init"]'
|
||||||
|
# install various tools required to get the image up to usable levels
|
||||||
|
docker_image_commands:
|
||||||
|
- 'yum install -y crontabs tar wget openssl sysvinit-tools iproute which initscripts'
|
||||||
|
CONFIG:
|
||||||
|
trace_limit: 200
|
11
spec/acceptance/nodesets/docker/debian-8.yml
Normal file
11
spec/acceptance/nodesets/docker/debian-8.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
HOSTS:
|
||||||
|
debian-8-x64:
|
||||||
|
platform: debian-8-amd64
|
||||||
|
hypervisor: docker
|
||||||
|
image: debian:8
|
||||||
|
docker_preserve_image: true
|
||||||
|
docker_cmd: '["/sbin/init"]'
|
||||||
|
docker_image_commands:
|
||||||
|
- 'apt-get update && apt-get install -y net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen'
|
||||||
|
CONFIG:
|
||||||
|
trace_limit: 200
|
12
spec/acceptance/nodesets/docker/ubuntu-14.04.yml
Normal file
12
spec/acceptance/nodesets/docker/ubuntu-14.04.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
HOSTS:
|
||||||
|
ubuntu-1404-x64:
|
||||||
|
platform: ubuntu-14.04-amd64
|
||||||
|
hypervisor: docker
|
||||||
|
image: ubuntu:14.04
|
||||||
|
docker_preserve_image: true
|
||||||
|
docker_cmd: '["/sbin/init"]'
|
||||||
|
docker_image_commands:
|
||||||
|
# ensure that upstart is booting correctly in the container
|
||||||
|
- 'rm /usr/sbin/policy-rc.d && rm /sbin/initctl && dpkg-divert --rename --remove /sbin/initctl && apt-get update && apt-get install -y net-tools wget && locale-gen en_US.UTF-8'
|
||||||
|
CONFIG:
|
||||||
|
trace_limit: 200
|
|
@ -1,10 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
fedora-18-x64:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: fedora-18-x86_64
|
|
||||||
box : fedora-18-x64-vbox4210-nocm
|
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
type: foss
|
|
|
@ -1,10 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
sles-11-x64.local:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: sles-11-x64
|
|
||||||
box : sles-11sp1-x64-vbox4210-nocm
|
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
type: foss
|
|
|
@ -1,10 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu-server-10044-x64:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: ubuntu-10.04-amd64
|
|
||||||
box : ubuntu-server-10044-x64-vbox4210-nocm
|
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
type: foss
|
|
|
@ -1,10 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu-server-12042-x64:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: ubuntu-12.04-amd64
|
|
||||||
box : ubuntu-server-12042-x64-vbox4210-nocm
|
|
||||||
box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
type: foss
|
|
|
@ -1,11 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu-server-1404-x64:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
platform: ubuntu-14.04-amd64
|
|
||||||
box : puppetlabs/ubuntu-14.04-64-nocm
|
|
||||||
box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
|
|
||||||
hypervisor : vagrant
|
|
||||||
CONFIG:
|
|
||||||
log_level : debug
|
|
||||||
type: git
|
|
|
@ -1,26 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu1204:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
- database
|
|
||||||
- dashboard
|
|
||||||
platform: ubuntu-12.04-amd64
|
|
||||||
template: ubuntu-1204-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
win2003_i386:
|
|
||||||
roles:
|
|
||||||
- agent
|
|
||||||
- default
|
|
||||||
platform: windows-2003-i386
|
|
||||||
template: win-2003-i386
|
|
||||||
hypervisor: vcloud
|
|
||||||
CONFIG:
|
|
||||||
nfs_server: none
|
|
||||||
ssh:
|
|
||||||
keys: "~/.ssh/id_rsa-acceptance"
|
|
||||||
consoleport: 443
|
|
||||||
datastore: instance0
|
|
||||||
folder: Delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
resourcepool: delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
pooling_api: http://vcloud.delivery.puppetlabs.net/
|
|
||||||
pe_dir: http://neptune.puppetlabs.lan/3.2/ci-ready/
|
|
|
@ -1,26 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu1204:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
- database
|
|
||||||
- dashboard
|
|
||||||
platform: ubuntu-12.04-amd64
|
|
||||||
template: ubuntu-1204-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
win2003_x86_64:
|
|
||||||
roles:
|
|
||||||
- agent
|
|
||||||
- default
|
|
||||||
platform: windows-2003-x86_64
|
|
||||||
template: win-2003-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
CONFIG:
|
|
||||||
nfs_server: none
|
|
||||||
ssh:
|
|
||||||
keys: "~/.ssh/id_rsa-acceptance"
|
|
||||||
consoleport: 443
|
|
||||||
datastore: instance0
|
|
||||||
folder: Delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
resourcepool: delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
pooling_api: http://vcloud.delivery.puppetlabs.net/
|
|
||||||
pe_dir: http://neptune.puppetlabs.lan/3.2/ci-ready/
|
|
|
@ -1,26 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu1204:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
- database
|
|
||||||
- dashboard
|
|
||||||
platform: ubuntu-12.04-amd64
|
|
||||||
template: ubuntu-1204-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
win2008_x86_64:
|
|
||||||
roles:
|
|
||||||
- agent
|
|
||||||
- default
|
|
||||||
platform: windows-2008-x86_64
|
|
||||||
template: win-2008-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
CONFIG:
|
|
||||||
nfs_server: none
|
|
||||||
ssh:
|
|
||||||
keys: "~/.ssh/id_rsa-acceptance"
|
|
||||||
consoleport: 443
|
|
||||||
datastore: instance0
|
|
||||||
folder: Delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
resourcepool: delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
pooling_api: http://vcloud.delivery.puppetlabs.net/
|
|
||||||
pe_dir: http://neptune.puppetlabs.lan/3.2/ci-ready/
|
|
|
@ -1,26 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu1204:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
- database
|
|
||||||
- dashboard
|
|
||||||
platform: ubuntu-12.04-amd64
|
|
||||||
template: ubuntu-1204-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
win2008r2:
|
|
||||||
roles:
|
|
||||||
- agent
|
|
||||||
- default
|
|
||||||
platform: windows-2008r2-x86_64
|
|
||||||
template: win-2008r2-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
CONFIG:
|
|
||||||
nfs_server: none
|
|
||||||
ssh:
|
|
||||||
keys: "~/.ssh/id_rsa-acceptance"
|
|
||||||
consoleport: 443
|
|
||||||
datastore: instance0
|
|
||||||
folder: Delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
resourcepool: delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
pooling_api: http://vcloud.delivery.puppetlabs.net/
|
|
||||||
pe_dir: http://neptune.puppetlabs.lan/3.2/ci-ready/
|
|
|
@ -1,26 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu1204:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
- database
|
|
||||||
- dashboard
|
|
||||||
platform: ubuntu-12.04-amd64
|
|
||||||
template: ubuntu-1204-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
win2012:
|
|
||||||
roles:
|
|
||||||
- agent
|
|
||||||
- default
|
|
||||||
platform: windows-2012-x86_64
|
|
||||||
template: win-2012-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
CONFIG:
|
|
||||||
nfs_server: none
|
|
||||||
ssh:
|
|
||||||
keys: "~/.ssh/id_rsa-acceptance"
|
|
||||||
consoleport: 443
|
|
||||||
datastore: instance0
|
|
||||||
folder: Delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
resourcepool: delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
pooling_api: http://vcloud.delivery.puppetlabs.net/
|
|
||||||
pe_dir: http://neptune.puppetlabs.lan/3.2/ci-ready/
|
|
|
@ -1,26 +0,0 @@
|
||||||
HOSTS:
|
|
||||||
ubuntu1204:
|
|
||||||
roles:
|
|
||||||
- master
|
|
||||||
- database
|
|
||||||
- dashboard
|
|
||||||
platform: ubuntu-12.04-amd64
|
|
||||||
template: ubuntu-1204-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
win2012r2:
|
|
||||||
roles:
|
|
||||||
- agent
|
|
||||||
- default
|
|
||||||
platform: windows-2012r2-x86_64
|
|
||||||
template: win-2012r2-x86_64
|
|
||||||
hypervisor: vcloud
|
|
||||||
CONFIG:
|
|
||||||
nfs_server: none
|
|
||||||
ssh:
|
|
||||||
keys: "~/.ssh/id_rsa-acceptance"
|
|
||||||
consoleport: 443
|
|
||||||
datastore: instance0
|
|
||||||
folder: Delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
resourcepool: delivery/Quality Assurance/Enterprise/Dynamic
|
|
||||||
pooling_api: http://vcloud.delivery.puppetlabs.net/
|
|
||||||
pe_dir: http://neptune.puppetlabs.lan/3.2/ci-ready/
|
|
|
@ -25,7 +25,7 @@ RSpec.configure do |c|
|
||||||
end
|
end
|
||||||
|
|
||||||
def is_future_parser_enabled?
|
def is_future_parser_enabled?
|
||||||
if default[:type] == 'aio'
|
if default[:type] == 'aio' || ENV['PUPPET_INSTALL_TYPE'] == 'agent'
|
||||||
return true
|
return true
|
||||||
elsif default[:default_apply_opts]
|
elsif default[:default_apply_opts]
|
||||||
return default[:default_apply_opts][:parser] == 'future'
|
return default[:default_apply_opts][:parser] == 'future'
|
||||||
|
|
Loading…
Reference in a new issue