This class contains the definition for all the tablespaces you’d like on your system.

When these customizations aren’t enough, you can replace the class with your own class. See pg_profile::database for an explanation on how to do this.

Experience the Power of Puppet for Postgres

If you want to play and experiment with Puppet and Postgres, please take a look at our playgrounds. At our playgrounds, we provide you with a pre-installed environment, where you experiment fast and easy.

For Postgres   here at our playground...


Attribute Name Short Description
list A list of database tablespaces to define.


A list of database tablespaces to define.

The default value is: {}

This is a simple way to get started. It is easy to get started, but soon your hiera yaml become a nigtmare. Our advise is when you need to let puppet manage your Postgres tablespaces, to override this class and add your own puppet implementation. This is much better maintainable and adds more consistency.

Type: Hash

Back to overview of database::db_tablespaces