-
-
Save mikeywaites/8c63efb4866ada33b54f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default_user: bar | |
default_group: baz | |
users: | |
foo: | |
sudouser: True | |
sudo_rules: | |
- ALL=(ALL) NOPASSWD:ALL | |
prime_group: | |
name: foo_user | |
groups: | |
- admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
|-- top.sls | |
`-- users | |
|-- default.sls | |
`-- dev.sls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!jinja|yaml | |
# | |
# Top SLS | |
# | |
base: | |
'dev': | |
- users.dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!jinja|yaml | |
include: | |
- users.default: | |
defaults: | |
users: | |
vagrant: | |
sudouser: True | |
sudo_rules: | |
- ALL=(ALL) NOPASSWD:ALL | |
prime_group: | |
name: vagrant | |
groups: | |
- admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ERROR ] An un-handled exception was caught by salt's global exception handler: | |
AttributeError: 'NoneType' object has no attribute 'get' | |
Traceback (most recent call last): | |
File "/usr/bin/salt-call", line 11, in <module> | |
salt_call() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 82, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 309, in run | |
caller = salt.cli.caller.Caller(self.config) | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 47, in __init__ | |
self.minion = salt.minion.SMinion(opts) | |
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 285, in __init__ | |
self.gen_modules() | |
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 295, in gen_modules | |
self.opts['environment'], | |
File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 505, in compile_pillar | |
pillar, errors = self.render_pillar(matches) | |
File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 422, in render_pillar | |
pstate, mods, err = self.render_pstate(sls, saltenv, mods) | |
File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 392, in render_pstate | |
defaults = v.get('defaults', {}) | |
AttributeError: 'NoneType' object has no attribute 'get' | |
Traceback (most recent call last): | |
File "/usr/bin/salt-call", line 11, in <module> | |
salt_call() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 82, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 309, in run | |
caller = salt.cli.caller.Caller(self.config) | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 47, in __init__ | |
self.minion = salt.minion.SMinion(opts) | |
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 285, in __init__ | |
self.gen_modules() | |
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 295, in gen_modules | |
self.opts['environment'], | |
File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 505, in compile_pillar | |
pillar, errors = self.render_pillar(matches) | |
File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 422, in render_pillar | |
pstate, mods, err = self.render_pstate(sls, saltenv, mods) | |
File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 392, in render_pstate | |
defaults = v.get('defaults', {}) | |
AttributeError: 'NoneType' object has no attribute 'get' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment