Opened 4 years ago

Closed 4 years ago

#3206 closed change (fixed)

Reverse Hiera lookup order

Reported by: matze Assignee: matze
Priority: P2 Milestone:
Module: Infrastructure Keywords:
Cc: fred Blocked By:
Blocking: #123 Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29329114

Description

The lookup order in hiera.yaml should become reversed, in order to prioritize custom configuration directives over those applied by default.

From

- "hiera/base"
- "hiera/roles/%{::role}"
- "modules/private/hiera/base"
- "modules/private/hiera/roles/%{::role}"
- "modules/private/hiera/hosts/%{::hostname}"
- "modules/private/hiera/hosts"

To

- "modules/private/hiera/hosts"
- "modules/private/hiera/hosts/%{::hostname}"
- "modules/private/hiera/roles/%{::role}"
- "modules/private/hiera/base"
- "hiera/roles/%{::role}"
- "hiera/base"

Change History (2)

comment:1 Changed 4 years ago by matze

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 4 years ago by matze

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.