Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Duplicate
-
PUP 3.5.1
-
None
-
None
-
None
-
CentOS 6.5
Description
I had working code to install Percona MySQL server after removing mysql and mysql-devel. The example below worked with puppet 3.4.3, but with 3.5.1 it doesn't. Reverting to 3.4.3 did fix this problem. The problem is that 3.5.1 is now doing a --whatprovides on the second run, and it sees Percona-Server-client-55-5.5.34-rel32.0.591.rhel6.x86_64. It then tries to remove it, but then it is a requirement of Percona-Server-server-55-5.5.34-rel32.0.591.rhel6.x86_64.
I found multiple bug reports of why whatprovides was added, but at least I need a way to disable it's use for this case, or revert and add whatprovides as a resource of package.
Example:
$removemysqlpackages = [
'mysql',
'mysql-devel',
]
package
{ $removemysqlpackages: ensure => 'absent', } $perconapackages = [
'Percona-Server-client-55',
'Percona-Server-server-55',
'Percona-Server-shared-55',
'Percona-Server-shared-compat',
'Percona-Server-devel-55',
]
package
{ $perconapackages: ensure => 'installed', require => [ Group['mysql'], Package[$removemysqlpackages], ], }Attachments
Issue Links
- duplicates
-
PUP-2182 Package resource not working as expected in 3.5.0
-
- Closed
-