Puppet Class: profile::debmonitor::localdb
- Defined in:
- modules/profile/manifests/debmonitor/localdb.pp
Summary
This profile installs a local mysql DB for debmonitor-devOverview
SPDX-License-Identifier: Apache-2.0
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'modules/profile/manifests/debmonitor/localdb.pp', line 3
class profile::debmonitor::localdb ()
{
ensure_packages('mariadb-server')
# Puppetise a config snippet to ensure that mariadb not only
# listens on localhost, but also on it's full IP (as required
# by the DB grants)
file { '/etc/mysql/mariadb.conf.d/70-bind-on-full-ip.cnf':
mode => '0644',
content => template('profile/debmonitor/mariadb.erb'),
require => Package['mariadb-server'],
}
}
|