Commit 18cb0a4f authored by Javier's avatar Javier
Browse files

setting arch variable

parent f87ba9ec
Pipeline #507 failed with stages
in 1 minute and 23 seconds
......@@ -4,8 +4,10 @@
#
# @example
# include easybuild
class easybuild {
$arch = ''
class easybuild (
$arch = easybuild::params::arch,
) {
file { '/etc/easybuild.d':
ensure => 'directory',
}
......
# A description of what this class does
#
# @summary A short summary of the purpose of this class
#
# @example
# include easybuild::params
class easybuild::params {
$arch = 'nehalem'
}
require 'spec_helper'
describe 'easybuild::params' do
on_supported_os.each do |os, os_facts|
context "on #{os}" do
let(:facts) { os_facts }
it { is_expected.to compile }
end
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment