map_cell_and_hosts.pp 519 B

1234567891011121314151617181920212223
  1. # == Class: nova::cell_v2::map_cell_and_hosts
  2. #
  3. # Class to run the map_cell_and_hosts action for cell v2
  4. #
  5. # === Parameters
  6. #
  7. # [*extra_params*]
  8. # (String) Extra parameters to pass to the nova-manage commands.
  9. # Defaults to ''.
  10. #
  11. class nova::cell_v2::map_cell_and_hosts (
  12. $extra_params = '',
  13. ) {
  14. include ::nova::deps
  15. exec { 'nova-cell_v2-map_cell_and_hosts':
  16. path => ['/bin', '/usr/bin'],
  17. command => "nova-manage ${extra_params} cell_v2 map_cell_and_hosts",
  18. refreshonly => true,
  19. }
  20. }