Puppet Class: isp3node::phpmyadmin

Defined in:
manifests/phpmyadmin.pp

Summary

Setup phpMyAdmin

Overview

Install phpMyAdmin and configure required nginx settings to access the database explorer on FQDN/phpmyadmin Also add the link to the default page on this host

Examples:

include isp3node::phpmyadmin

Parameters:

  • frontend (Boolean) (defaults to: false)


9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'manifests/phpmyadmin.pp', line 9

class isp3node::phpmyadmin(
  Boolean $frontend = false,
) {
  class{'isp3node::phpmyadmin::setup': frontend => $frontend}
  if ($frontend) {
    class{'isp3node::phpmyadmin::config::nginx':}

    isp3node::nginx::startpageentry { 'phpmyadmin':
      verbose_name => 'Database',
      path         => '/phpmyadmin',
    }

    # Ordering
    Class['isp3node::phpmyadmin::setup']
    -> Class['isp3node::phpmyadmin::config::nginx']
  }
}