Skip to content

Commit

Permalink
Additional SLES fix for version fact
Browse files Browse the repository at this point in the history
  • Loading branch information
Helen Campbell committed Oct 27, 2016
1 parent 17db8f6 commit b593504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/version.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
$default = '2.4'
}
'Suse': {
if ($::operatingsystemmajrelease == '12') {
if $::operatingsystem == 'SLES' and $::operatingsystemrelease == '12' {
$default = '2.4'
} else {
$default = '2.2'
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/mod/ssl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
{
:osfamily => 'Suse',
:operatingsystem => 'SLES',
:operatingsystemrelease => '11.2',
:operatingsystemrelease => '12',
:concat_basedir => '/dne',
:id => 'root',
:kernel => 'Linux',
Expand Down

0 comments on commit b593504

Please sign in to comment.