bstopp/puppet-aem

View on GitHub
docs/dispatcher/Default-Farm.md

Summary

Maintainability
Test Coverage
# Dispatcher

## Default Dispatcher Farm Example

This example creates a default Farm definition:

~~~ puppet
aem::dispatcher::farm { 'site' :
  docroot => '/var/www',
}
~~~

This definition will create a file *dispatcher.site.any* with the following contents:

~~~
/anothersite {

  /clientheaders {
    "*"
  }

  /virtualhosts {
    "*"
  }

  /renders {
    /renderer0 { 
      /hostname "localhost"
      /port "4503"
    }
  }

  /filter {
    /0 { /type "allow" /glob "*" }
  }

  /cache {

    /docroot "/var/www"

    /rules {
      /0 { /type "deny" /glob "*" }
    }

    /invalidate {
      /0 { /type "allow" /glob "*" }
    }

    /allowedClients {
      /0 { /type "allow" /glob "*" }
    }
  }
}
~~~