|
rdobuilder |
8c12d8 |
From e6d4f123893c27a3d8a6aac7b26853023433166e Mon Sep 17 00:00:00 2001
|
|
rdobuilder |
8c12d8 |
From: Yatin Karel <ykarel@redhat.com>
|
|
rdobuilder |
8c12d8 |
Date: Fri, 14 May 2021 08:21:46 +0000
|
|
rdobuilder |
8c12d8 |
Subject: [PATCH] Fix puppet paths
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
---
|
|
rdobuilder |
8c12d8 |
lib/puppet/util/run_mode.rb | 12 ++++++------
|
|
rdobuilder |
8c12d8 |
1 file changed, 6 insertions(+), 6 deletions(-)
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
diff --git a/lib/puppet/util/run_mode.rb b/lib/puppet/util/run_mode.rb
|
|
rdobuilder |
8c12d8 |
index 36f38ddb0d..314bf1bd15 100644
|
|
rdobuilder |
8c12d8 |
--- a/lib/puppet/util/run_mode.rb
|
|
rdobuilder |
8c12d8 |
+++ b/lib/puppet/util/run_mode.rb
|
|
rdobuilder |
8c12d8 |
@@ -63,27 +63,27 @@ module Puppet
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
class UnixRunMode < RunMode
|
|
rdobuilder |
8c12d8 |
def conf_dir
|
|
rdobuilder |
8c12d8 |
- which_dir("/etc/puppetlabs/puppet", "~/.puppetlabs/etc/puppet")
|
|
rdobuilder |
8c12d8 |
+ which_dir("/etc/puppet", "~/.puppet")
|
|
rdobuilder |
8c12d8 |
end
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
def code_dir
|
|
rdobuilder |
8c12d8 |
- which_dir("/etc/puppetlabs/code", "~/.puppetlabs/etc/code")
|
|
rdobuilder |
8c12d8 |
+ which_dir("/etc/puppet", "~/.puppet/code")
|
|
rdobuilder |
8c12d8 |
end
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
def var_dir
|
|
rdobuilder |
8c12d8 |
- which_dir("/opt/puppetlabs/puppet/cache", "~/.puppetlabs/opt/puppet/cache")
|
|
rdobuilder |
8c12d8 |
+ which_dir("/var/lib/puppet", "~/.puppet/cache")
|
|
rdobuilder |
8c12d8 |
end
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
def public_dir
|
|
rdobuilder |
8c12d8 |
- which_dir("/opt/puppetlabs/puppet/public", "~/.puppetlabs/opt/puppet/public")
|
|
rdobuilder |
8c12d8 |
+ which_dir("/var/lib/puppet", "~/.puppet/public")
|
|
rdobuilder |
8c12d8 |
end
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
def run_dir
|
|
rdobuilder |
8c12d8 |
- which_dir("/var/run/puppetlabs", "~/.puppetlabs/var/run")
|
|
rdobuilder |
8c12d8 |
+ which_dir("/var/run/puppet", "~/.puppet/var/run")
|
|
rdobuilder |
8c12d8 |
end
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
def log_dir
|
|
rdobuilder |
8c12d8 |
- which_dir("/var/log/puppetlabs/puppet", "~/.puppetlabs/var/log")
|
|
rdobuilder |
8c12d8 |
+ which_dir("/var/log/puppet", "~/.puppet/var/log")
|
|
rdobuilder |
8c12d8 |
end
|
|
rdobuilder |
8c12d8 |
end
|
|
rdobuilder |
8c12d8 |
|
|
rdobuilder |
8c12d8 |
--
|
|
rdobuilder |
8c12d8 |
2.27.0
|