Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dodevops/puppet-hanaexpress
A Puppet module for running SAP Hana express in a dockerized environment
https://github.com/dodevops/puppet-hanaexpress
docker puppet puppet-module sap-hana-express
Last synced: 7 days ago
JSON representation
A Puppet module for running SAP Hana express in a dockerized environment
- Host: GitHub
- URL: https://github.com/dodevops/puppet-hanaexpress
- Owner: dodevops
- Created: 2018-07-05T07:11:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T14:02:28.000Z (over 5 years ago)
- Last Synced: 2024-05-09T22:50:14.123Z (9 months ago)
- Topics: docker, puppet, puppet-module, sap-hana-express
- Language: Ruby
- Homepage: https://forge.puppet.com/dodevops/hanaexpress
- Size: 88.9 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# SAP HANA Express docker hosting module
[![Build Status](https://travis-ci.org/dodevops/puppet-hanaexpress.svg?branch=master)](https://travis-ci.org/dodevops/puppet-hanaexpress)
This module manages multiple SAP HANA Express instances using Docker as described on the [official SAP HANA Tutorials page](https://www.sap.com/developer/tutorials/hxe-ua-install-using-docker.html).
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:
- hanaexpresshanaexpress::store_username: my_user
hanaexpress::store_password: my_passwordhanaexpress-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](https://github.com/test-kitchen/kitchen-azurerm#configuration) 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