Defined Type: profile::mariadb::section

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

Overview

Title should be the section name

Parameters:

  • section (Profile::Mariadb::Valid_section) (defaults to: $title)


2
3
4
5
6
7
8
9
10
# File 'modules/profile/manifests/mariadb/section.pp', line 2

define profile::mariadb::section(
    Profile::Mariadb::Valid_section $section = $title,
) {
    # Add the db section to the motd, directly after the system::role line.
    motd::script { "db-section-${title}":
        priority => 6,
        content  => "#!/bin/sh\necho 'DB section ${title}'\n",
    }
}