You need to add sslport as a new class parameter in init.pp otherwise the references to $apache::sslport fail.