aboutsummaryrefslogtreecommitdiff
path: root/modules/ovh_cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ovh_cleanup')
-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}