Issue #4296 has been updated by Ben Hughes.

Category changed from Solaris to settings
Status changed from Investigating to Closed

In light of that I'll close this.

I'm adding some light documentation to it too. So hopefully should be clearer 
too.

If you do get a chance to upgrade to 2.6 or beyond and it still exhibits this 
issue, please reopen this. Thanks.
----------------------------------------
Feature #4296: Zone type should have defrouter parameter
https://projects.puppetlabs.com/issues/4296

Author: John Lyman
Status: Closed
Priority: Normal
Assignee: Ben Hughes
Category: settings
Target version: 
Affected Puppet version: 0.25.5
Keywords: 
Branch: 


Currently, the only way to set the default router in a shared-ip zone using 
puppet is to use an exec after the zone is created.  For example:
<pre>
exec { "set_${name}_gw":
    command => "zonecfg -z $name \"select net address=$ip ; set defrouter=$gw ; 
end\"",
    unless  => "zonecfg -z $name info net address=$ip | /usr/xpg4/bin/grep -q 
\"defrouter: ${gw}\"",
    require => Zone["$name"],
    notify  => Exec["reboot_${name}"],
}
</pre>

Changing the defrouter this way requires that the zone be reboot.

Since Solaris 10 update 6, the default router can be configured by setting the 
"defrouter" parameter in zonecfg.  It would be nice if puppet's zone type 
provided this functionality so that the default router could be set when the 
zone is created.

See also 
http://groups.google.com/group/puppet-users/browse_thread/thread/f8fb0fc7924ca67b.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to