ugh and apart from having a stupid bug, I also rea...
# choria
r
ugh and apart from having a stupid bug, I also realised child manifests means the need for input validation in hiera and documentation of hiera is much more important, so hiera now can validate individual data items.
Copy code
data:
  # The username to run the process as
  # @require
  user: bob

  # @validate isShellSafe(value)
  command: "/usr/bin/thing"

  # @require
  # @validate isIPv4(value)
  listen_address: 10.0.0.1

  # No annotations, no validation
  port: 8080
  debug: false