Update init.pp

Move conditional logic into sdk class