Issue #2134 has been updated by James Turnbull.

Target version changed from 0.25.6 to 0.25.5


----------------------------------------
Bug #2134: type maillist : cannot remove a list
http://projects.puppetlabs.com/issues/2134

Author: Cedric Jeanneret
Status: Duplicate
Priority: Normal
Assigned to: 
Category: maillist
Target version: 0.25.5
Affected version: 0.24.7
Keywords: maillist mailman
Branch: 


Hello,

I used maillist type, with mailman provider, to create some mailing list.. so 
far, so good, it works fine.
Then, I tried to remove one of the lists... According to 
http://reductivelabs.com/trac/puppet/wiki/TypeReference#maillist, we can add 
AND remove lists... but as far as I can see, we can only add lists :

err: //Node[cjeanneret.int.lsn.camptocamp.com]/Maillist[dev]/ensure: change 
from present to absent failed: Could not set absent on ensure: undefined method 
`destroy' for #<Puppet::Type::Maillist:0xb78b04cc> at 
/home/cjeanneret/puppetmaster/master/manifests/nodes/cjeanneret.int.lsn.camptocamp.com.pp:19

My node :
[snip...]
  maillist {"dev":
    ensure => absent,
    admin => "[email protected]",
    password => 'toto',
    description => 'titi',
    provider => mailman,
  }
[snip...]

Puppet version: 0.24.7
Puppetmaster version: 0.24.7-1.1

Any idea/hint?

Thanks.

Regards,

C.


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