I meant move this logic to $::puppet::server and here simply replace $puppet::server::passenger with $puppet::server::use_service.