Feature #2805

AIX Package management support

Added by Andrew Forgue over 2 years ago. Updated about 2 years ago.

Status:Closed Start date:11/11/2009
Priority:Normal Due date:
Assignee:James Turnbull % Done:

0%

Category:package
Target version:2.6.0
Affected Puppet version:0.25.1 Branch:
Keywords:aix packages
Votes: 1

Description

The attached patch adds support for AIX package management (install/upgrade/remove/latest). I am not too sure about the inheritance between providers, but I think I got it right.

There are 2 ways to install a Package on AIX —

via directory full of .bff files. This requires a .toc file generated in the directory (the provider does this, but may take a long time on huge directories)

via a Network Install Manager (NIM) server. This way abstracts the directory into client/server and allows distribution of packages to a network of systems. Each server has to be a member of the NIM environment for this to work (I think that’s what confine exists /etc/niminfo) will do.

I’ve tested this with both methods and it seems to work.

puppet-aix-nim-pkgs.diff (5.5 kB) Andrew Forgue, 11/11/2009 06:51 pm

History

Updated by James Turnbull over 2 years ago

  • Status changed from Unreviewed to Accepted
  • Assignee set to James Turnbull
  • Target version set to 2.6.0

Updated by James Turnbull over 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review

Updated by James Turnbull over 2 years ago

  • Status changed from In Topic Branch Pending Review to Tests Insufficient

Updated by Andrew Forgue over 2 years ago

Now that I’ve gotten the hang of writing these tests, I will make some specific tests and update my branch.

Updated by Andrew Forgue over 2 years ago

Updated branch at http://github.com/ajf/puppet/commits/ticket/0.25.x/2805

  • Test cases
  • Support for pre-fetching

Updated by Andrew Forgue over 2 years ago

  • Status changed from Tests Insufficient to In Topic Branch Pending Review

Updated by James Turnbull over 2 years ago

Andrew – I sent your code to the -dev list for review.

Updated by Markus Roberts about 2 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

Updated by Markus Roberts about 2 years ago

  • Status changed from Merged - Pending Release to Closed

Updated by James Turnbull about 2 years ago

Pushed in commit:bca7e2c2cca97c33466609e299122c448e669b22 in branch master.

Also available in: Atom PDF