Advertisement
zamotivator

Untitled

Apr 6th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. dnscache.sls:
  2.  
  3. dnscache_listen:
  4. file.managed:
  5. - name: /etc/dnscache/env/IP
  6. - text: {{ pillar['djbdns']['dnscache']['listen'] }}
  7. - watch_in:
  8. dnscache
  9. {% for client in pillar['djbdns']['dnscache']['clients'] -%}
  10. dnscache_{{ client | replace(".", "_") }}_client:
  11. file.managed:
  12. - name: /etc/dnscache/root/ip/{{ client }}
  13. - text: ''
  14. - watch_in:
  15. dnscache
  16. {% endfor %}
  17.  
  18. error:
  19. [CRITICAL] Rendering SLS "base:djbdns.dnscache" failed: Unknown yaml render error; line 12
  20.  
  21. ---
  22. [...]
  23. file.managed:
  24. - name: /etc/dnscache/env/IP
  25. - text: 10.0.0.1
  26. - watch_in:
  27. dnscache
  28. dnscache_10_0_0_client: <======================
  29. file.managed:
  30. - name: /etc/dnscache/root/ip/10.0.0
  31. - text: ''
  32. - watch_in:
  33. dnscache
  34. [...]
  35. ---
  36. local:
  37. Data failed to compile:
  38. ----------
  39. Rendering SLS "base:djbdns.dnscache" failed: Unknown yaml render error; line 12
  40.  
  41. ---
  42. [...]
  43. file.managed:
  44. - name: /etc/dnscache/env/IP
  45. - text: 10.0.0.1
  46. - watch_in:
  47. dnscache
  48. dnscache_10_0_0_client: <======================
  49. file.managed:
  50. - name: /etc/dnscache/root/ip/10.0.0
  51. - text: ''
  52. - watch_in:
  53. dnscache
  54. [...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement