Split out the different ssl files into variables for re-use and use local variables.

Using local variables is the suggested way to work around has_variable? since it does
not seem to be stable for undef values.
See http://docs.puppetlabs.com/guides/templating.html#testing-for-undefined-variables
Surpress some warnings and use (local) $user