Allow for different possible locations of the puppet binary inside the cronjob
Drop the sleep as it doesn't work on all shells
Updated Puppet to support following additional agent parameters:
* Pluginsync - defaults to true
* Splay - defaults to false
* Runinterval - defaults to 30. 

Added as parameters to init.pp so that can be set on class call. 
Updated puppet.conf.erb template to handle additional properties.
* Updated default run interval to seconds. 
* Converted lookupvar to use top-level param scoping.
Updated Puppet::init to support specifying a runmode:
* Added a $runmode param which defaults to 'service'.
* Created paramater in init class. 
* Added a case statement to config class to include relevant class based
on runmode value.
Updated to use 'include' rather than 'class', as won't break existing
setups which have puppet and puppet::cron defined.
Ensure that using top-level variable for $::puppet::runmode.
Make external_nodes a configurable parameter

In https://github.com/theforeman/puppet-foreman/pull/42 a parameter is
added, but this needs a way to configure it.
Issue 2036 - Updated auth.conf.erb and puppet.conf.erb to check for an
empty/nil puppetmaster var and fall back to fqdn.
Updated passenger install and created template files required for passenger config
add support for different storeconfigs backends
Added ca_server to params and puppet.conf template
Add noop mode.
End all the environments with /modules for dynamic git branches/librarian support.
Move the generate-ca-cert to puppet::server::config since it is not passenger specific. Also makes the httpd service to notify configureable.
Make sure the ssl dir exists. With a custom ssl_dir, cacert generation fails if it does not.
Split off rack setup of the passenger module for stand-alone use
If passenger is disabled and service_fallback is also disabled: no service pls!
Document the service_fallback, passenger and httpd_service parameters.
Make sure we configured rack before creating the vhost
Remove all unused parameters from the puppet class to avoid confusion