The new template uses an alias for the proxying
Puppet upstart provider is fail.

Puppet is looking for rstudio-server{.sh,} in /etc/init.d (which
doesn't exist) and then fails.  Specifying the start, stop, restart
and status commands explicitly prevents puppet from looking for the
non-existent scripts.

While we're specifying commands, we might as well point them
directly at the rstudio-server script that upstart points at.
Tweak rstudio::proxy

The nginx::site template is ignoring 'elsif @ssl', so a workaround
is to simply specify port number 443 in the rstudio::proxy definition.
Add missing dependencies to rstudio.
tweaking rstudio module to allow for different server name from fqdn
Copy these to local variables

The current puppet templating guide recommends copying to local variables
whenever you need to test for undefined variables in .erb templates.
Change templates to test for the local vars.