Hi,

Given the following structure:

hiera.yaml:
[...]
:hierarchy:
  - nodes/%{::fqdn}
[...]
  - common
:merge_behavior: deeper

common.yaml:
[...]
profiles:
  webserver:
    apache:
      modules:
        - auth_kerb
        - authnz_ldap
        - cgid
        - status

host.yaml:
profiles:
  webserver:
    apache:
      modules:
        - mpm_event
        - php
        - ssl

hiera_hash ('profiles')['webserver']['apache']['modules'] returns the
following array:

[auth_kerb, authnz_ldap, cgid, status, mpm_event, headers, proxy,
proxy_http, rewrite, ssl]

mpm_event may also be mpm_prefork and mpm_worker.

How can I ensure that mpm_* is always the first element in the array?

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

Reply via email to