move global variables to hiera
new style for 2.7
take hiera out of the params