```ruby
 h.puppet_proxy_id = puppet_proxy_id || SmartProxy.puppet_proxies.first.try(:id)
```