Rewrite to use Hiera

This shouldn't break anyone's existing setups but allows overriding default values with whatever.