Advertisement
Guest User

Untitled

a guest
Dec 19th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. file { '/usr/lib/heat':
  2. ensure => 'directory',
  3. } ->
  4. file { '/usr/lib/heat/contrail_heat':
  5. ensure => 'link',
  6. target => '/usr/lib/python2.7/site-packages/contrail_heat',
  7. }
  8. $heat_conf_path = { 'path' => '/etc/heat/heat.conf' }
  9. $heat_conf = { 'clients_contrail' =>
  10. {
  11. 'user' => $keystone_admin_user,
  12. 'password' => $keystone_admin_password,
  13. 'api_base_url' => '/',
  14. 'api_server' => $api_server_ip,
  15. 'api_port' => $api_server_port,
  16. 'auth_host_ip' => $keystone_public_vip,
  17. 'use_ssl' => 'False',
  18. }
  19. }
  20. create_ini_settings($heat_conf, $heat_conf_path)
  21. exec { 'systemctl restart openstack-heat-engine':
  22. path => '/bin',
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement