Puppet Class: openondemand::install

Defined in:
manifests/install.pp

Summary

Manage Open OnDemand install

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'manifests/install.pp', line 3

class openondemand::install {
  assert_private()

  package { 'ondemand':
    ensure => $openondemand::ondemand_package_ensure,
    notify => Exec['ood-portal-generator-generate'],
  }

  # Ensure changes to packaged sudo files and produced rpmnew
  # Are deleted in idempotent way
  include sudo
  Package['ondemand'] -> Class['sudo']

  package { 'ondemand-selinux':
    ensure => $openondemand::selinux_package_ensure,
  }

  if $openondemand::auth_type == 'dex' {
    package { 'ondemand-dex':
      ensure => $openondemand::ondemand_dex_package_ensure,
    }
  }
}