Resource Type: pg_tablespace

Defined in:
lib/puppet/type/pg_tablespace.rb
Providers:
simple

Overview

This puppet type allows you to create drop and manage postgres tablespaces. Here is an example on how you could use it:

pg_tablespace {'my_ts@instance:
  location => '/u01/pg_data',
  owner    => 'my_role',
}

The ‘pg_tablespace` type recognises all of the options you also have when using SQL to create a user or a role.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • provider

    The specific backend to use for this ‘pg_tablespace` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.