Ignore:
Timestamp:
Dec 23, 2009, 7:04:19 PM (13 years ago)
Author:
sebas
Message:

agregamos el comando para configurar el servicio ldap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-openldap/manifests/classes/server-slave.pp

    r449 r501  
    5454      mode    => 750;
    5555  }
     56
     57  exec{"slap_conf_update":
     58      command => "/etc/init.d/slapd stop && /bin/rm -r /etc/ldap/slapd.d/ &&  /bin/mkdir /etc/ldap/slapd.d && /usr/sbin/slaptest -f /etc/ldap/slapd.conf -F /etc/ldap/slapd.d/ && /bin/chown -R openldap:openldap /etc/ldap/slapd.d/ && /etc/init.d/slapd start",
     59      refreshonly => true,
     60      subscribe => File["/etc/ldap/slapd.conf"],
     61      require => File["/etc/ldap/slapd.conf"],
     62  }
     63
    5664 
    5765  file {
Note: See TracChangeset for help on using the changeset viewer.