Nick Ginanto Nick Ginanto - 1 year ago 150
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?

Answer Source

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
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download