Hi,

common.yaml:
---
lookup_options:
  paths:
    merge:
      strategy:          'deep'
      knockout_prefix:   '--'
  variables:
    merge:
      strategy:          'deep'
      knockout_prefix:   '--'
paths:
  logfilePath:     '/var/log'
[...]

another.yaml:
lookup_options:
  paths:
    merge:
      strategy:          'deep'
      knockout_prefix:   '--'
  variables:
    merge:
      strategy:          'deep'
      knockout_prefix:   '--'
variables:
  logFile:      "%{lookup('paths.logfilePath')}/logfile.log"
[...]

Notice: /var/log
Notice: /Stage[main]/My_puppet/Logrotate::Include[my_puppet]/Notify[paths my_puppet:]/message: defined 'message' as '/var/log'
Notice: /logfile.log
Notice: /Stage[main]/My_puppet/Logrotate::Include[my_puppet]/Notify[variables my_puppet:]/message: defined 'message' as '/openvpn.log'

Should that work?

helmut@h2873756:~$ puppet -V
7.14.0
helmut@h2873756:~$

Thank you!

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ssudbh%24kou%241%40ciao.gmane.io.

Reply via email to