Config file will remain at /etc/r10k.yaml to not create duplicates wi…
…th pe_r10k module
Added support for BitBucket merge hooks
Added name tag to JSON for module pullrequest body
192 - Support BitBucket PullRequest Merge
After discussion with Zack, I moved the JSON data changes for pulling branch name and repository name back into the logic evaluation inline. I removed the references to the git_provider configuration setting and pulled it from params and the webhook config.
In the OR logic clause for parsing the JSON hash, the code was throwing NoMethodError for accessing hash levels deeper than the first that did not exist. This was causing the code to prematurely exit. I added an inline rescue to rewrite it as nil to progress to the next step in the OR logic clause wherever this could happen.
First commit of future proofing zack/r10k
This is the first commit to see if Zack is happy with the direction I am taking the future proofing of this module against PE 4. Intent is to keep it working with one previous version of PE as well.
Per a discussion with Zack $::puppetversion must be relied on since it is the only piece of info consistent between versions of PE. Altered code to utilizie this fact more thoroughly. Second commit Per a discussion with Zack $::puppetversion must be relied on since it is the only piece of info consistent between versions of PE. Altered code to utilizie this fact more thoroughly.
Updated to include new feature branch sg_future_proof to Travis CI.
Updated to reflect proper icon for Travis CI testing.
Updated install_spec.rb test to include necessary ::puppetversion fact.
Setting is_pe to '' since it will eval to true on < PE 4.0
Updated conditional for installing package based on if < PE 3.8.0
Reverting install_spec.rb back to original version.
Checking if SUSE test requires the addition of r10k::params in install_spec.rb
Updated pe_gem.pp to use ::puppetversion rather than ::pe_version which is not future proofed.
Include JRuby in 1.9 mode to test for Puppetserver compatibility (Pup…
…pet version ~> 3.7 only)