aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-08-08 20:26:17 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-08-08 20:29:12 +0200
commit272919cb69a811a5533c4f2da9aa4c29969340ab (patch)
tree3f171f68eb84a6bcf160129a9e92cb8e5f53fadc
parent075ea0eaeb90ae48fd9309ee3087eff14ba8e79b (diff)
downloadPuppet-272919cb69a811a5533c4f2da9aa4c29969340ab.tar.gz
Puppet-272919cb69a811a5533c4f2da9aa4c29969340ab.tar.zst
Puppet-272919cb69a811a5533c4f2da9aa4c29969340ab.zip
OVH cleanup continue
-rw-r--r--modules/ovh_cleanup/manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/ovh_cleanup/manifests/init.pp b/modules/ovh_cleanup/manifests/init.pp
index de16cb4..75b4978 100644
--- a/modules/ovh_cleanup/manifests/init.pp
+++ b/modules/ovh_cleanup/manifests/init.pp
@@ -33,4 +33,10 @@ class ovh_cleanup {
33 ensure => 'absent', 33 ensure => 'absent',
34 require => File['/etc/pacman.d/gnupg'], 34 require => File['/etc/pacman.d/gnupg'],
35 } 35 }
36 exec { '/usr/bin/mv /etc/lvm/lvmlocal.conf.pacnew /etc/lvm/lvmlocal.conf':
37 onlyif => '/usr/bin/test -f /etc/lvm/lvmlocal.conf.pacnew'
38 }
39 file { '/etc/resolv.conf.pacorig':
40 ensure => 'absent'
41 }
36} 42}