Issue #15886 has been updated by Rahul Gopinath.

We should not be overriding the newvalue in ensure (which ultimately results in 
having to use munge to convert from string to symbol in ensurable)

Another problem is that the aliased values does not work.
Below, eventhough ready is aliased to installed, it still goes ahead and tries 
to change it.

    # puppet resource zone z1 ensure=ready autoboot=false path=/export/z1
    /Zone[z1]/ensure: ensure changed 'installed' to 'ready'
    zone { 'z1':
    ensure   => 'installed',
    autoboot => 'false',
    iptype   => 'shared',
    path     => '/export/z1',
    }

----------------------------------------
Refactor #15886: refactor solaris zone type
https://projects.puppetlabs.com/issues/15886#change-69387

Author: Rahul Gopinath
Status: Investigating
Priority: Normal
Assignee: Rahul Gopinath
Category: provider
Target version: 3.x
Affected Puppet version: 
Keywords: solaris zone refactor state-machine
Branch: 


Currently, solaris zone type includes an adhoc implementation of a state 
machine tied intimately to the class. It would be nice to take refactor this 
out so that we can reuse it and test it more thoroughly.


-- 
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