Puppet Class: one::oned::sunstone::ldap

Defined in:
manifests/oned/sunstone/ldap.pp

Overview

Class one::oned::sunstone::ldap

Installation and Configuration of OpenNebula opennebula.org/

Author

ePost Development GmbH © 2013

Contributors:

  • Martin Alfke

  • Achim Ledermueller (Netways GmbH)

  • Sebastian Saemann (Netways GmbH)

License

Apache License Version 2.0 www.apache.org/licenses/LICENSE-2.0.html



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'manifests/oned/sunstone/ldap.pp', line 19

class one::oned::sunstone::ldap {
  package { $one::params::oned_sunstone_ldap_pkg:
    ensure => present,
  }
  file { '/etc/one/auth/ldap_auth.conf':
    ensure  => 'present',
    owner   => 'root',
    group   => 'oneadmin',
    mode    => '0640',
    content => template('one/ldap_auth.conf.erb'),
    notify  => Service['opennebula'],
  }
  file { '/var/lib/one/remotes/auth/default':
    ensure  => link,
    owner   => 'oneadmin',
    group   => 'oneadmin',
    target  => '/var/lib/one/remotes/auth/ldap',
    require => File['/etc/one/auth/ldap_auth.conf'],
  }
}