Forge Home

hanaexpress

Manages multiple SAP HANA Express instances using Docker

4,380 downloads

4,380 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 3.0.0 (latest)
released Sep 4th 2019
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 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
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'dodevops-hanaexpress', '3.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dodevops-hanaexpress
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dodevops-hanaexpress --version 3.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.

Download

Documentation

dodevops/hanaexpress — version 3.0.0 Sep 4th 2019

SAP HANA Express docker hosting module

Build Status

This module manages multiple SAP HANA Express instances using Docker as described on the official SAP HANA Tutorials page.

Please note, that this module is in no means connected to SAP in any kind. Please don't ask them for support.

Usage

Puppet

Initialize the hanaexpress class with your login credentials for the Docker store:

class {
    'hanaexpress':
        store_username => 'my_user',
        store_password => 'my_password'
}

After that, initialize docker instances using the database type:

hanaexpress::database {
    'testhana1':
        version => '2.00.030.00.20180403.2',
        password => 'TestHanaExpress1',
        systemdb_port => 39017,
        tenantdb_port => 39041
}

This will configure and startup a HANA express which will be available by ports 39017 for the systemdb and 39041 for the tenantdb. The SYSTEM user will have the given password.

Hiera

This module directly supports hiera like this:

classes:
  - hanaexpress

hanaexpress::store_username: my_user
hanaexpress::store_password: my_password

hanaexpress-databases:
    testhana1:
        version: "2.00.030.00.20180403.2"
        password: 'TestHanaExpress1'
        systemdb_port: 39017
        tenantdb_port: 39041

Integration tests

Because HANA express requires a lot of resources, the integration tests can not be run locally or automatically. We have, however, set up a kitchen integration test, that runs on Azure. Check out the configuration docs if you want to start it. Additionally, you need a Docker store login and then run the tests like this:

AZURE_SUBSCRIPTION_ID=your-azure-subscription-id AZURE_LOCATION=azure-location STORE_USERNAME=Docker-store-username STORE_PASSWORD=Docker-store-password bundle exec kitchen test all