Advertisement
Guest User

Untitled

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