Nick Ginanto Nick Ginanto - 2 months ago 8
Ruby Question

Installing rpm package from imported repo

To install logstash with rpm ( I need to manually specify the baseurl and the pgpkey

I can't see these options in the chef docs (

Is there a way to do this with chef?


You can try with "yum_repository" resource. For, example:-

Github Source:-

# add the Zenoss repository
yum_repository 'zenoss' do
   description "Zenoss Stable repo"
   baseurl ""
   gpgkey ''
   action :create