Forge Home


the types and providers needed to manage all objects inside an DB2 database.


263 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.1 (latest)
  • 1.0.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jun 9th 2023
This version is compatible with:
  • Puppet Enterprise 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.0.0 < 9.0.0
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'enterprisemodules-db2_config', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add enterprisemodules-db2_config
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install enterprisemodules-db2_config --version 1.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Tags: database, ibm, db2


enterprisemodules/db2_config — version 1.0.1 Jun 9th 2023

Enterprise Modules

Table of Contents


This module allows you to configure and manage DB2 database. It is part of our family of Puppet modules to install, manage and secure DB2 databases with Puppet. Besides the db2_config module, this family also contains:

  • db2_install For installing an DB2 databases.
  • secured To secure your databases according to the CIS benchmarks.
  • db2_profile The db2_profile module allows an easy path from first simple installation to a fully customized Enterprise setup.

All of these modules support DB2 versions 9, 10 and 11 all fixpack levels


This is a commercially licensed module. But you can use the module on VirtualBox based development systems for FREE. You can request a FREE trial license here


Check the License for details.


This module allows you to manage everything there is to manage in an DB2 database. For example you can manage: users, tablespaces and schemas and much more. The module contains the following types:

When you need to configure a DB2 HADR setup, and you are using the Pacemaker cluster manager, the db2_config modules supports you as well. db2_config knows the following Pacemaker resources:

Check here to see the full documentation for this module.



The db2_config module requires:

  • Puppet module enterprisemodules-easy_type installed.
  • Puppet version 4.0 or higher. Can be Puppet Enterprise or Puppet Open Source
  • DB2 version 9 higher
  • A valid DB2 license
  • A valid Enterprise Modules license for usage.
  • Runs on most Linux systems.

Installing the db2_config module

To install these modules, you can use a Puppetfile

mod 'enterprisemodules/db2_config'               ,'0.1.x'

Then use ther10K to install the software.

You can also install the software using the puppet module command:

puppet module install enterprisemodules-db2_config


Building a total DB2 setup requires quite some work. To help you, we have built some examples. The repo contains a demonstration of a simple database installation.


Here you can find some more information regarding this puppet module:


This module runs on most Linux versions. It requires a puppet version higher than 4. Other configurations are not (yet) supported.