Update init.pp

fixed use of warning/fail functions for os support