Skip to content

Instantly share code, notes, and snippets.

@moolitayer
Last active October 26, 2016 15:16
Show Gist options
  • Select an option

  • Save moolitayer/06e576283a8e0c172e65f529bca95057 to your computer and use it in GitHub Desktop.

Select an option

Save moolitayer/06e576283a8e0c172e65f529bca95057 to your computer and use it in GitHub Desktop.
Adding a datawarehouse manager:
prov = ManageIQ::Providers::Hawkular::DatawarehouseManager.new(
:name => 'centos7-6',
:zone => Zone.first,
:connection_configurations => [{:endpoint => {:role => :default,
:hostname => 'mtayer-centos7-6.eng.lab.tlv.redhat.com',
:port => "8080"},
:authentication => {:authtype => :default,
:password => "password",
:userid => "jdoe"}}])
prov.save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment