Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Latest commit

 

History

History
41 lines (36 loc) · 1.63 KB

README.md

File metadata and controls

41 lines (36 loc) · 1.63 KB

osiam-puppet

This repository conatins the OSIAM Puppet Manifest.

The manifest currently deploys the OSIAM osiam-server war files to an existing application server (tested with Tomcat 7) and initializes the database when $ensure is set to "present" or removes the files from their installation directories and cleans the database when $ensure is set to "absend". By default this module will install and configure PostgreSQL 9.2 and Tomcat 7.

Prerequisite

Host:

  • OS: Centos 6, Debian
  • maven
  • unzip

Usage

Use the following example to install everything including PostgreSQL 9.2 and Tomcat 7. This will install OSIAM version and initialize the database 'osiam' on the same maschine. War files will be deployed to /var/lib/tomcat7/webapps

  class { 'osiam':
        ensure  => present,
        version => '<OSIAM-VERSION>',
  }

If you want to manage your database and application server by yourself use this example:

  class { 'osiam':
        ensure          => present,
        version         => '<OSIAM-VERSION>',
        installdb       => false,
        dbhost          => '<database_host>',
        dbname          => '<database_name>',
        dbuser          => '<database_user>',
        dbpassword      => '<database_password>',
        installas       => false,
        webappsdir      => '<webapps_directory>',
        owner           => '<application_server_owner>',
        group           => '<application_server_group>',
  }

Further usage information can be found in the manifest's header.