summaryrefslogtreecommitdiff
path: root/manifests/client
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2015-01-10 01:50:39 +0100
committermh <mh@immerda.ch>2015-01-10 01:50:39 +0100
commit553831bf3440fb139b9e95616d9dc79728ec2669 (patch)
tree25aad96bc714d328a1b1e740fe477b37c390728e /manifests/client
parentc06abd681ce71893466b29390e1199c293cdd37e (diff)
on EL7 there is now mariadb
Diffstat (limited to 'manifests/client')
-rw-r--r--manifests/client/base.pp10
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'
+ }
}
}