From 272919cb69a811a5533c4f2da9aa4c29969340ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 8 Aug 2016 20:26:17 +0200 Subject: OVH cleanup continue --- modules/ovh_cleanup/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) 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 { 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' + } } -- cgit v1.2.3