Files
puppet-nova/manifests/compute/file_hack.pp
Mathieu Gagné 65eb7a500c Puppet lint
Change-Id: Ia95da80607a05f228aec9cce6468f75aef0a4711
2013-06-03 19:29:11 -04:00

32 lines
821 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.
#
# TODO - check if this is still required for folsom
#
#
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',
}
}