hiera-puppet no longer installs

75 views
Skip to first unread message

Thomas Hallgren

unread,
Aug 29, 2012, 12:26:15 AM8/29/12
to puppet...@googlegroups.com
I'm unable to install hiera-puppet. Seems it requires hiera ~> 1.0.

 $ gem install hiera-puppet
 ERROR:  While executing gem ... (Gem::DependencyError)
     Unable to resolve dependencies: hiera-puppet requires hiera (~> 1.0)

Hiera installs, but version 0.3.0

 $ gem install hiera
 Fetching: hiera-0.3.0.gem (100%)
 Successfully installed hiera-0.3.0

Matthaus Owens

unread,
Aug 29, 2012, 12:56:20 PM8/29/12
to puppet...@googlegroups.com
Once Hiera-Puppet moved out of rc, it seemed best to move its hiera
dependency from 1.0.0rc to 1.0, to ensure that those using
Hiera-puppet get the non-RC version of hiera when it's available.
Until Hiera 1.0.0 is released, you can install Hiera-puppet alongside
hiera using the --pre flag to gems.
`gem install --pre hiera-puppet`. Currently this will bring in Hiera
1.0.0rc4 and Hiera-puppet 1.0.0rc3 (which is identical to Hiera-puppet
1.0.0 except for the dependency change). If you want Hiera-puppet
1.0.0 still, you can then run `gem install --force hiera-puppet -v
1.0.0`.

Hiera-puppet 1.0.0 requires changes that were made to Hiera prior to
and during the 1.0.0 rc series, so running hiera-puppet 1.0.0
alongside hiera 0.3.0 will not behave as expected.

This should only affect gem installs, if you are installing
hiera-puppet using our yum or apt repos with our development
repositories enabled hiera-puppet should install fine.
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/cKz0pYFMxKIJ.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.



--
Matthaus Litteken
Release Manager, Puppet Labs

Thomas Hallgren

unread,
Aug 29, 2012, 1:23:02 PM8/29/12
to puppet...@googlegroups.com
Thanks for the info.

In our case it affected our puppet manifests where we had:

package { 'hiera-puppet':
ensure => installed,
provider => $gem_provider,
}

We prefer to use the latest release when possible.
Reply all
Reply to author
Forward
0 new messages