Issue #6143 has been updated by James Turnbull. Target version changed from 2.6.6 to 2.6.x
---------------------------------------- Bug #6143: cannot remove zpool's with ensure => absent https://projects.puppetlabs.com/issues/6143 Author: Garrett Honeycutt Status: Accepted Priority: Normal Assignee: Category: Target version: 2.6.x Affected Puppet version: Keywords: zpool solaris zfs Branch: <pre> zpool { "mypool": ensure => present, disk => "c1t1d0", } </pre> works as expected and produces <pre> info: Applying configuration version '1296814477' cannot open 'mypool': no such pool notice: /Stage[main]//Zpool[mypool]/ensure: created notice: Finished catalog run in 0.42 seconds </pre> <pre> # zpool list NAME SIZE ALLOC FREE CAP HEALTH ALTROOT mypool 1008M 76.5K 1008M 0% ONLINE - </pre> though when you set <pre>ensure => absent</pre> you get <pre> err: /Stage[main]//Zpool[mypool]/ensure: change from present to absent failed: Could not set 'absent on ensure: undefined method `destroy' for #<Puppet::Type::Zpool:0x8c9d2d8> at /root/manifests/zfs.pp:4 </pre> tested with Puppet 2.6.4 built from master branch -- 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.
