Skip to content

Instantly share code, notes, and snippets.

@dontrebootme
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dontrebootme/0e76a67185e3b71138fc to your computer and use it in GitHub Desktop.
Save dontrebootme/0e76a67185e3b71138fc to your computer and use it in GitHub Desktop.
env:
- "CATALINA_OPTS=-Dcom.sun.management.jmxremote.port=%{hiera('webs_jmx_port')} -Dcom.sun.management.jmxremote.rmi.port=%{hiera('webs_jmx_port')} -Dcom.sun.management.jmxremote.ssl=false"
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'profile::docker::containers': Detected in [hiera('webs_jmx_port')] on node cobalt.apl.corp.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Whereas:
env:
- "CATALINA_OPTS=-Dcom.sun.management.jmxremote.port=%{hiera('webs_jmx_port')} -Dcom.sun.management.jmxremote.rmi.port=%{hiera('stor_jmx_port')} -Dcom.sun.management.jmxremote.ssl=false"
Does not.
Please note, one lookups web_jmx_port twice and one lookups web_jmx_port once, and stor_jmx_port once.
Does two hiera lookups on a single line cause an issue?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment