123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- define nova::manage::cells (
- $cell_type = 'parent',
- $cell_parent_name = undef,
- $rabbit_username = 'guest',
- $rabbit_password = 'guest',
- $rabbit_hosts = ['localhost'],
- $rabbit_port = '5672',
- $rabbit_virtual_host = '/',
- $weight_offset = '1.0',
- $weight_scale = '1.0'
- ) {
- include ::nova::deps
- nova_cells { $name:
- ensure => present,
- cell_type => $cell_type,
- cell_parent_name => $cell_parent_name,
- rabbit_username => $rabbit_username,
- rabbit_password => $rabbit_password,
- rabbit_hosts => $rabbit_hosts,
- rabbit_port => $rabbit_port,
- rabbit_virtual_host => $rabbit_virtual_host,
- weight_offset => $weight_offset,
- weight_scale => $weight_scale
- }
- }
|