How to install system package and gem with the same name? [closed]
I would like to install redis debian package and ruby wrapper for redis, unfortunately both have same name.
Basically the code looks like this:
package { 'redis':
ensure => 'installed',
name => 'redis',
}
package { 'redis-gem':
ensure => 'installed',
name => 'redis',
provider => 'gem',
}
I wasn't able to convince puppet, that those are different resources:
Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Package[redis-gem] to ["redis"]; resource ["Package", "redis"] already declared
Is there a way how to bypass this?