]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/ovh_cleanup/manifests/init.pp
OVH cleanup continue
[perso/Immae/Projets/Puppet.git] / modules / ovh_cleanup / manifests / init.pp
index de16cb4a2a801aab4ec4c5a856653fb959c09a3e..75b497815ddab05f8d3509262af8fcd258c1841f 100644 (file)
@@ -33,4 +33,10 @@ class ovh_cleanup {
       ensure  => 'absent',
       require => File['/etc/pacman.d/gnupg'],
     }
+    exec { '/usr/bin/mv /etc/lvm/lvmlocal.conf.pacnew /etc/lvm/lvmlocal.conf':
+      onlyif => '/usr/bin/test -f /etc/lvm/lvmlocal.conf.pacnew'
+    }
+    file { '/etc/resolv.conf.pacorig':
+      ensure => 'absent'
+    }
 }