Skip to content
This repository has been archived by the owner on May 14, 2019. It is now read-only.

Commit

Permalink
Ensure device mapper package is latest
Browse files Browse the repository at this point in the history
Nova images won't boot with the version of device-mapper installed by
default on RedHat. We need to make sure we have the latest available
version, and it needs to refresh the libvirt and then the nova-compute
service after being updated.
  • Loading branch information
Colleen Murphy committed Apr 27, 2015
1 parent 4c6607e commit 4f832da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/profile/nova/compute.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,11 @@
notify => Service['libvirt'],
}

if $::osfamily == 'RedHat' {
package { 'device-mapper':
ensure => latest
}
Package['device-mapper'] ~> Service['libvirtd'] ~> Service['nova-compute']
}
Package['libvirt'] -> File['/etc/libvirt/qemu.conf']
}

0 comments on commit 4f832da

Please sign in to comment.