projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
try again, with puppetforge modules, correctly included now
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
aviator
/
feature
/
aviator
/
openstack
/
identity
/
v2
/
public
/
root.rb
1
module Aviator
2
3
define_request :root, :inherit => [:openstack, :common, :v2, :public, :base] do
4
5
meta :service, :identity
6
7
8
def headers
9
super
10
end
11
12
13
def http_method
14
:get
15
end
16
17
18
def url
19
uri = URI(base_url)
20
"#{ uri.scheme }://#{ uri.host }:#{ uri.port.to_s }/v2.0/"
21
end
22
23
end
24
25
end