From 36709ef8cf3657790712686bb877e94be61abbc5 Mon Sep 17 00:00:00 2001 From: Monocots Date: Fri, 28 Jun 2019 09:20:18 +0000 Subject: [PATCH] Symlink puppet state Add symlink for puppet state directory so rapi finds it where it used to be. --- modules/rhizo_base/manifests/fixes.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/rhizo_base/manifests/fixes.pp b/modules/rhizo_base/manifests/fixes.pp index d6f0b91..de3fddc 100644 --- a/modules/rhizo_base/manifests/fixes.pp +++ b/modules/rhizo_base/manifests/fixes.pp @@ -46,4 +46,9 @@ class rhizo_base::fixes::debian { ensure => present, source => 'puppet:///modules/rhizo_base/bashrc' } -} \ No newline at end of file + + file { '/var/lib/puppet/state': + ensure => link, + target => '/var/cache/puppet/state/' + } +}