Files
puppet-nova/manifests/compute/file_hack.pp
Dan Bode 3b6e838191 Write puppet code to patch nova volume management
This commit adds a puppet class to update the actual compute code for volume management
to use attach-dish instead of attach-volume.

https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/996840
2012-05-25 15:53:20 -07:00

29 lines
767 B
Puppet

#
# This is a temporary manifest that patches
# nova compute to resolve the folowing issue:
# https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/996840
#
# This is only intended as a temporary fix and needs to be removed
# once the issue is resolved with upstream.
#
class nova::compute::file_hack() {
# this only works on Ubunty
File {
owner => 'root',
group => 'root',
mode => '755',
require => Package['nova-compute'],
notify => Service['nova-compute'],
}
file { '/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py':
source => 'puppet:///modules/nova/connection.py',
}
file { '/usr/lib/python2.7/dist-packages/nova/rootwrap/compute.py':
source => 'puppet:///modules/nova/compute.py',
}
}