-
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
(PE-12002) Add AIX support #74
(PE-12002) Add AIX support #74
Conversation
a4bd48e
to
0c5747c
Compare
}-> | ||
user { 'pe-mcollective': | ||
ensure => absent, | ||
}-> |
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.
['pe-puppet', 'pe-mcollective'].each |$pkg| {
service { $pkg: ensure => stopped}
user { $pkg: ensure => absent }
}
04e4922
to
c319b77
Compare
@mwbutcher looks like the specs are failing. |
@@ -49,6 +49,9 @@ | |||
} | |||
} 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 $::operatingsystem == 'aix' and $::architecture =~ 'PowerPC_POWER[5,6,7]' { | |||
$aix_ver_number = regsubst($::architecture,'PowerPC_POWER(\d+)$','\1') | |||
$_package_file_name = "${puppet_agent::package_name}-${puppet_agent::params::master_agent_version}-1.aix${aix_ver_number}.1.ppc.rpm" |
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.
AIX numbering is not always x.1 -- 5.3, 6.1, 7.1.
Which version where you testing?
55db02f
to
a83b9a3
Compare
This change adds puppet agent support for AIX. Support is gated by the 'aix' operatingsystem fact and an archetecture fact matching 'PowerPC_POWER[5,6,7]'. This change uses the same strategy as sles for removing unused packages as aix doesn't have fully fledged package management for rpms.
a83b9a3
to
e5f6eef
Compare
8586a97
to
1b98dc0
Compare
@mwbutcher Have you run pe_acceptance_tests against this already? |
👍 Verified this works by:
|
…pport (PE-12002) Add AIX support
This change adds puppet agent support for AIX.
Support is gated by the 'aix' operatingsystem fact
and an architecture fact matching 'PowerPC_POWER[5,6,7]'.
This change uses the same strategy as osx for removing
unused packages as aix doesn't have fully fledged package
management for rpms.