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
--
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-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
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. On Tue, Aug 28, 2012 at 9:26 PM, Thomas Hallgren <thomas@tada.se> wrote:> 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 > > -- > 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-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.-- Matthaus Litteken Release Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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.
On 2012-08-29 18:56, Matthaus Owens wrote:> 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.
>
> On Tue, Aug 28, 2012 at 9:26 PM, Thomas Hallgren <thomas@tada.se>
wrote:
>> 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
>>
>> --
>> 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-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> puppet-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.