Puppet Class: ratticdb::mysql

Defined in:
manifests/mysql.pp

Summary

This will take care of installing and configuring mysql

Overview

This classed is not supposed to be called externally.



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/mysql.pp', line 3

class ratticdb::mysql {
  case $::osfamily {
    'debian': {
      exec { 'forceUpdatePackages':
        command => 'apt-get update',
        before  => Class['::mysql::server'],
        path    => '/usr/bin/',
      }
    }
    default: { }
  }
  class { '::mysql::server':
  }

  mysql::db { $::ratticdb::db_name:
    user     => $::ratticdb::db_user,
    host     => $::ratticdb::db_host,
    password => $::ratticdb::db_user_pwd,
  }
}