summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/acceptance/nodesets/centos-511-x64.yml3
-rw-r--r--spec/acceptance/nodesets/centos-66-x64-pe.yml3
-rw-r--r--spec/acceptance/nodesets/centos-66-x64.yml3
-rw-r--r--spec/acceptance/nodesets/centos-72-x64.yml3
-rw-r--r--spec/acceptance/nodesets/debian-78-x64.yml3
-rw-r--r--spec/acceptance/nodesets/debian-82-x64.yml3
-rw-r--r--spec/acceptance/nodesets/ubuntu-server-1204-x64.yml3
-rw-r--r--spec/acceptance/nodesets/ubuntu-server-1404-x64.yml3
-rw-r--r--spec/classes/coverage_spec.rb1
-rw-r--r--spec/classes/unattended_upgrades_spec.rb4
-rw-r--r--spec/spec_helper.rb1
11 files changed, 30 insertions, 0 deletions
diff --git a/spec/acceptance/nodesets/centos-511-x64.yml b/spec/acceptance/nodesets/centos-511-x64.yml
index ca14463..a787863 100644
--- a/spec/acceptance/nodesets/centos-511-x64.yml
+++ b/spec/acceptance/nodesets/centos-511-x64.yml
@@ -1,3 +1,4 @@
+---
HOSTS:
centos-511-x64:
roles:
@@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
+...
+# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/centos-66-x64-pe.yml b/spec/acceptance/nodesets/centos-66-x64-pe.yml
index 9a93037..0da6913 100644
--- a/spec/acceptance/nodesets/centos-66-x64-pe.yml
+++ b/spec/acceptance/nodesets/centos-66-x64-pe.yml
@@ -1,3 +1,4 @@
+---
HOSTS:
centos-66-x64:
roles:
@@ -9,3 +10,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: pe
+...
+# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/centos-66-x64.yml b/spec/acceptance/nodesets/centos-66-x64.yml
index 214318a..dff02de 100644
--- a/spec/acceptance/nodesets/centos-66-x64.yml
+++ b/spec/acceptance/nodesets/centos-66-x64.yml
@@ -1,3 +1,4 @@
+---
HOSTS:
centos-66-x64:
roles:
@@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
+...
+# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/centos-72-x64.yml b/spec/acceptance/nodesets/centos-72-x64.yml
index 2c628fc..b5ec203 100644
--- a/spec/acceptance/nodesets/centos-72-x64.yml
+++ b/spec/acceptance/nodesets/centos-72-x64.yml
@@ -1,3 +1,4 @@
+---
HOSTS:
centos-72-x64:
roles:
@@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
+...
+# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/debian-78-x64.yml b/spec/acceptance/nodesets/debian-78-x64.yml
index 2baa693..8b71f39 100644
--- a/spec/acceptance/nodesets/debian-78-x64.yml
+++ b/spec/acceptance/nodesets/debian-78-x64.yml
@@ -1,3 +1,4 @@
+---
HOSTS:
debian-78-x64:
roles:
@@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
+...
+# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/debian-82-x64.yml b/spec/acceptance/nodesets/debian-82-x64.yml
index f496f12..83e3660 100644
--- a/spec/acceptance/nodesets/debian-82-x64.yml
+++ b/spec/acceptance/nodesets/debian-82-x64.yml
@@ -1,3 +1,4 @@
+---
HOSTS:
debian-82-x64:
roles:
@@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
+...
+# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml b/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml
index fa94e2c..52ba020 100644
--- a/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml
+++ b/spec/acceptance/nodesets/ubuntu-server-1204-x64.yml
@@ -1,3 +1,4 @@
+---
HOSTS:
ubuntu-server-1204-x64:
roles:
@@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
+...
+# vim: syntax=yaml
diff --git a/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml b/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml
index 72ba9c2..407e82b 100644
--- a/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml
+++ b/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml
@@ -1,3 +1,4 @@
+---
HOSTS:
ubuntu-server-1404-x64:
roles:
@@ -7,3 +8,5 @@ HOSTS:
hypervisor: vagrant
CONFIG:
type: foss
+...
+# vim: syntax=yaml
diff --git a/spec/classes/coverage_spec.rb b/spec/classes/coverage_spec.rb
index c083569..de44654 100644
--- a/spec/classes/coverage_spec.rb
+++ b/spec/classes/coverage_spec.rb
@@ -1,3 +1,4 @@
require 'rspec-puppet'
at_exit { RSpec::Puppet::Coverage.report! }
+# vim: syntax=ruby
diff --git a/spec/classes/unattended_upgrades_spec.rb b/spec/classes/unattended_upgrades_spec.rb
index 7bc7365..fea0ec0 100644
--- a/spec/classes/unattended_upgrades_spec.rb
+++ b/spec/classes/unattended_upgrades_spec.rb
@@ -195,6 +195,7 @@ describe 'unattended_upgrades' do
lsbdistid: 'Ubuntu',
lsbdistcodename: 'precise',
lsbrelease: '12.04',
+ lsbdistrelease: '12.04',
} }
it {
should create_file(file_unattended).with(
@@ -216,6 +217,7 @@ describe 'unattended_upgrades' do
lsbdistid: 'Ubuntu',
lsbdistcodename: 'trusty',
lsbrelease: '14.04',
+ lsbdistrelease: '14.04',
} }
it {
should create_file(file_unattended).with(
@@ -237,6 +239,7 @@ describe 'unattended_upgrades' do
lsbdistid: 'Ubuntu',
lsbdistcodename: 'vivid',
lsbrelease: '15.04',
+ lsbdistrelease: '15.04',
} }
it {
should create_file(file_unattended).with(
@@ -258,6 +261,7 @@ describe 'unattended_upgrades' do
lsbdistid: 'Ubuntu',
lsbdistcodename: 'wily',
lsbrelease: '15.10',
+ lsbdistrelease: '15.10',
} }
it {
should create_file(file_unattended).with(
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 1ffdf17..0f53c4e 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,3 +1,4 @@
require 'puppetlabs_spec_helper/module_spec_helper'
require 'rspec-puppet-facts'
include RspecPuppetFacts
+# vim: syntax=ruby