diff options
author | mh <mh@immerda.ch> | 2015-01-10 01:50:39 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-01-10 01:50:39 +0100 |
commit | 553831bf3440fb139b9e95616d9dc79728ec2669 (patch) | |
tree | 25aad96bc714d328a1b1e740fe477b37c390728e /manifests/client | |
parent | c06abd681ce71893466b29390e1199c293cdd37e (diff) |
on EL7 there is now mariadb
Diffstat (limited to 'manifests/client')
-rw-r--r-- | manifests/client/base.pp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/manifests/client/base.pp b/manifests/client/base.pp index b09b90e..8106ded 100644 --- a/manifests/client/base.pp +++ b/manifests/client/base.pp @@ -1,7 +1,13 @@ # basic mysql client stuff class mysql::client::base { package { 'mysql': - ensure => present, - alias => 'mysql-client', + ensure => present, + alias => 'mysql-client', + } + if $::operatingsystem in ['RedHat', 'CentOS'] and + $::operatingsystemmajrelease > 6 { + Package[mysql]{ + name => 'mariadb' + } } } |