Skip to content

Instantly share code, notes, and snippets.

View douglasdeodato's full-sized avatar

douglasdeodato

  • Dublin - Ireland
  • 02:33 (UTC +01:00)
View GitHub Profile
module.exports = function (grunt) {
var config = {};
//all tasks that must be loaded.
var tasks = [
'grunt-contrib-watch'
,'grunt-contrib-concat'
,'grunt-contrib-uglify'
,'grunt-contrib-sass'
,'grunt-contrib-htmlmin'
class http {
define apache::loadmodule () {
exec { "/usr/sbin/a2enmod $name" :
unless => "/bin/readlink -e /etc/apache2/mods-enabled/${name}.load",
notify => Service[apache2]
}
}
apache::loadmodule{"rewrite":}