Forge Home


IBM DB2 installation on linux


259 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.0 (latest)
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.0
released Jun 12th 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_install', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install enterprisemodules-db2_install --version 1.0.0

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_install — version 1.0.0 Jun 12th 2023

Enterprise Modules

Table of Contents

  1. Overview
  2. License
  3. Description - What the module does and why it is useful
  4. Setup
  1. Usage - Configuration options and additional functionality
  2. Reference - An under-the-hood peek at what the module is doing and how
  3. Limitations - OS compatibility, etc.


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

  • db2_config For configuring every aspect of your IBM DB2 database
  • db2_scured 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 IBM DB2 versions 9, 10 and 11.


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.


The db2_install module contains all Puppet classes, defined types and custom types needed to install IBM DB2 a system. Instead of writing complex Bash scripts, using this module, you can now define your IBM DB2 software installation in an easy, declarative way.

All knowledge required to install and manage your IBM DB2 installation is coded into the Puppet modules. This means you can focus on the "what" and leave the implementation details to our modules.

Our modules support a broad range of IBM DB2 versions. We are committed to making our modules work on future releases. This allows our customers an easy upgrade path from older to newer versions.

The module has support for:

  • software Ensure the correct version of IBM DB2 software is installed.
  • fixpack Ensure the correct DB2 fixpack is installed.



The db2_install module requires:

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

Installing the db2_install module

To install these modules, you can use a Puppetfile

mod 'enterprisemodules/db2_install', 'x.x.x'

Then use the librarian-puppet or r10K to install the software.

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

puppet module install enterprisemodules-db2_install


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


You can find some more information here regarding this Puppet module:


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