Hi,

common.yaml:

profiles:
  mailserver:
    postfix:
      instances:
        postfix-in:
          instance_path: '/etc/postfix-in'
          other_path:    "%{instance_path}"  <= required

Is it possible to nest both variables somehow? Or alternatively from
common.pp:

$instance_path =
$profiles['mailserver']['postfix']['instances'][postfix-in]['instance_pa
th']

Can I somehow use $instance_path from common.pp in common.yaml?

helmut@puppet:~$ sudo puppet agent -V
4.10.12
helmut@puppet:~$

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/xn0lbgz1d8mkmi000%40news.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to