compute: moving out iscsi bits, now in puppet-tripleo
Move bits from THT to puppet-tripleo. Implements: blueprint composable-services-within-roles Change-Id: I9866506b120afdf35891a396ea1bbe1c0f592b3f Depends-On: I495a7af4220f0b35e9fd0a6cfc146610d8f46d10
This commit is contained in:
parent
c4f27255c5
commit
a9c3b92680
|
@ -18,16 +18,6 @@ include ::tripleo::firewall
|
|||
|
||||
if hiera('step') >= 4 {
|
||||
|
||||
# When utilising images for deployment, we need to reset the iSCSI initiator name to make it unique
|
||||
exec { 'reset-iscsi-initiator-name':
|
||||
command => '/bin/echo InitiatorName=$(/usr/sbin/iscsi-iname) > /etc/iscsi/initiatorname.iscsi',
|
||||
onlyif => '/usr/bin/test ! -f /etc/iscsi/.initiator_reset',
|
||||
}->
|
||||
|
||||
file { '/etc/iscsi/.initiator_reset':
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
nova_config {
|
||||
'DEFAULT/my_ip': value => $ipaddress;
|
||||
'DEFAULT/linuxnet_interface_driver': value => 'nova.network.linux_net.LinuxOVSInterfaceDriver';
|
||||
|
|
Loading…
Reference in New Issue