blob: de16cb4a2a801aab4ec4c5a856653fb959c09a3e (
plain) (
tree)
|
|
class ovh_cleanup {
file { '/etc/apt':
ensure => 'absent',
force => true,
}
file { '/etc/default/keyboard':
ensure => 'absent',
}
file { '/etc/default/locale':
ensure => 'absent',
}
file { '/etc/timezone':
ensure => 'absent',
}
file { '/etc/pacman.d/mirrorlist.pacnew':
ensure => 'absent',
}
exec { '/usr/bin/reanimate-pacman':
creates => '/etc/pacman.d/gnupg',
}
file { '/etc/pacman.d/gnupg':
ensure => 'present',
}
file { '/usr/bin/reanimate-pacman':
ensure => 'absent',
require => File['/etc/pacman.d/gnupg'],
}
file { '/etc/systemd/system/pacman-reanimation.service':
ensure => 'absent',
require => File['/etc/pacman.d/gnupg'],
}
file { '/etc/systemd/system/multi-user.target.wants/pacman-reanimation.service':
ensure => 'absent',
require => File['/etc/pacman.d/gnupg'],
}
}
|