Switch response file location to /var/lib/dpkg instead of /etc/dpkg

This commit is contained in:
Kienan Stewart 2018-07-26 20:22:28 -04:00
parent db27689e7a
commit ccd75909d5
1 changed files with 4 additions and 4 deletions

View File

@ -36,11 +36,11 @@ class alternc::bureau (
else {
$mx_secondary = $mx[1]
}
file { '/etc/dpkg/alternc.response':
file { '/var/lib/dpkg/alternc.response':
ensure => present,
content => template('alternc/alternc.response.erb'),
}
if ($manage_sources) {
if $manage_sources {
include alternc::source
}
package { 'acl':
@ -48,7 +48,7 @@ class alternc::bureau (
}
package { 'alternc':
ensure => present,
responsefile => '/etc/dpkg/alternc.response',
responsefile => '/var/lib/dpkg/alternc.response',
require => Package['acl'],
}
@ -62,7 +62,7 @@ class alternc::bureau (
refreshonly => true,
}
File['/etc/dpkg/alternc.response']
File['/var/lib/dpkg/alternc.response']
-> Package['alternc']
~> Exec['alternc.install']
~> Exec['alternc.restartapache']