The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
Add support for branded zones
|Assignee:||James Turnbull||% Done:|
|Affected Puppet version:||0.24.5||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This patch adds two new parameters on the zone type, and the backing provider support. The parameters are create_args and install_args. These are passed to the zonecfg create and zoneadm install commands, respectively. I implemented these so that I could create solaris8 branded zones, but it’s probably useful for other things, including linux branded zones, and anything else you’d want to pass these arguments in for.
#3 Updated by Andrew Shafer almost 7 years ago
There are no tests for this. (not just for the patch, at all)
I think I can get them spec’d up this week.
Not knowing anything at all about branded zones (and not much more about zones for that matter) it’s hard for me to judge what is the most appropriate way to manage them. But… I think it is worth exploring managing these with a little more semantic detail.
The commands should not be a single ‘space’ delimited string, at least pass in any array.
The zone provider also has no way to really manage zone attributes. It looks like the management is only one direction and can’t go back to change the attributes of a zone that already exists. That’s a limitation for the moment, but solving that generically seems like a good idea. (but probably not for this simple patch.)
I’d like to talk with coneill about what the command actually look like and then decide if it makes sense to break them out into parameters in the type.