Commit 82d098ea authored by Thomas Goirand's avatar Thomas Goirand

Copy swift_fstab_dev_list.sh when provisionning.

parent 31cfc801
......@@ -162,6 +162,10 @@ if [ -d /oci-in-target ] ; then
chown root:root ${BODI_CHROOT_PATH}/etc/facter/facts.d/swift_blockdevs_names_to_uuid.sh
chmod +x ${BODI_CHROOT_PATH}/etc/facter/facts.d/swift_blockdevs_names_to_uuid.sh
fi
if [ -e ${BODI_CHROOT_PATH}/etc/facter/facts.d/swift_fstab_dev_list.sh ] ; then
chown root:root ${BODI_CHROOT_PATH}/etc/facter/facts.d/swift_fstab_dev_list.sh
chmod +x ${BODI_CHROOT_PATH}/etc/facter/facts.d/swift_fstab_dev_list.sh
fi
fi
fi
fi
......
......@@ -34,6 +34,7 @@ openstack-cluster-installer (21) UNRELEASED; urgency=medium
- SHUTDOWN_TIMEOUT=120
- START_DELAY=4
* Add qemu monitor on port 550XX for each VMs in the PoC.
* Copy swift_fstab_dev_list.sh when provisionning.
[ Oliver Chaze ]
* swift: do not log in syslog general logs
......
......@@ -173,8 +173,8 @@ class oci::swiftstore(
$block_devices.each |Integer $index, String $value| {
swift::storage::disk { "${value}":
mount_type => 'uuid',
require => Class['swift'],
mount_type => 'uuid',
require => Class['swift'],
}->
exec { "fix-unix-right-of-${value}":
path => "/bin",
......
This diff is collapsed.
......@@ -1463,6 +1463,7 @@ https://salsa.debian.org/openstack-team/debian/openstack-cluster-installer
mkdir("$template_path/oci-in-target/etc/facter");
mkdir("$template_path/oci-in-target/etc/facter/facts.d");
copy("/etc/facter/facts.d/swift_blockdevs_names_to_uuid.sh", "$template_path/oci-in-target/etc/facter/facts.d/swift_blockdevs_names_to_uuid.sh");
copy("/etc/facter/facts.d/swift_fstab_dev_list.sh", "$template_path/oci-in-target/etc/facter/facts.d/swift_fstab_dev_list.sh");
copy("/usr/bin/oci-hdd-maint", "$template_path/oci-in-target/usr/bin/oci-hdd-maint");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment