Skip to content

Instantly share code, notes, and snippets.

@hemebond
Created July 21, 2016 09:22
Show Gist options
  • Save hemebond/3b31f3ed5ba89dfc0af7655a498b8d2b to your computer and use it in GitHub Desktop.
Save hemebond/3b31f3ed5ba89dfc0af7655a498b8d2b to your computer and use it in GitHub Desktop.
Pillar Interpolation Results
mem01.xen.local:
----------
sample1:
127.0.0.1/24/Contact me at
sample2:
127.0.0.1/24/Contact me at example.com
sample3:
127.0.0.1/24/Contact me at example.com 127.0.0.1
sample4:
${sample5} 24
sample5:
${sample5} 24
sample6:
${app:config} foo
string:
Contact me at
----------
app:
----------
config:
----------
boolean:
False,
colon:
http://support.example.com:False,
email.address:
forum-watcher@example.com
list:
- foo
- example.com
- 24
url:
http://support.example.com
domain:
example.com
int:
24
ip:
127.0.0.1
sample1: ${ip}/${int}/${string}
app:
config:
list:
- foo
- ${domain}
- ${int}
boolean: False,
colon: ${app:config:url}:${app:config:boolean}
url: http://support.${domain}
email.address: forum-watcher@${domain}
sample2: ${sample1} ${domain}
sample3: ${sample2} ${ip}
sample4: ${sample5}
sample5: ${sample4} ${int}
sample6: ${app:config} ${app:config:list:0}
domain: example.com
int: 24
ip: 127.0.0.1
string: Contact me at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment