nwops / puppet-retrospec

The only tool you need to generate puppet code, tests, modules, facts, types, providers, data and everything else.
https://www.retrospec-puppet.com/
GNU Affero General Public License v3.0
137 stars 27 forks source link

Incompatible with puppet 4 when installing alongside puppet in a Gemfile #23

Closed logicminds closed 9 years ago

logicminds commented 9 years ago

This is somewhat of a rare case and can be worked around by just installing retrospect outside of bundler. The problem is that retrospec depends on hiera/facter since it vendors puppet 3.7. We can either vendor hiera/facter or see if we can just remove the dependencies all together since retrospect has no use for hiera or facter as its only required by puppet.

Bundler could not find compatible versions for gem "hiera":
  In Gemfile:
    puppet-retrospec (~> 0.7.2) ruby depends on
      hiera (~> 1.0) ruby

    puppet (= 4.1.0) ruby depends on
      hiera (2.0.0)
logicminds commented 9 years ago

I removed the dependencies since puppet was not using them.