syntax error, use $::operatingsystem for top-level variables.

Seeing this error:

_err: Could not parse for environment production: Syntax error at '='; expected ']' at /puppet-environments/modules/nsswitch/manifests/params.pp:76
err: Try 'puppet help parser validate' for usage_

...and fixed.