Skip to content

Commit

Permalink
Merge pull request #385 from bastelfreak/repo
Browse files Browse the repository at this point in the history
add rspec-puppet-facts to repo.pp
  • Loading branch information
bastelfreak authored May 23, 2017
2 parents f0eefee + 3d06be1 commit e18e5c2
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 564 deletions.
4 changes: 2 additions & 2 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
$zabbix_version = $zabbix::params::zabbix_version,
) inherits zabbix::params {
if ($manage_repo) {
case $::operatingsystem {
case $facts['os']['name'] {
'PSBM' : {
$majorrelease = '6'
$reponame = $majorrelease
Expand All @@ -51,7 +51,7 @@
}
}

case $::osfamily {
case $facts['os']['family'] {
'RedHat' : {
# Zabbix-3.2 and newer RPMs are signed with the GPG key
if versioncmp($zabbix_version, '3.2') < 0 {
Expand Down
Loading

0 comments on commit e18e5c2

Please sign in to comment.