We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77cc7a4 commit a395599Copy full SHA for a395599
lib/puppet/util/run_mode.rb
@@ -81,7 +81,7 @@ def public_dir
81
end
82
83
def run_dir
84
- which_dir("/var/run/puppetlabs", "~/.puppetlabs/var/run")
+ ENV.fetch('RUNTIME_DIRECTORY') { which_dir("/var/run/puppetlabs", "~/.puppetlabs/var/run") }
85
86
87
def log_dir
0 commit comments