Issue #2134 has been updated by cedric.jeanneret.

Here it is :

<pre>
/usr/lib/ruby/1.8/puppet/property.rb:474:in `set_absent'
/usr/lib/ruby/1.8/puppet/property.rb:163:in `send'
/usr/lib/ruby/1.8/puppet/property.rb:163:in `call_valuemethod'
/usr/lib/ruby/1.8/puppet/property.rb:349:in `set'
/usr/lib/ruby/1.8/puppet/property.rb:421:in `sync'
/usr/lib/ruby/1.8/puppet/transaction/change.rb:54:in `go'
/usr/lib/ruby/1.8/puppet/transaction/change.rb:72:in `forward'
/usr/lib/ruby/1.8/puppet/transaction.rb:118:in `apply_changes'
/usr/lib/ruby/1.8/puppet/transaction.rb:111:in `collect'
/usr/lib/ruby/1.8/puppet/transaction.rb:111:in `apply_changes'
/usr/lib/ruby/1.8/puppet/transaction.rb:83:in `apply'
/usr/lib/ruby/1.8/puppet/transaction.rb:239:in `eval_resource'
/usr/lib/ruby/1.8/puppet/util.rb:425:in `thinmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/1.8/puppet/util.rb:424:in `thinmark'
/usr/lib/ruby/1.8/puppet/transaction.rb:238:in `eval_resource'
/usr/lib/ruby/1.8/puppet/transaction.rb:310:in `evaluate'
/usr/lib/ruby/1.8/puppet/util.rb:425:in `thinmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/1.8/puppet/util.rb:424:in `thinmark'
/usr/lib/ruby/1.8/puppet/transaction.rb:309:in `evaluate'
/usr/lib/ruby/1.8/puppet/transaction.rb:303:in `collect'
/usr/lib/ruby/1.8/puppet/transaction.rb:303:in `evaluate'
/usr/lib/ruby/1.8/puppet/node/catalog.rb:124:in `apply'
/usr/lib/ruby/1.8/puppet/network/client/master.rb:256:in `run'
/usr/lib/ruby/1.8/puppet/util.rb:180:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/1.8/puppet/util.rb:179:in `benchmark'
/usr/lib/ruby/1.8/puppet/network/client/master.rb:255:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/1.8/puppet/network/client/master.rb:237:in `run'
/usr/sbin/puppetd:417
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:0xb6a6546c> at 
/etc/puppetmaster/master/manifests/nodes/cjeanneret.int.lsn.camptocamp.com.pp:19
</pre>


Regards,

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

Author: cedric.jeanneret
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.7
Keywords: maillist mailman


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://reductivelabs.com/redmine/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