Latest version of lookup_http not in rubygems.org

24 views
Skip to first unread message

Peter Krawetzky

unread,
Feb 19, 2019, 4:23:26 PM2/19/19
to Puppet Users
I'm trying to an SSL connection from puppetserver to a couchdb no-sql database for hiera lookup data.  I have both hiera-http and lookup_http installed however the version of lookup_http.rb file that gets installed from running the puppetserver gem install command is 1.0.3.  The version I want to install is 1.4.0 https://github.com/crayfishx/lookup_http

Is there any way I can get the 1.4.0 version installed on my puppetserver?  SSL was supported in 1.2.0 so I figured I would just install the latest.

Garrett Honeycutt

unread,
Feb 19, 2019, 9:19:49 PM2/19/19
to puppet...@googlegroups.com
> --

Hi Peter,

I think there might be confusion between lookup_http and hiera_http. The
latest release for lookup_http[1] is 1.0.3. Its docs reference 1.4.0 for
hiera_http[2]. The hiera_http repo references using couchdb, so hope
that gets you on the right track.

[1] - https://rubygems.org/gems/lookup_http
[2] - https://github.com/crayfishx/hiera-http

Best regards,
-g

--
Garrett Honeycutt
@learnpuppet
Puppet Training with LearnPuppet.com
Mobile: +1.206.414.8658

Peter Krawetzky

unread,
Feb 21, 2019, 1:26:31 PM2/21/19
to Puppet Users
Yeah it looks like I did get this in reverse but it doesn't explain why an SSL connection is not working to couchdb.

Craig Dunn

unread,
Feb 25, 2019, 6:04:06 AM2/25/19
to puppet...@googlegroups.com
On Wed, Feb 20, 2019 at 3:19 AM Garrett Honeycutt <g...@garretthoneycutt.com> wrote:
On 2/19/19 4:23 PM, Peter Krawetzky wrote:
> I'm trying to an SSL connection from puppetserver to a couchdb no-sql
> database for hiera lookup data.  I have both hiera-http and lookup_http
> installed however the version of lookup_http.rb file that gets installed
> from running the puppetserver gem install command is 1.0.3.  The version
> I want to install is 1.4.0 https://github.com/crayfishx/lookup_http
>
> Is there any way I can get the 1.4.0 version installed on my
> puppetserver?  SSL was supported in 1.2.0 so I figured I would just
> install the latest.
>
> --

Hi Peter,

I think there might be confusion between lookup_http and hiera_http. The
latest release for lookup_http[1] is 1.0.3. Its docs reference 1.4.0 for
hiera_http[2]. The hiera_http repo references using couchdb, so hope
that gets you on the right track.

[1] - https://rubygems.org/gems/lookup_http
[2] - https://github.com/crayfishx/hiera-http


Hi - as the author of both of these let me clarify....

What version of Puppet are you using?  If you have Hiera 5 then you should install the hiera-http puppet module and the lookup_http gem, *not* the hiera-http gem.....    Hiera-HTTP versions < 3.0.0 were built to work as Hiera 3.x style backends and was shipped as a Rubygem..  Hiera 5.0 completely changed how 'backends' worked and Hiera-HTTP released 3.0 as a  data provider function which is a Puppet function rather than a Ruby library and should be installed as a Puppet module. 

Regards
Craig

Reply all
Reply to author
Forward
0 new messages