map_cell0.pp 713 B

1234567891011121314151617181920212223242526272829
  1. # == Class: nova::cell_v2::map_cell0
  2. #
  3. # Class to execute nova cell_v2 map_cell0
  4. #
  5. # === Parameters
  6. #
  7. # [*extra_params*]
  8. # (optional) String of extra command line parameters to pass
  9. # to the nova-manage command. These will be inserted in
  10. # the command line between 'nova-manage' and 'cell_v2'.
  11. # Defaults to ''
  12. #
  13. #
  14. class nova::cell_v2::map_cell0 (
  15. $extra_params = '',
  16. ) {
  17. include ::nova::deps
  18. exec { 'nova-cell_v2-map_cell0':
  19. path => ['/bin', '/usr/bin'],
  20. command => "nova-manage ${extra_params} cell_v2 map_cell0",
  21. refreshonly => true,
  22. logoutput => on_failure,
  23. subscribe => Anchor['nova::cell_v2::begin'],
  24. notify => Anchor['nova::cell_v2::end'],
  25. }
  26. }