Changeset 1095

Show
Ignore:
Timestamp:
06/17/11 11:23:06 (11 months ago)
Author:
metrot
Message:

Un seul script install.sh pour Debian et CentOS
En mode devel install.sh pointe sur trunk et plus sur branches/1.x
Bugfix: slapd.conf etait copié dans /root/openldap_config

Location:
trunk
Files:
2 removed
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL

    r949 r1095  
    5252 
    5353  # wget --no-check-certificate -P /tmp \ 
    54 https://svn.math.cnrs.fr/placodev/tags/stable/install_debian.sh 
     54https://svn.math.cnrs.fr/placodev/tags/stable/install.sh 
    5555 
    5656* run it : 
    5757 
    58   # chmod +x /tmp/install_debian.sh 
    59   # /tmp/install_debian.sh 
     58  # chmod +x /tmp/install.sh 
     59  # /tmp/install.sh 
    6060 
    6161* reboot the host 
     
    9090   
    9191  # wget --no-check-certificate -P /tmp \ 
    92            https://svn.math.cnrs.fr/placodev/trunk/install_debian.sh 
     92           https://svn.math.cnrs.fr/placodev/trunk/install.sh 
    9393 
    9494* run it : 
    9595 
    96   # chmod +x /tmp/install_debian.sh 
    97   # /tmp/install_debian.sh -d wc_dir 
     96  # chmod +x /tmp/install.sh 
     97  # /tmp/install.sh -d wc_dir 
    9898 
    9999  where wc_dir is the choosen local svn working-copy directory for the 
  • trunk/install.sh

    r1094 r1095  
    181181then 
    182182  # mode devel 
    183   #lastest="trunk" 
    184   #depot=${repo}/trunk/ 
    185   lastest="branches/1.x" 
    186   depot=${repo}/branches/1.x/ 
     183  lastest="trunk" 
     184  depot=${repo}/trunk/ 
    187185  srcdir=${opt_d%%/} 
    188186  libdir=$srcdir/lib 
  • trunk/lib/middleware/install_ldap.sh

    r1094 r1095  
    77placomgr put config_initialtree_slapd /root/config_initialtree_slapd $* 
    88placomgr rexec install_slapd.ex $* 
    9 placomgr put config_slapd openldap_config $* 
     9placomgr put config_slapd {openldap_config} $* 
    1010placomgr rexec initialize_ldap_db.ex $* 
  • trunk/lib/template/config_slapd

    r1094 r1095  
    6363# rootdn directive for specifying a superuser on the database. This is needed 
    6464# for syncrepl. 
    65 # rootdn          "cn=admin,{!$ldap_root!}" 
     65rootdn          "cn=admin,{!$ldap_root!}" 
     66rootpw          "{!$ldap_root_pw!}" 
    6667 
    6768# Where the database file are physically stored for database #1