This repository was archived by the owner on May 31, 2021. It is now read-only.
File tree 2 files changed +39
-0
lines changed
2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 15
15
service_password => $heat_admin_password ,
16
16
require => Class[' ::heat::api' ]
17
17
}
18
+
19
+ kickstack::exportfact::export { 'heat_metadata_server' :
20
+ value => $hostname ,
21
+ tag => ' heat' ,
22
+ require => Class[' ::heat::api' ]
23
+ }
24
+
18
25
}
19
26
20
27
if ' cfn' in $apis {
38
45
enabled => true ,
39
46
}
40
47
48
+ kickstack::exportfact::export { 'heat_watch_server' :
49
+ value => $hostname ,
50
+ tag => ' heat' ,
51
+ require => Class[' ::heat::api_cloudwatch' ]
52
+ }
53
+
41
54
# The puppet-heat module has no facility for setting up the
42
55
# CloudWatch Keystone endpoint.
43
56
}
Original file line number Diff line number Diff line change
1
+ class kickstack::heat::engine inherits kickstack {
2
+
3
+ include ::kickstack::heat::config
4
+
5
+ $apis = split($::kickstack::heat_apis ,' ,' )
6
+
7
+ if ' heat' in $apis {
8
+ $metadata_server = getvar(" ${fact_prefix} heat_metadata_server" )
9
+ $metadata_server_url = " http://${metadata_server} :8000"
10
+ $waitcondition_server_url = " http://${metadata_server} :8000/v1/waitcondition"
11
+ }
12
+
13
+ if ' cloudwatch' in $apis {
14
+ $watch_server = getvar(" ${fact_prefix} heat_watch_server" )
15
+ $watch_server_url = " http://${watch_server} :8003"
16
+ }
17
+
18
+ if $apis {
19
+ class { '::heat::engine' :
20
+ heat_metadata_server_url => $metadata_server_url ,
21
+ heat_waitcondition_server_url => $waitcondition_server_url ,
22
+ heat_watch_server_url => $watch_server_url ,
23
+ }
24
+ }
25
+
26
+ }
You can’t perform that action at this time.
0 commit comments