specify environment fact based on $puppet::agent::environment
replace useflag_group_apache with just apache fact

Add it in webservice/init module and include it where needed