Skip to content

Instantly share code, notes, and snippets.

@kevinquinnyo
Created February 17, 2016 19:13
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 kevinquinnyo/eba07124c1f1b84f8c0a to your computer and use it in GitHub Desktop.
Save kevinquinnyo/eba07124c1f1b84f8c0a to your computer and use it in GitHub Desktop.
(salt-master) # salt dns2.phx.devops.my-domain.com geodns.get_zone devops.my-domain.com
dns2.phx.devops.my-domain.com:
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1161, in _thread_return
return_data = func(*args, **kwargs)
File "/var/cache/salt/minion/extmods/modules/geodns.py", line 37, in get_zone
zone = _get_zone(name)
File "/var/cache/salt/minion/extmods/modules/geodns.py", line 19, in _get_zone
datadir = __pillar__['geodns.datadir']
KeyError: 'geodns.datadir'
(salt-master) # salt dns2.phx.devops.my-domain.com pillar.item geodns.datadir
dns2.phx.devops.my-domain.com:
----------
geodns.datadir:
/var/dns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment