Skip to content

Commit

Permalink
Relax gem dependencies on Facter and Hiera
Browse files Browse the repository at this point in the history
Without this patch applied an older version of Hiera is
automatically installed as a dependency installing Puppet.  This is a
problem because there are important bug fixes happening in later minor
versions of Hiera.  The same is true of Facter.  The cause of the
problem is a tight specification of `gem :hiera, "~> 1.0.0"` which means
"greater than 1.0.0 but less then 1.1.0".  1.1.2 is the current latest
bug fix version of Hiera.

This patch fixes the problem by relaxing the dependency to "~> 1.0"
which means "greater than 1.0.0 and less than 2.0.0"
  • Loading branch information
Jeff McCune committed Jan 7, 2013
1 parent 46b811c commit 8e38dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/project_data.yaml
Expand Up @@ -15,8 +15,8 @@ gem_executables: 'puppet'
gem_default_executables: 'puppet' gem_default_executables: 'puppet'
gem_forge_project: 'puppet' gem_forge_project: 'puppet'
gem_runtime_dependencies: gem_runtime_dependencies:
facter: '~> 1.6.11' facter: '~> 1.6'
hiera: '~> 1.0.0' hiera: '~> 1.0'
gem_rdoc_options: gem_rdoc_options:
- --title - --title
- "Puppet - Configuration Management" - "Puppet - Configuration Management"
Expand Down

0 comments on commit 8e38dd9

Please sign in to comment.