Merge "Drop redundant nova resource dependencies"
This commit is contained in:
commit
f3de962c37
@ -21,7 +21,6 @@ class packstack::manila::backend::generic ()
|
||||
ram => '512',
|
||||
disk => '1',
|
||||
vcpus => '1',
|
||||
require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
|
||||
}
|
||||
-> manila::backend::service_instance{ 'generic':
|
||||
service_image_location => lookup('CONFIG_MANILA_SERVICE_IMAGE_LOCATION'),
|
||||
|
@ -78,16 +78,12 @@ class packstack::nova::api ()
|
||||
|
||||
$manage_flavors = str2bool(lookup('CONFIG_NOVA_MANAGE_FLAVORS'))
|
||||
if $manage_flavors {
|
||||
Class['::nova::api'] -> Nova_flavor<||>
|
||||
Class['::keystone'] -> Nova_flavor<||>
|
||||
|
||||
nova_flavor { 'm1.tiny':
|
||||
ensure => present,
|
||||
id => '1',
|
||||
ram => '512',
|
||||
disk => '1',
|
||||
vcpus => '1',
|
||||
require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
|
||||
}
|
||||
|
||||
nova_flavor { 'm1.small':
|
||||
@ -96,7 +92,6 @@ class packstack::nova::api ()
|
||||
ram => '2048',
|
||||
disk => '20',
|
||||
vcpus => '1',
|
||||
require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
|
||||
}
|
||||
|
||||
nova_flavor { 'm1.medium':
|
||||
@ -105,7 +100,6 @@ class packstack::nova::api ()
|
||||
ram => '4096',
|
||||
disk => '40',
|
||||
vcpus => '2',
|
||||
require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
|
||||
}
|
||||
|
||||
nova_flavor { 'm1.large':
|
||||
@ -114,7 +108,6 @@ class packstack::nova::api ()
|
||||
ram => '8192',
|
||||
disk => '80',
|
||||
vcpus => '4',
|
||||
require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
|
||||
}
|
||||
|
||||
nova_flavor { 'm1.xlarge':
|
||||
@ -123,7 +116,6 @@ class packstack::nova::api ()
|
||||
ram => '16384',
|
||||
disk => '160',
|
||||
vcpus => '8',
|
||||
require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,6 @@ class packstack::provision::tempest ()
|
||||
ram => $tempest_flavor_ram,
|
||||
disk => $tempest_flavor_disk,
|
||||
vcpus => $tempest_flavor_vcpus,
|
||||
require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
|
||||
}
|
||||
nova_flavor { $tempest_flavor_alt_name :
|
||||
ensure => present,
|
||||
@ -75,7 +74,6 @@ class packstack::provision::tempest ()
|
||||
ram => $tempest_flavor_alt_ram,
|
||||
disk => $tempest_flavor_alt_disk,
|
||||
vcpus => $tempest_flavor_alt_vcpus,
|
||||
require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
|
||||
}
|
||||
|
||||
# Service availability for testing based on configuration
|
||||
|
Loading…
Reference in New Issue
Block a user