Puppet Class: profile::mariadb::generic_server

Defined in:
modules/profile/manifests/mariadb/generic_server.pp

Overview

Class: profile::mariadb::generic_server

Sets up a generic mysql (mariadb) server.

Parameters:

  • basedir (Stdlib::Unixpath) (defaults to: lookup(profile::mariadb::generic_server::basedir, {'default_value' => '/usr'}))
  • datadir (Stdlib::Unixpath) (defaults to: lookup(profile::mariadb::generic_server::datadir, {'default_value' => '/var/lib/mysql'}))


5
6
7
8
9
10
11
12
13
14
15
16
# File 'modules/profile/manifests/mariadb/generic_server.pp', line 5

class profile::mariadb::generic_server (
    Stdlib::Unixpath $basedir = lookup(profile::mariadb::generic_server::basedir, {'default_value' => '/usr'}),
    Stdlib::Unixpath $datadir = lookup(profile::mariadb::generic_server::datadir, {'default_value' => '/var/lib/mysql'}),
){

    class { '::mariadb::packages': }

    class { '::mariadb::config':
        basedir => $basedir,
        datadir => $datadir,
    }
}