Issue #1398 has been updated by jamtur01.

Status changed from Rejected to Accepted
Assigned to set to luke
Target version set to unplanned


----------------------------------------
Feature #1398: Common package name in two different providers
http://reductivelabs.com/redmine/issues/show/1398

Author: lludwig
Status: Accepted
Priority: Normal
Assigned to: luke
Category: package
Target version: unplanned
Keywords: package alias
Complexity: Unknown
Patch: None
Affected version: 0.24.4


I have a common package name, that's in two different package managers
(one with yum the other with gem)

        package { "remove-mysql":
                name     => "mysql",
                provider => "yum",
                ensure   => absent,
        }

---------------------------------------------------------

        package { "gem-mysql":
                name    => "mysql",
                ensure   => "2.7",
                provider => gem,
        }
---------------------------------------------------------

I get this error.

Jul  3 08:43:34 puppetd[11872]: Could not retrieve catalog:
Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot
alias Package[gem-mysql] to mysql; resource Package[mysql] already
exists at /etc/puppet/modules/ruby-mysql/manifests/init.pp:11 on node 


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