jamtur01/puppet-irc — pull request #5 by guzmanbraso (2012-09-11 21:21:36+00:00)
Title: CarrierPigeon register_first support and show environment

Hi,

Two patches inside this pull request:

1) CarrierPigeon merged a week ago a new option to deal with IRC servers that require user to reply ping requests before being able to submit a message. This patch add supports for it in puppet-irc, in irc.yaml I choosed irc_register_first as the option name to keep it friendly with all other irc options, inside irc.rb it's translated into the right option. Also updated irc.yaml example and readme.

2) Since 2.7.12 puppet reports send the environment in which it was run, below is a patch that prints the environment in each string in the middle of "Puppet run". Also added a check so in case environment is null variable gets "production".

My tests were with puppet 2.7.18 and latest CarrierPigeon from github. Hope everything's ok :)