Issue #11562 has been updated by Yannick Menager.

Status changed from Needs More Information to Closed

I've manually upgrade puppet to latest (the version in ubuntu 11.10 is 2.7.1), 
and it fixed the problem
----------------------------------------
Bug #11562: Custom puppet type failing depending on it's name
https://projects.puppetlabs.com/issues/11562

Author: Yannick Menager
Status: Closed
Priority: Urgent
Assignee: Yannick Menager
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I'm going insane trying to get some puppet custom types working. Some worked, 
then some were working, and then stopped working

After spending several days trying all different things, I've reduced things to 
a point where it seems that that two types with the exact same code and 
different names fails... WTF ???

So i've got two types with providers
type/foo.rb with provider/foo/baa.rb
and type/glassfishjdbcpool.rb with provider/glassfishjdbcpool/bee.rb

I run an agent on a node with the following:

<pre>
    foo { "test1" : }
    glassfishjdbcpool { "test2" : }
</pre>

Foo works, glassfishjdbcpool fails.... :( :( Help

<pre>
notice: /File[/var/lib/puppet/lib/puppet/provider/foo]/ensure: created
notice: /File[/var/lib/puppet/lib/puppet/provider/asadmin.rb]/ensure: removed
notice: /File[/var/lib/puppet/lib/puppet/provider/glassfishjdbcpool]/ensure: 
created
notice: 
/File[/var/lib/puppet/lib/puppet/provider/glassfish_jvmopt/asadmin.rb]/content: 
content changed '{md5}ee388e0b833ae358c88c872a8a137146' to 
'{md5}2ae0135cacf840097992051dd47736ef'
notice: /File[/var/lib/puppet/lib/puppet/provider/foo/baa.rb]/ensure: defined 
content as '{md5}bf62e78d7e91f184b1d738489a520ded'
notice: 
/File[/var/lib/puppet/lib/puppet/provider/glassfish_domain/asadmin.rb]/content: 
content changed '{md5}507159b81b6b683655a925b4ff79822d' to 
'{md5}00a817c39b82d52d1d5b7c6c010fbb3a'
notice: 
/File[/var/lib/puppet/lib/puppet/provider/glassfishjdbcpool/bee.rb]/ensure: 
defined content as '{md5}0f72878beb6731aab34900a344af34b1'
notice: /File[/var/lib/puppet/lib/puppet/type/glassfishjdbcpool.rb]/ensure: 
defined content as '{md5}f5af8b2866763379acf9a9b8f395d57e'
notice: /File[/var/lib/puppet/lib/puppet/type/foo.rb]/ensure: defined content 
as '{md5}d27f4d9bc000fa5e02780f510076ce75'
info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/foo.rb
info: Loading downloaded plugin 
/var/lib/puppet/lib/puppet/provider/glassfishjdbcpool/bee.rb
info: Loading downloaded plugin 
/var/lib/puppet/lib/puppet/type/glassfishjdbcpool.rb
info: Redefining glassfishjdbcpool in Puppet::Type
info: Loading downloaded plugin 
/var/lib/puppet/lib/puppet/provider/glassfish_domain/asadmin.rb
info: Loading downloaded plugin /var/lib/puppet/lib/puppet/provider/foo/baa.rb
info: Loading downloaded plugin 
/var/lib/puppet/lib/puppet/provider/glassfish_jvmopt/asadmin.rb
info: Caching catalog for ktfrontend.localdomain
info: Applying configuration version '1324744946'
notice: /Stage[main]/Opendj/Exec[Update OpenDJ Admin Password]/returns: 
executed successfully
err: /Stage[main]/Kloudtek::Portal-and-services/Glassfishjdbcpool[test2]: Could 
not evaluate: No ability to determine if glassfishjdbcpool exists
info: Foo[test1](provider=baa): EXISTS?
notice: Finished catalog run in 7.90 seconds
</pre>


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