If you attempt to install_puppet to a non-supported platform it should raise an error.

You should also check for the presence of wget/rpm to ensure that they are present before you make use of them.