links:
  debian.server.installation::
    /etc/php5/apache2/php.ini ->! /etc/php5/apache2/php-debian-edu.ini

shellcommands:
  debian.server.installation::
      # Generate the snakeoil selfsigned certificate using the make-ssl-cert tool
      "/usr/sbin/make-ssl-cert generate-default-snakeoil"
      # Enabeling userdir, create a directory ~/public_html to make it awailable on web as http://tjener.intern/~username. 
      "/usr/sbin/a2enmod userdir"
      # Enableing ssl
      "/usr/sbin/a2enmod ssl"
      # Use our own default site configuration, and ssl site configuration. 
      "/usr/sbin/a2enconf debian-edu-config-doc.conf"
      "/usr/sbin/a2ensite debian-edu-default.conf"
      "/usr/sbin/a2ensite debian-edu-ssl-default.conf"
      # Enable sitesummary with cgi, workaround for bug #760084
      "/usr/sbin/a2enmod cgi"
      "/usr/sbin/a2enconf sitesummary.conf"
      # Disable the stock debian sitefile
      "/usr/sbin/a2dissite 000-default.conf"
      # Reload apache2 for changes to take effect
      "/usr/sbin/invoke-rc.d apache2 force-reload"

