Project

General

Profile

« Previous | Next » 

Revision 619eae73

Added by Thomas Mueller over 7 years ago

Add docker nodesets for CentOS 6 and 7

Ran a successfull test with:

```
BEAKER_debug=yes PUPPET_INSTALL_TYPE=agent \
BEAKER_set=centos-6-x64_docker BEAKER_destroy=no \
bundle exec rspec spec/acceptance/puppetserver_latest_spec.rb
```

View differences:

spec/acceptance/nodesets/centos-6-x64_docker.yml
HOSTS:
centos-6-x64-docker:
platform: centos-6-x86_64
hypervisor : docker
image: centos:6
# docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'yum install -y crontabs tar wget'
CONFIG:
type: aio
spec/acceptance/nodesets/centos-7-x64_docker.yml
HOSTS:
centos-7-x64-docker:
platform: centos-7-x86_64
hypervisor : docker
image: centos:7
# docker_preserve_image: true
docker_cmd: '["/usr/sbin/init"]'
docker_image_commands:
- 'yum install -y -q crontabs tar wget which iproute'
# crontab: required for puppet cron resources
# iproute: required for beaker/serverspec port tests which require the
# ss utility
# which: required for puppetserver rpm pre/post scripts
CONFIG:
type: aio

Also available in: Unified diff