3 A feature module for the Aviator project.
5 Aviator is a lightweight library for communicating with the OpenStack
8 See Aviator_README.md for more information on Aviator.
16 Aimon Bustardo <me at aimon dot net>
21 $LOAD_PATH.push(File.join(File.dirname(__FILE__), '..', '..',
23 require 'puppet/feature/aviator'
26 :provider => 'openstack',
29 :host_uri => 'http://devstack:5000/v2.0',
30 :request => 'create_token',
31 :validator => 'list_tenants'
33 :auth_credentials => {
34 :username => 'myusername',
35 :password => 'mypassword',
36 :tenant_name => 'myproject'
40 openstack = Aviator::Session.new(:config => configuration)
42 openstack.authenticate
43 response = openstack.request :identity_service, :list_tenants, :endpoint_type => 'admin'