Puppet Class: pg_profile::secured_database

Defined in:
manifests/secured_database.pp

Summary

This is a highly customizable Puppet profile class to define an Secured Postgres database on your system.

Overview

pg_profile::secured_database

In it’s core just adding:

“‘ contain pg_profile::secured_database “`

Is enough to get a secured Postgres database running on your system.

This profile class is based on the more generic [‘pg_profile::database`](./database.html) class, but extends this class with securing the database conforming to the Postgres Center for Internet Security (CIS) rules.

See the file “LICENSE” for the full license governing this code.



18
19
20
21
# File 'manifests/secured_database.pp', line 18

class pg_profile::secured_database() {
  contain pg_profile::database
  include pg_profile::database::cis_controls
}