-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(maint) Update supported platforms #92
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,8 +44,6 @@ | |
} elsif $::operatingsystem == 'aix' and $::architecture =~ /PowerPC_POWER[5,6,7]/ { | ||
$aix_ver_number = regsubst($::platform_tag,'aix-(\d+\.\d+)-power','\1') | ||
$_package_file_name = "${puppet_agent::package_name}-${puppet_agent::params::master_agent_version}-1.aix${aix_ver_number}.ppc.rpm" | ||
} elsif $::operatingsystem == 'Darwin' and $::macosx_productversion_major =~ /10\.[9,10,11]/ { | ||
$_package_file_name = "${puppet_agent::package_name}-${puppet_agent::params::master_agent_version}-1.osx${$::macosx_productversion_major}.dmg" | ||
} elsif $::osfamily == 'windows' { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This section was redundant, see lines 42-43 above. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hm, must have been a bad re-base. |
||
$_arch = $::kernelmajversion ?{ | ||
/^5\.\d+/ => 'x86', # x64 is never allowed on windows 2003 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
} | ||
|
||
case $::osfamily { | ||
'RedHat', 'Amazon', 'Debian', 'Suse', 'Solaris', 'Darwin', 'AIX': { | ||
'RedHat', 'Debian', 'Suse', 'Solaris', 'Darwin', 'AIX': { | ||
$package_name = 'puppet-agent' | ||
$service_names = ['puppet', 'mcollective'] | ||
|
||
|
@@ -67,6 +67,12 @@ | |
} | ||
} | ||
|
||
# Treat Amazon Linux just like Enterprise Linux 6 | ||
$pe_repo_dir = ($::operatingsystem == 'Amazon') ? { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 to keeping the platform variables contained to |
||
true => "el-6-${::architecture}", | ||
default => $::platform_tag, | ||
} | ||
|
||
# The aio puppet-agent version currently installed on the compiling master | ||
# (only used in PE) | ||
$master_agent_version = $_is_pe ? { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could fix this by dropping the exclusion of PowerPC_POWER8. Happy to do that here or another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, either is fine to me. Maybe lets get it in another PR so we don't overload this one.