diff options
-rw-r--r-- | manifests/server.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index 788654f..3417119 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -1,5 +1,6 @@ class mysql::server( - $rootpw = hiera('mysql::server::rootpw', '') + $rootpw = hiera('mysql::server::rootpw', ''), + $implementation = 'mysql-server', # 'mariadb-server' ){ case $rootpw { '': { fail("You need to define a mysql root password! Please set mysql::server::rootpw config") } @@ -8,6 +9,7 @@ class mysql::server( include mysql package { "mysql-server": + name => $implementation, ensure => installed, } |