1

How can i ensure that the latest patch version of 5.5 will be installed by the yum installer under CentOS?

class { '::mysql::server':
    package_ensure => '5.5.*'
}
1
  • What happened when you tried that? Commented Oct 22, 2014 at 2:49

1 Answer 1

1

Assuming you have a yum plugin installed, a block as simple as:

package { 'mysql-server' : ensure => '5.5' , }

should work. You may have to add a repository that includes the package you need through the yum plugin. If there is a specifically named version of the package (for example mysql55w in the webtatic repo) then you just need to ensure it is installed:

package { 'mysql55w' : ensure => 'present' , }

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .