aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Meusel <tim@bastelfreak.de>2020-10-24 19:20:02 +0200
committerTim Meusel <tim@bastelfreak.de>2020-10-28 20:17:50 +0100
commit7ad0fed388c81d76ead9224527afb708bd7d72c9 (patch)
tree27d33290ca1b255ce65d12095ac4e8bab8cdee9e /spec
parentc9854b57a03cdd7bce7176a35a1157f621a2318b (diff)
downloadpuppet-ferm-7ad0fed388c81d76ead9224527afb708bd7d72c9.tar.gz
puppet-ferm-7ad0fed388c81d76ead9224527afb708bd7d72c9.tar.bz2
modulesync 3.1.0
Diffstat (limited to 'spec')
-rw-r--r--spec/acceptance/nodesets/archlinux-2-x64.yml13
-rw-r--r--spec/acceptance/nodesets/ec2/amazonlinux-2016091.yml31
-rw-r--r--spec/acceptance/nodesets/ec2/image_templates.yaml34
-rw-r--r--spec/acceptance/nodesets/ec2/rhel-73-x64.yml29
-rw-r--r--spec/acceptance/nodesets/ec2/sles-12sp2-x64.yml29
-rw-r--r--spec/acceptance/nodesets/ec2/ubuntu-1604-x64.yml29
-rw-r--r--spec/acceptance/nodesets/ec2/windows-2016-base-x64.yml29
-rw-r--r--spec/spec_helper.rb2
8 files changed, 1 insertions, 195 deletions
diff --git a/spec/acceptance/nodesets/archlinux-2-x64.yml b/spec/acceptance/nodesets/archlinux-2-x64.yml
deleted file mode 100644
index 89b6300..0000000
--- a/spec/acceptance/nodesets/archlinux-2-x64.yml
+++ /dev/null
@@ -1,13 +0,0 @@
----
-# This file is managed via modulesync
-# https://github.com/voxpupuli/modulesync
-# https://github.com/voxpupuli/modulesync_config
-HOSTS:
- archlinux-2-x64:
- roles:
- - master
- platform: archlinux-2-x64
- box: archlinux/archlinux
- hypervisor: vagrant
-CONFIG:
- type: foss
diff --git a/spec/acceptance/nodesets/ec2/amazonlinux-2016091.yml b/spec/acceptance/nodesets/ec2/amazonlinux-2016091.yml
deleted file mode 100644
index 19dd43e..0000000
--- a/spec/acceptance/nodesets/ec2/amazonlinux-2016091.yml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-# This file is managed via modulesync
-# https://github.com/voxpupuli/modulesync
-# https://github.com/voxpupuli/modulesync_config
-#
-# Additional ~/.fog config file with AWS EC2 credentials
-# required.
-#
-# see: https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/ec2.md
-#
-# Amazon Linux is not a RHEL clone.
-#
-HOSTS:
- amazonlinux-2016091-x64:
- roles:
- - master
- platform: centos-6-x86_64
- hypervisor: ec2
- # refers to image_tempaltes.yaml AMI[vmname] entry:
- vmname: amazonlinux-2016091-eu-central-1
- # refers to image_tempaltes.yaml entry inside AMI[vmname][:image]:
- snapshot: aio
- # t2.micro is free tier eligible (https://aws.amazon.com/en/free/):
- amisize: t2.micro
- # required so that beaker sanitizes sshd_config and root authorized_keys:
- user: ec2-user
-CONFIG:
- type: aio
- :ec2_yaml: spec/acceptance/nodesets/ec2/image_templates.yaml
-...
-# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/ec2/image_templates.yaml b/spec/acceptance/nodesets/ec2/image_templates.yaml
deleted file mode 100644
index e50593e..0000000
--- a/spec/acceptance/nodesets/ec2/image_templates.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-# This file is managed via modulesync
-# https://github.com/voxpupuli/modulesync
-# https://github.com/voxpupuli/modulesync_config
-#
-# see also: https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/ec2.md
-#
-# Hint: image IDs (ami-*) for the same image are different per location.
-#
-AMI:
- # Amazon Linux AMI 2016.09.1 (HVM), SSD Volume Type
- amazonlinux-2016091-eu-central-1:
- :image:
- :aio: ami-af0fc0c0
- :region: eu-central-1
- # Red Hat Enterprise Linux 7.3 (HVM), SSD Volume Type
- rhel-73-eu-central-1:
- :image:
- :aio: ami-e4c63e8b
- :region: eu-central-1
- # SUSE Linux Enterprise Server 12 SP2 (HVM), SSD Volume Type
- sles-12sp2-eu-central-1:
- :image:
- :aio: ami-c425e4ab
- :region: eu-central-1
- # Ubuntu Server 16.04 LTS (HVM), SSD Volume Type
- ubuntu-1604-eu-central-1:
- :image:
- :aio: ami-fe408091
- :region: eu-central-1
- # Microsoft Windows Server 2016 Base
- windows-2016-base-eu-central-1:
- :image:
- :aio: ami-88ec20e7
- :region: eu-central-1
diff --git a/spec/acceptance/nodesets/ec2/rhel-73-x64.yml b/spec/acceptance/nodesets/ec2/rhel-73-x64.yml
deleted file mode 100644
index 7fac823..0000000
--- a/spec/acceptance/nodesets/ec2/rhel-73-x64.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-# This file is managed via modulesync
-# https://github.com/voxpupuli/modulesync
-# https://github.com/voxpupuli/modulesync_config
-#
-# Additional ~/.fog config file with AWS EC2 credentials
-# required.
-#
-# see: https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/ec2.md
-#
-HOSTS:
- rhel-73-x64:
- roles:
- - master
- platform: el-7-x86_64
- hypervisor: ec2
- # refers to image_tempaltes.yaml AMI[vmname] entry:
- vmname: rhel-73-eu-central-1
- # refers to image_tempaltes.yaml entry inside AMI[vmname][:image]:
- snapshot: aio
- # t2.micro is free tier eligible (https://aws.amazon.com/en/free/):
- amisize: t2.micro
- # required so that beaker sanitizes sshd_config and root authorized_keys:
- user: ec2-user
-CONFIG:
- type: aio
- :ec2_yaml: spec/acceptance/nodesets/ec2/image_templates.yaml
-...
-# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/ec2/sles-12sp2-x64.yml b/spec/acceptance/nodesets/ec2/sles-12sp2-x64.yml
deleted file mode 100644
index 8542154..0000000
--- a/spec/acceptance/nodesets/ec2/sles-12sp2-x64.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-# This file is managed via modulesync
-# https://github.com/voxpupuli/modulesync
-# https://github.com/voxpupuli/modulesync_config
-#
-# Additional ~/.fog config file with AWS EC2 credentials
-# required.
-#
-# see: https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/ec2.md
-#
-HOSTS:
- sles-12sp2-x64:
- roles:
- - master
- platform: sles-12-x86_64
- hypervisor: ec2
- # refers to image_tempaltes.yaml AMI[vmname] entry:
- vmname: sles-12sp2-eu-central-1
- # refers to image_tempaltes.yaml entry inside AMI[vmname][:image]:
- snapshot: aio
- # t2.micro is free tier eligible (https://aws.amazon.com/en/free/):
- amisize: t2.micro
- # required so that beaker sanitizes sshd_config and root authorized_keys:
- user: ec2-user
-CONFIG:
- type: aio
- :ec2_yaml: spec/acceptance/nodesets/ec2/image_templates.yaml
-...
-# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/ec2/ubuntu-1604-x64.yml b/spec/acceptance/nodesets/ec2/ubuntu-1604-x64.yml
deleted file mode 100644
index 9cf59d5..0000000
--- a/spec/acceptance/nodesets/ec2/ubuntu-1604-x64.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-# This file is managed via modulesync
-# https://github.com/voxpupuli/modulesync
-# https://github.com/voxpupuli/modulesync_config
-#
-# Additional ~/.fog config file with AWS EC2 credentials
-# required.
-#
-# see: https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/ec2.md
-#
-HOSTS:
- ubuntu-1604-x64:
- roles:
- - master
- platform: ubuntu-16.04-amd64
- hypervisor: ec2
- # refers to image_tempaltes.yaml AMI[vmname] entry:
- vmname: ubuntu-1604-eu-central-1
- # refers to image_tempaltes.yaml entry inside AMI[vmname][:image]:
- snapshot: aio
- # t2.micro is free tier eligible (https://aws.amazon.com/en/free/):
- amisize: t2.micro
- # required so that beaker sanitizes sshd_config and root authorized_keys:
- user: ubuntu
-CONFIG:
- type: aio
- :ec2_yaml: spec/acceptance/nodesets/ec2/image_templates.yaml
-...
-# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/ec2/windows-2016-base-x64.yml b/spec/acceptance/nodesets/ec2/windows-2016-base-x64.yml
deleted file mode 100644
index 0932e29..0000000
--- a/spec/acceptance/nodesets/ec2/windows-2016-base-x64.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-# This file is managed via modulesync
-# https://github.com/voxpupuli/modulesync
-# https://github.com/voxpupuli/modulesync_config
-#
-# Additional ~/.fog config file with AWS EC2 credentials
-# required.
-#
-# see: https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/ec2.md
-#
-HOSTS:
- windows-2016-base-x64:
- roles:
- - master
- platform: windows-2016-64
- hypervisor: ec2
- # refers to image_tempaltes.yaml AMI[vmname] entry:
- vmname: windows-2016-base-eu-central-1
- # refers to image_tempaltes.yaml entry inside AMI[vmname][:image]:
- snapshot: aio
- # t2.micro is free tier eligible (https://aws.amazon.com/en/free/):
- amisize: t2.micro
- # required so that beaker sanitizes sshd_config and root authorized_keys:
- user: ec2-user
-CONFIG:
- type: aio
- :ec2_yaml: spec/acceptance/nodesets/ec2/image_templates.yaml
-...
-# vim: syntax=yaml
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index b2b2704..d266f6b 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,7 +9,7 @@ ENV['COVERAGE'] ||= 'yes' if Dir.exist?(File.expand_path('../../lib', __FILE__))
require 'voxpupuli/test/spec_helper'
if File.exist?(File.join(__dir__, 'default_module_facts.yml'))
- facts = YAML.load(File.read(File.join(__dir__, 'default_module_facts.yml')))
+ facts = YAML.safe_load(File.read(File.join(__dir__, 'default_module_facts.yml')))
if facts
facts.each do |name, value|
add_custom_fact name.to_sym, value