Update puppet.rb

Assignment in condition - you probably meant to use `==`.<br>Use `&&` instead of `and`.