Skip to content

Commit

Permalink
Merge pull request #225 from tapsboy/master
Browse files Browse the repository at this point in the history
Node 6 is now available on EL6 & EL7
  • Loading branch information
bastelfreak committed May 11, 2016
2 parents 818f81e + 25058aa commit 4f5645c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
validate_re($repo_url_suffix, '^0\.1[02]$', $suffix_error_msg)
}
elsif $::operatingsystemrelease =~ /^[67]\.(\d+)/ {
validate_re($repo_url_suffix, '^(0\.1[02]|[45]\.x)$', $suffix_error_msg)
validate_re($repo_url_suffix, '^(0\.1[02]|[456]\.x)$', $suffix_error_msg)
}
# Fedora
elsif $::operatingsystem == 'Fedora' {
Expand Down
9 changes: 6 additions & 3 deletions spec/classes/nodejs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,8 @@

context 'when running on Windows' do
let :facts do
{ osfamily: 'Windows',
{
osfamily: 'Windows',
operatingsystem: 'Windows',
}
end
Expand Down Expand Up @@ -1162,7 +1163,8 @@

context 'when running on Amazon Linux 2014.09' do
let :facts do
{ osfamily: 'Linux',
{
osfamily: 'Linux',
operatingsystem: 'Amazon',
operatingsystemrelease: '2014.09',
}
Expand Down Expand Up @@ -1426,7 +1428,8 @@
end
context 'when running on Amazon Linux 2015.03' do
let :facts do
{ osfamily: 'RedHat',
{
osfamily: 'RedHat',
operatingsystem: 'Amazon',
operatingsystemrelease: '2015.03',
}
Expand Down

0 comments on commit 4f5645c

Please sign in to comment.