Skip to content

Instantly share code, notes, and snippets.

@rca
Created March 7, 2013 19:50
Show Gist options
  • Save rca/5111187 to your computer and use it in GitHub Desktop.
Save rca/5111187 to your computer and use it in GitHub Desktop.
pillar match not working.
local@bm-allinone:~$ cat /srv/salt/base/states/top.sls
base:
'roles:django':
- match: pillar
- django
local@bm-allinone:~$ sudo salt 'bm-console' pillar.data
2013-03-07 19:49:44,703 [salt.loaded.int.module.debconfmod][WARNING ] Package debconf-utils is not installed.
bm-console:
[...]
roles:
- django
local@bm-allinone:~$ sudo salt 'bm-console' state.highstate
2013-03-07 19:49:49,613 [salt.loaded.int.module.debconfmod][WARNING ] Package debconf-utils is not installed.
2013-03-07 19:49:49,741 [salt.loaded.int.top.cobbler][ERROR ] Could not connect to cobbler.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/tops/cobbler.py", line 49, in top
data = server.get_blended_data(None, minion_id)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
response.msg,
ProtocolError: <ProtocolError for localhost/cobbler_api: 405 Not Allowed>
bm-console:
----------
State: - no
Name: states
Function: None
Result: False
Comment: No states found for this minion
Changes:
local@bm-allinone:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment