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