Added ldap_trustedcert variable to the sample hiera file.
Parameterised the log file location.
Added log directory to profile and hiera. Changed default deploy path.
Fixed trustedcert to always have file: at the start to avoid confusion in hiera.
Added config to create the log directory.
Simplified LDAP certificate.
Altered the static bits of the cas profile to use variables.
Fixed login issue by changing the principalId to 'uid'. Tidied file.