Added $basename variable to rclocal::script
Added $basename variable to rclocal::script

Now it is possible to have, and select between, more than one rc.local.d
template in one module. This is identical to what monit::fragment does. As
$basename defaults to $modulename, existing modules will not break or require
modifications. This commit contains code (C) Samuli Seppänen taken from the
monit module.

Signed-off-by: Samuli Seppänen <be49b59234361de284476e9a2215fb6477f46673@openvpn.net>
Signed-off-by: Samuli Seppänen <34cd69fd1edf1dbeb60d8f1ed9a92a19d78eb447@gmail.com>

Puppet-Finland/rclocal,Puppet-Finland/rclocal