boxen/puppet-repository — pull request #5 by dgoodlad (2013-04-16 13:28:15+00:00)
Title: Don't crash when config is nil; Fixes #4

Without this early return, a nil `@resource[:config]` would raise NoMethodError when friendly_config tried to iterate using `#each`. See #4 for an example.