Validation

Added validation to check IP and for the file before running any puppet
commands
spelling (firmwre)