Issue #3018 has been updated by Daniel Kerwin.

Seems like the function insync? (modules Puppet type/package.rb), received 
version 5.0. I'm not sure where it comes from (my poor ruby skills aren't 
really helpful)
----------------------------------------
Bug #3018: mysql on Gentoo is installed on every run
http://projects.reductivelabs.com/issues/3018

Author: Daniel Kerwin
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: Gentoo
Target version: 
Affected version: 0.25.1
Keywords: 
Branch: 


mysql get#s installed on every run even it's installed. I added some debug 
messages to portage provider and i don't see a reason for it. Seems like it's a 
collision with virtual/mysql. Here's the debug output:

Jan  8 18:01:22 fb-a-gk-1 puppetd[4277]: 
(Puppet::Type::Package::ProviderPortage) Executing '/usr/bin/eix --nocolor 
--pure-packages --stable --format <category> <name> 
[<installedversions:LASTVERSION>] [<bestversion:LASTVERSION>] <homepage> 
<description>
Jan  8 18:01:22 fb-a-gk-1 puppetd[4277]: 
(Package[dev-db/mysql](provider=portage)) dev-db mysql [5.0.84-r1] [5.0.84-r1] 
http://www.mysql.com/ A fast, multi-threaded, multi-user SQL database server.

==> Seeme like all is fine: 5.0.84-r1 == 5.0.84-r1 (Debug message added by 
myself)

Jan  8 18:01:22 fb-a-gk-1 puppetd[4277]: (//mysql/Package[dev-db/mysql]/ensure) 
mysql "5.0" is installed, latest is "5.0.84-r1"

==> Why 5.0?

Jan  8 18:01:22 fb-a-gk-1 puppetd[4277]: (//mysql/Package[dev-db/mysql]) 
Changing ensure
Jan  8 18:01:22 fb-a-gk-1 puppetd[4277]: (//mysql/Package[dev-db/mysql]) 1 
change(s)
Jan  8 18:01:22 fb-a-gk-1 puppetd[4277]: 
(Puppet::Type::Package::ProviderPortage) Executing '/usr/bin/emerge 
dev-db/mysql'
Jan  8 18:01:58 fb-a-gk-1 puppetd[4277]: (//mysql/Package[dev-db/mysql]/ensure) 
ensure changed '5.0' to '5.0.84-r1'

I haven't found a way to solve this issue via manifest modification.

Thanks


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