Fix typos in erb files ('@' required for variable names)
Newer versions of puppet don't have the old fact, use operatingsystemmajrelease instead