Sha256: b9790738142f90bdfa6c336669a827110cf694bab1344a4aca0c061a454c941e

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

# == Class: profile::eyeunify::base
#
class profile::eyeunify::base (
  String $xmx                 = '512m',
  String $xms                 = '256m',
  String $management_user     = 'admin',
  String $management_password = 'hunter2'
) {
  package { 'wget':
    ensure => present,
    before => Class['profile::eyeunify::core::database_connection'],
  }

  class { '::java':
    distribution => 'jre',
  }

  class { '::wildfly':
    java_home      => '/usr/lib/jvm/jre-1.8.0',
    java_xmx       => $xmx,
    java_xms       => $xms,
    external_facts => true,
    mgmt_user      => {
      'username' => $management_user,
      'password' => $management_password,
    },
    properties     => {
      'jboss.bind.address'            => '0.0.0.0',
      'jboss.bind.address.management' => '0.0.0.0',
      'jboss.management.http.port'    => '9990',
      'jboss.management.https.port'   => '9993',
      'jboss.http.port'               => '8080',
      'jboss.https.port'              => '8443',
      'jboss.ajp.port'                => '8009',
    },
  }

  # Create cache directory
  file { '/var/cache/wget':
    ensure => directory,
    before => Class['::wildfly'],
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/base.pp
onceover-3.22.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/base.pp