From 621249f3158b79652aa091e1d09cb9a3154ee9ab Mon Sep 17 00:00:00 2001 From: Dennis Hoppe Date: Thu, 15 Sep 2016 13:09:43 +0200 Subject: [PATCH 1/6] Update based on voxpupuli/modulesync_config 0.12.6 --- .msync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.msync.yml b/.msync.yml index c5e3e79..7c1b6e6 100644 --- a/.msync.yml +++ b/.msync.yml @@ -1 +1 @@ -modulesync_config_version: '0.13.0' +modulesync_config_version: '0.13.3' From 6558e1a089e49bfa59146068b0f8831463052859 Mon Sep 17 00:00:00 2001 From: Dennis Hoppe Date: Thu, 15 Sep 2016 13:57:16 +0200 Subject: [PATCH 2/6] Remove deprecated tests directory --- tests/init.pp | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/init.pp diff --git a/tests/init.pp b/tests/init.pp deleted file mode 100644 index ab5ea3a..0000000 --- a/tests/init.pp +++ /dev/null @@ -1,11 +0,0 @@ -class { '::bacula': - is_storage => true, - is_director => true, - is_client => true, - manage_console => true, - director_password => 'XXXXXXXXX', - console_password => 'XXXXXXXXX', - director_server => 'bacula.domain.com', - mail_to => 'bacula-admin@domain.com', - storage_server => 'bacula.domain.com', -} From d75a1a20ac5a43a189f3c6b819367e8d7e1ae790 Mon Sep 17 00:00:00 2001 From: Dennis Hoppe Date: Thu, 15 Sep 2016 14:00:56 +0200 Subject: [PATCH 3/6] Fix order of listed parameters --- manifests/client.pp | 4 ++-- manifests/common.pp | 2 +- manifests/director.pp | 2 +- manifests/storage.pp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/client.pp b/manifests/client.pp index 71caa80..cf91bc3 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -35,12 +35,12 @@ # client_package => 'bacula-client', # } class bacula::client( + $director_password, + $director_server, $client_conf = '/etc/bacula/bacula-fd.conf', $client_conf_template = 'bacula/bacula-fd.conf.erb', $client_package = 'bacula-client', $client_service = 'bacula-fd', - $director_password, - $director_server, $package_provider = undef, $pid_dir = '/var/run/bacula', $working_dir = '/var/lib/bacula' diff --git a/manifests/common.pp b/manifests/common.pp index 96d39d7..7095814 100644 --- a/manifests/common.pp +++ b/manifests/common.pp @@ -13,13 +13,13 @@ class bacula::common ( $packages, $manage_db_tables, - $manage_db = true, $db_backend, $db_user, $db_database, $db_password, $db_port, $db_host, + $manage_db = true, ) { $notify_database = $manage_db_tables ? { diff --git a/manifests/director.pp b/manifests/director.pp index c0825e9..681a021 100644 --- a/manifests/director.pp +++ b/manifests/director.pp @@ -50,9 +50,9 @@ $mysql_package, $mail_to, $sqlite_package, - $template = 'bacula/bacula-dir.conf.erb', $use_console, $console_password, + $template = 'bacula/bacula-dir.conf.erb', $clients = {} ) { diff --git a/manifests/storage.pp b/manifests/storage.pp index 617710f..d08d152 100644 --- a/manifests/storage.pp +++ b/manifests/storage.pp @@ -42,10 +42,10 @@ $director_server, $director_password, $storage_server, - $storage_package = '', $mysql_package, $sqlite_package, $console_password, + $storage_package = '', $template = 'bacula/bacula-sd.conf.erb' ) { From 07d94caa2c5fa0042fa4410446cf4ee24b12f2e6 Mon Sep 17 00:00:00 2001 From: Dennis Hoppe Date: Mon, 17 Oct 2016 09:37:02 +0200 Subject: [PATCH 4/6] Update based on voxpupuli/modulesync_config 0.13.1 --- Gemfile | 1 + spec/acceptance/nodesets/centos-6-x64.yml | 10 ---------- spec/acceptance/nodesets/centos-7-x64.yml | 10 ---------- spec/acceptance/nodesets/debian-7-x64.yml | 10 ---------- spec/acceptance/nodesets/default.yml | 10 ---------- 5 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 spec/acceptance/nodesets/centos-6-x64.yml delete mode 100644 spec/acceptance/nodesets/centos-7-x64.yml delete mode 100644 spec/acceptance/nodesets/debian-7-x64.yml delete mode 100644 spec/acceptance/nodesets/default.yml diff --git a/Gemfile b/Gemfile index 8613079..0afeb6e 100644 --- a/Gemfile +++ b/Gemfile @@ -28,6 +28,7 @@ group :test do gem 'puppet-strings', '0.4.0', :require => false gem 'rubocop-rspec', '~> 1.6', :require => false if RUBY_VERSION >= '2.3.0' gem 'json_pure', '<= 2.0.1', :require => false if RUBY_VERSION < '2.0.0' + gem 'mocha', '1.1.0', :require => false end group :development do diff --git a/spec/acceptance/nodesets/centos-6-x64.yml b/spec/acceptance/nodesets/centos-6-x64.yml deleted file mode 100644 index 2f8c399..0000000 --- a/spec/acceptance/nodesets/centos-6-x64.yml +++ /dev/null @@ -1,10 +0,0 @@ -HOSTS: - centos-6-x64: - roles: - - default - platform: el-6-x86_64 - box: puppetlabs/centos-6.6-64-puppet - hypervisor: vagrant -CONFIG: - log_level: verbose - type: foss \ No newline at end of file diff --git a/spec/acceptance/nodesets/centos-7-x64.yml b/spec/acceptance/nodesets/centos-7-x64.yml deleted file mode 100644 index 694c373..0000000 --- a/spec/acceptance/nodesets/centos-7-x64.yml +++ /dev/null @@ -1,10 +0,0 @@ -HOSTS: - centos-7-x64: - roles: - - default - platform: el-7-x86_64 - box: puppetlabs/centos-7.0-64-nocm - hypervisor: vagrant -CONFIG: - log_level: verbose - type: aio \ No newline at end of file diff --git a/spec/acceptance/nodesets/debian-7-x64.yml b/spec/acceptance/nodesets/debian-7-x64.yml deleted file mode 100644 index 8abe69b..0000000 --- a/spec/acceptance/nodesets/debian-7-x64.yml +++ /dev/null @@ -1,10 +0,0 @@ -HOSTS: - debian-7-x64: - roles: - - default - platform: debian-7-x86_64 - box: puppetlabs/debian-7.8-64-puppet - hypervisor: vagrant -CONFIG: - log_level: verbose - type: foss \ No newline at end of file diff --git a/spec/acceptance/nodesets/default.yml b/spec/acceptance/nodesets/default.yml deleted file mode 100644 index ed647d3..0000000 --- a/spec/acceptance/nodesets/default.yml +++ /dev/null @@ -1,10 +0,0 @@ -HOSTS: - ubuntu-1404-x64: - roles: - - default - platform: ubuntu-1404-x86_64 - box: puppetlabs/ubuntu-14.04-64-puppet - hypervisor: vagrant -CONFIG: - log_level: verbose - type: foss \ No newline at end of file From 8f448601e3c5fd1b8e331a108bf89516336d5d47 Mon Sep 17 00:00:00 2001 From: Dennis Hoppe Date: Wed, 19 Oct 2016 18:45:35 +0200 Subject: [PATCH 5/6] Update based on voxpupuli/modulesync_config 0.13.3 --- .rubocop.yml | 3 +++ Gemfile | 5 +++-- Rakefile | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index d6a3948..e1e0276 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -57,6 +57,9 @@ Style/AndOr: Style/RedundantSelf: Enabled: True +Metric/BlockLength: + Enabled: False + # Method length is not necessarily an indicator of code quality Metrics/MethodLength: Enabled: False diff --git a/Gemfile b/Gemfile index 0afeb6e..6a4e56d 100644 --- a/Gemfile +++ b/Gemfile @@ -25,10 +25,10 @@ group :test do gem 'metadata-json-lint', :require => false gem 'puppet-blacksmith', :require => false gem 'voxpupuli-release', :require => false, :git => 'https://github.com/voxpupuli/voxpupuli-release-gem.git' - gem 'puppet-strings', '0.4.0', :require => false + gem 'puppet-strings', '~> 0.99.0', :require => false gem 'rubocop-rspec', '~> 1.6', :require => false if RUBY_VERSION >= '2.3.0' gem 'json_pure', '<= 2.0.1', :require => false if RUBY_VERSION < '2.0.0' - gem 'mocha', '1.1.0', :require => false + gem 'mocha', '>= 1.2.1', :require => false end group :development do @@ -46,6 +46,7 @@ group :system_tests do else gem 'beaker-rspec', :require => false end + gem 'serverspec', :require => false gem 'beaker-puppet_install_helper', :require => false end diff --git a/Rakefile b/Rakefile index 35ee06a..d00f247 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,7 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet_blacksmith/rake_tasks' require 'voxpupuli/release/rake_tasks' -require 'puppet-strings/rake_tasks' +require 'puppet-strings/tasks' PuppetLint.configuration.log_format = '%{path}:%{line}:%{check}:%{KIND}:%{message}' PuppetLint.configuration.fail_on_warnings = true From 374f2e863cf6f2fbb96ce338ebb6e465ceceee47 Mon Sep 17 00:00:00 2001 From: Dennis Hoppe Date: Thu, 20 Oct 2016 16:31:57 +0200 Subject: [PATCH 6/6] Update based on voxpupuli/modulesync_config 0.14.1 --- .msync.yml | 2 +- Gemfile | 1 + spec/acceptance/nodesets/centos-511-x64.yml | 3 +++ spec/acceptance/nodesets/centos-66-x64-pe.yml | 3 +++ spec/acceptance/nodesets/centos-66-x64.yml | 3 +++ spec/acceptance/nodesets/centos-72-x64.yml | 3 +++ spec/acceptance/nodesets/debian-78-x64.yml | 3 +++ spec/acceptance/nodesets/debian-82-x64.yml | 3 +++ spec/acceptance/nodesets/docker/centos-5.yml | 22 +++++++++++++++++ spec/acceptance/nodesets/docker/centos-6.yml | 23 ++++++++++++++++++ spec/acceptance/nodesets/docker/centos-7.yml | 21 ++++++++++++++++ spec/acceptance/nodesets/docker/debian-7.yml | 21 ++++++++++++++++ spec/acceptance/nodesets/docker/debian-8.yml | 22 +++++++++++++++++ .../nodesets/docker/ubuntu-12.04.yml | 22 +++++++++++++++++ .../nodesets/docker/ubuntu-14.04.yml | 24 +++++++++++++++++++ .../nodesets/docker/ubuntu-16.04.yml | 22 +++++++++++++++++ .../nodesets/ubuntu-server-1204-x64.yml | 3 +++ .../nodesets/ubuntu-server-1404-x64.yml | 3 +++ .../nodesets/ubuntu-server-1604-x64.yml | 15 ++++++++++++ spec/spec_helper.rb | 5 ++++ 20 files changed, 223 insertions(+), 1 deletion(-) create mode 100644 spec/acceptance/nodesets/docker/centos-5.yml create mode 100644 spec/acceptance/nodesets/docker/centos-6.yml create mode 100644 spec/acceptance/nodesets/docker/centos-7.yml create mode 100644 spec/acceptance/nodesets/docker/debian-7.yml create mode 100644 spec/acceptance/nodesets/docker/debian-8.yml create mode 100644 spec/acceptance/nodesets/docker/ubuntu-12.04.yml create mode 100644 spec/acceptance/nodesets/docker/ubuntu-14.04.yml create mode 100644 spec/acceptance/nodesets/docker/ubuntu-16.04.yml create mode 100644 spec/acceptance/nodesets/ubuntu-server-1604-x64.yml diff --git a/.msync.yml b/.msync.yml index 7c1b6e6..fc9aad7 100644 --- a/.msync.yml +++ b/.msync.yml @@ -1 +1 @@ -modulesync_config_version: '0.13.3' +modulesync_config_version: '0.14.1' diff --git a/Gemfile b/Gemfile index 6a4e56d..0571378 100644 --- a/Gemfile +++ b/Gemfile @@ -29,6 +29,7 @@ group :test do gem 'rubocop-rspec', '~> 1.6', :require => false if RUBY_VERSION >= '2.3.0' gem 'json_pure', '<= 2.0.1', :require => false if RUBY_VERSION < '2.0.0' gem 'mocha', '>= 1.2.1', :require => false + gem 'coveralls', :require => false if RUBY_VERSION >= '2.0.0' end group :development do diff --git a/spec/acceptance/nodesets/centos-511-x64.yml b/spec/acceptance/nodesets/centos-511-x64.yml index a787863..089d646 100644 --- a/spec/acceptance/nodesets/centos-511-x64.yml +++ b/spec/acceptance/nodesets/centos-511-x64.yml @@ -1,4 +1,7 @@ --- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config HOSTS: centos-511-x64: roles: diff --git a/spec/acceptance/nodesets/centos-66-x64-pe.yml b/spec/acceptance/nodesets/centos-66-x64-pe.yml index 0da6913..1e7aea6 100644 --- a/spec/acceptance/nodesets/centos-66-x64-pe.yml +++ b/spec/acceptance/nodesets/centos-66-x64-pe.yml @@ -1,4 +1,7 @@ --- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config HOSTS: centos-66-x64: roles: diff --git a/spec/acceptance/nodesets/centos-66-x64.yml b/spec/acceptance/nodesets/centos-66-x64.yml index dff02de..42455e7 100644 --- a/spec/acceptance/nodesets/centos-66-x64.yml +++ b/spec/acceptance/nodesets/centos-66-x64.yml @@ -1,4 +1,7 @@ --- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config HOSTS: centos-66-x64: roles: diff --git a/spec/acceptance/nodesets/centos-72-x64.yml b/spec/acceptance/nodesets/centos-72-x64.yml index b5ec203..85af89d 100644 --- a/spec/acceptance/nodesets/centos-72-x64.yml +++ b/spec/acceptance/nodesets/centos-72-x64.yml @@ -1,4 +1,7 @@ --- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config HOSTS: centos-72-x64: roles: diff --git a/spec/acceptance/nodesets/debian-78-x64.yml b/spec/acceptance/nodesets/debian-78-x64.yml index 8b71f39..6ef6de8 100644 --- a/spec/acceptance/nodesets/debian-78-x64.yml +++ b/spec/acceptance/nodesets/debian-78-x64.yml @@ -1,4 +1,7 @@ --- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config HOSTS: debian-78-x64: roles: diff --git a/spec/acceptance/nodesets/debian-82-x64.yml b/spec/acceptance/nodesets/debian-82-x64.yml index 83e3660..9897a8f 100644 --- a/spec/acceptance/nodesets/debian-82-x64.yml +++ b/spec/acceptance/nodesets/debian-82-x64.yml @@ -1,4 +1,7 @@ --- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config HOSTS: debian-82-x64: roles: diff --git a/spec/acceptance/nodesets/docker/centos-5.yml b/spec/acceptance/nodesets/docker/centos-5.yml new file mode 100644 index 0000000..33e6d2e --- /dev/null +++ b/spec/acceptance/nodesets/docker/centos-5.yml @@ -0,0 +1,22 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + centos-5-x64: + default_apply_opts: + order: random + strict_variables: + platform: el-5-x86_64 + hypervisor : docker + image: tianon/centos:5.10 + docker_preserve_image: true + docker_cmd: '["/sbin/init"]' + docker_image_commands: + - 'yum install -y crontabs tar wget which' + - 'sed -i -e "/mingetty/d" /etc/inittab' +CONFIG: + type: aio + log_level: debug +... +# vim: syntax=yaml diff --git a/spec/acceptance/nodesets/docker/centos-6.yml b/spec/acceptance/nodesets/docker/centos-6.yml new file mode 100644 index 0000000..235b050 --- /dev/null +++ b/spec/acceptance/nodesets/docker/centos-6.yml @@ -0,0 +1,23 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + centos-6-x64: + default_apply_opts: + order: random + strict_variables: + platform: el-6-x86_64 + hypervisor : docker + image: centos:6 + docker_preserve_image: true + docker_cmd: '["/sbin/init"]' + docker_image_commands: + - 'rm -rf /var/run/network/*' + - 'yum install -y crontabs tar wget' + - 'rm /etc/init/tty.conf' +CONFIG: + type: aio + log_level: debug +... +# vim: syntax=yaml diff --git a/spec/acceptance/nodesets/docker/centos-7.yml b/spec/acceptance/nodesets/docker/centos-7.yml new file mode 100644 index 0000000..634a432 --- /dev/null +++ b/spec/acceptance/nodesets/docker/centos-7.yml @@ -0,0 +1,21 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + centos-7-x64: + default_apply_opts: + order: random + strict_variables: + platform: el-7-x86_64 + hypervisor : docker + image: centos:7 + docker_preserve_image: true + docker_cmd: '["/usr/sbin/init"]' + docker_image_commands: + - 'yum install -y crontabs tar wget iproute' +CONFIG: + type: aio + log_level: debug +... +# vim: syntax=yaml diff --git a/spec/acceptance/nodesets/docker/debian-7.yml b/spec/acceptance/nodesets/docker/debian-7.yml new file mode 100644 index 0000000..75a71fa --- /dev/null +++ b/spec/acceptance/nodesets/docker/debian-7.yml @@ -0,0 +1,21 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + debian-7-x64: + default_apply_opts: + order: random + strict_variables: + platform: debian-7-amd64 + hypervisor : docker + image: debian:7 + docker_preserve_image: true + docker_cmd: '["/sbin/init"]' + docker_image_commands: + - 'apt-get install -y cron locales-all net-tools wget' +CONFIG: + type: aio + log_level: debug +... +# vim: syntax=yaml diff --git a/spec/acceptance/nodesets/docker/debian-8.yml b/spec/acceptance/nodesets/docker/debian-8.yml new file mode 100644 index 0000000..9de3138 --- /dev/null +++ b/spec/acceptance/nodesets/docker/debian-8.yml @@ -0,0 +1,22 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + debian-8-x64: + default_apply_opts: + order: random + strict_variables: + platform: debian-8-amd64 + hypervisor : docker + image: debian:8 + docker_preserve_image: true + docker_cmd: '["/sbin/init"]' + docker_image_commands: + - 'apt-get install -y cron locales-all net-tools wget' + - 'rm -f /usr/sbin/policy-rc.d' +CONFIG: + type: aio + log_level: debug +... +# vim: syntax=yaml diff --git a/spec/acceptance/nodesets/docker/ubuntu-12.04.yml b/spec/acceptance/nodesets/docker/ubuntu-12.04.yml new file mode 100644 index 0000000..e06e7bb --- /dev/null +++ b/spec/acceptance/nodesets/docker/ubuntu-12.04.yml @@ -0,0 +1,22 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + ubuntu-1204-x64: + default_apply_opts: + order: random + strict_variables: + platform: ubuntu-12.04-amd64 + hypervisor : docker + image: ubuntu:12.04 + docker_preserve_image: true + docker_cmd: '["/sbin/init"]' + docker_image_commands: + - 'apt-get install -y net-tools wget' + - 'locale-gen en_US.UTF-8' +CONFIG: + type: aio + log_level: debug +... +# vim: syntax=yaml diff --git a/spec/acceptance/nodesets/docker/ubuntu-14.04.yml b/spec/acceptance/nodesets/docker/ubuntu-14.04.yml new file mode 100644 index 0000000..1849f98 --- /dev/null +++ b/spec/acceptance/nodesets/docker/ubuntu-14.04.yml @@ -0,0 +1,24 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + ubuntu-1404-x64: + default_apply_opts: + order: random + strict_variables: + platform: ubuntu-14.04-amd64 + hypervisor : docker + image: ubuntu:14.04 + docker_preserve_image: true + docker_cmd: '["/sbin/init"]' + docker_image_commands: + - 'rm /usr/sbin/policy-rc.d' + - 'rm /sbin/initctl; dpkg-divert --rename --remove /sbin/initctl' + - 'apt-get install -y net-tools wget' + - 'locale-gen en_US.UTF-8' +CONFIG: + type: aio + log_level: debug +... +# vim: syntax=yaml diff --git a/spec/acceptance/nodesets/docker/ubuntu-16.04.yml b/spec/acceptance/nodesets/docker/ubuntu-16.04.yml new file mode 100644 index 0000000..ac507a6 --- /dev/null +++ b/spec/acceptance/nodesets/docker/ubuntu-16.04.yml @@ -0,0 +1,22 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + ubuntu-1604-x64: + default_apply_opts: + order: random + strict_variables: + platform: ubuntu-16.04-amd64 + hypervisor : docker + image: ubuntu:16.04 + docker_preserve_image: true + docker_cmd: '["/sbin/init"]' + docker_image_commands: + - 'apt-get install -y net-tools wget' + - 'locale-gen en_US.UTF-8' +CONFIG: + type: aio + log_level: debug +... +# vim: syntax=yaml diff --git a/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml b/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml index 52ba020..29102c5 100644 --- a/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml +++ b/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml @@ -1,4 +1,7 @@ --- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config HOSTS: ubuntu-server-1204-x64: roles: diff --git a/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml b/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml index 407e82b..054e658 100644 --- a/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml +++ b/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml @@ -1,4 +1,7 @@ --- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config HOSTS: ubuntu-server-1404-x64: roles: diff --git a/spec/acceptance/nodesets/ubuntu-server-1604-x64.yml b/spec/acceptance/nodesets/ubuntu-server-1604-x64.yml new file mode 100644 index 0000000..bc85e0e --- /dev/null +++ b/spec/acceptance/nodesets/ubuntu-server-1604-x64.yml @@ -0,0 +1,15 @@ +--- +# This file is managed via modulesync +# https://github.com/voxpupuli/modulesync +# https://github.com/voxpupuli/modulesync_config +HOSTS: + ubuntu-server-1604-x64: + roles: + - master + platform: ubuntu-16.04-amd64 + box: puppetlabs/ubuntu-16.04-64-nocm + hypervisor: vagrant +CONFIG: + type: foss +... +# vim: syntax=yaml diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2d8b165..623b3a6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,6 +2,11 @@ require 'rspec-puppet-facts' include RspecPuppetFacts +unless RUBY_VERSION =~ %r{^1.9} + require 'coveralls' + Coveralls.wear! +end + RSpec.configure do |c| default_facts = { puppetversion: Puppet.version,