Project

General

Profile

« Previous | Next » 

Revision 6ffcf7d7

Added by Dominic Cleal about 8 years ago

refs #14941 - load Kafo lib from relative path (#1127)

Updates the patch to remove the assumption that Puppet and Kafo are in
the same Ruby environment.

View differences:

dependencies/xenial/kafo/patches/fix_require_in_puppet_module.diff
+++ b/modules/kafo_configure/lib/puppet/parser/functions/decrypt.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), '../../../../../../lib/kafo/password_manager')
+require File.join('kafo/password_manager')
+require File.join(File.dirname(__FILE__), '../../../../../../password_manager')
# Decrypts an encrypted password using $kafo_configure::password
#
# you can use this function in order to place passwords into your config files

Also available in: Unified diff