From ccd75909d50e2bec7bb807e1c540bc96adbb1659 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Thu, 26 Jul 2018 20:22:28 -0400 Subject: [PATCH] Switch response file location to /var/lib/dpkg instead of /etc/dpkg --- manifests/bureau.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/bureau.pp b/manifests/bureau.pp index f4f5117..bf1f604 100644 --- a/manifests/bureau.pp +++ b/manifests/bureau.pp @@ -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']