Resource Type: pg_extension

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

Overview

With this type you can create,delete and manage Postgres extensions. Here is an example on how you could use this:

pg_extension { 'my_extension@instance':
  ensure            => 'present',
}

The ‘pg_extension` 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_extension` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.