Switch response file location to /var/lib/dpkg instead of /etc/dpkg
This commit is contained in:
parent
db27689e7a
commit
ccd75909d5
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue