Puppet Class: marklogic

Defined in:
manifests/init.pp

Overview

Class: MarkLogic

This class installs the MarkLogic server

Requires

[*puppetlabs-stdlib*](https://github.com/puppetlabs/puppetlabs-stdlib)
[*puppetlabs-firewall*](https://github.com/puppetlabs/puppetlabs-firewall)

Prerequisites

A YUM repository with the MarkLogic RPM packages must be configured for this module to function.
This is due to the [EULA](http://developer.marklogic.com/eula) which prevents redistribution of the packages,
forcing the user to maintain access to the packages.

Variables

admin_password

The default user password to create for HTTP authentication

*default*: admin
admin_user

The default username to create for HTTP authentication

*default*: admin
is_upgrade

Boolean to determine if the marklogic is in upgrade state. If it is, then the activation

needs to hit a special step to upgrade the current databases before continuing the
activation process.
licensee

The licensee information for the MarkLogic license information

license_key

The *license key* information for the MarkLogic license information

version

The version of MarkLogic to look for. MarkLogic will resemble *MarkLogic-version.x86_64.rpm*.

Examples

class { 'marklogic':
  admin_password  => 'legit1!',
  admin_user      => 'admin',
  licensee        => 'My Company',
  license_key     => '####-####-####-####-####',
  version         => '6.0-1.1'
}

Authors

Marcus Young <myoung34@my.apsu.edu>

Parameters:

  • admin_user (Any) (defaults to: 'admin')
  • admin_password (Any) (defaults to: 'admin')
  • disable_ec2_detection (Any) (defaults to: false)
  • is_development_license (Any) (defaults to: false)
  • is_upgrade (Any) (defaults to: false)
  • licensee (Any)
  • license_key (Any)
  • version (Any)


47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'manifests/init.pp', line 47

class marklogic (
  $admin_user             = 'admin',
  $admin_password         = 'admin',
  $disable_ec2_detection  = false,
  $is_development_license = false,
  $is_upgrade             = false,
  $licensee,
  $license_key,
  $version,
) {

  class { 'marklogic':
    version               => $version,
    disable_ec2_detection => $disable_ec2_detection,
  }

  class { 'marklogic::activator':
    admin_user             => $admin_user,
    admin_password         => $admin_password,
    is_development_license => $is_development_license,
    is_upgrade             => $is_upgrade,
    licensee               => $licensee,
    license_key            => $license_key,
    version                => $version,
  }
}