Heya - i've got these in hiera:
profiles::apache::vhosts::vhostsappcommon :
-
docroot: /a/path
docroot_owner : a user
docroot_group : a group
docroot_mode : 'a mode'
log_level: debug
ip_based: true
headers :
- unset somethingspecific
and:
profiles::apache::vhosts::vhostscommon:
-
options : ['FollowSymLinks','MultiViews']
headers:
- unset something
- edit somethingelse
- always append something
- set somethingelse
- set somethingmore
request_headers:
- set blah
- set blah blah
ssl_protocol : -all +TLSv1.2
now i need to merge these two things to make one default apache config. The question is how do i merge these 2 things successfully so that the nested hash request_headers includes all values from both arrays. All the merges i've tried so far ditches everything in favour of the right most array's request_headers values, as per deep_merge's documentation.
Thanks!
↧