-
-
Save anonymous/74e7a4d2112d0891116c 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
Feb 13 21:16:27 top salt-master[16946]: [ERROR ] Failed to load ext_pillar file_tree: local variable 'prefix' referenced before assignment | |
Feb 13 21:16:27 top salt-master[16946]: Traceback (most recent call last): | |
Feb 13 21:16:27 top salt-master[16946]: File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 637, in ext_pillar | |
Feb 13 21:16:27 top salt-master[16946]: key) | |
Feb 13 21:16:27 top salt-master[16946]: File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 589, in _external_pillar_data | |
Feb 13 21:16:27 top salt-master[16946]: ext = self.ext_pillars[key](self.opts['id'], pillar, **val) | |
Feb 13 21:16:27 top salt-master[16946]: File "/usr/lib/python2.7/dist-packages/salt/pillar/file_tree.py", line 307, in ext_pillar | |
Feb 13 21:16:27 top salt-master[16946]: keep_newline) | |
Feb 13 21:16:27 top salt-master[16946]: File "/usr/lib/python2.7/dist-packages/salt/pillar/file_tree.py", line 234, in _construct_pillar | |
Feb 13 21:16:27 top salt-master[16946]: and _check_newline(prefix, | |
Feb 13 21:16:27 top salt-master[16946]: UnboundLocalError: local variable 'prefix' referenced before assignment |
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
/srv/salt | |
├── file_tree | |
│ ├── hosts | |
│ │ ├── m1.nacl.littlebluetech.com | |
│ │ │ ├── file.txt | |
│ │ │ └── m1.nacl.littlebluetech.com.txt | |
│ │ ├── m2.nacl.littlebluetech.com | |
│ │ │ ├── file.txt | |
│ │ │ └── m2.nacl.littlebluetech.com.txt | |
│ │ └── top.nacl.littlebluetech.com | |
│ │ ├── file.txt | |
│ │ └── top.nacl.littlebluetech.com.txt | |
│ └── nodegroups | |
│ └── all | |
│ ├── file.txt | |
│ └── nodegroups_all.txt | |
├── modules | |
└── pillar | |
├── default.sls | |
└── top.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
interface: '::' | |
ipv6: True | |
extension_modules: /srv/salt/modules | |
pillar_roots: | |
base: | |
- /srv/salt/pillar | |
ext_pillar: | |
- file_tree: | |
root_dir: /srv/salt/file_tree | |
keep_newline: True | |
nodegroups: | |
all: '*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment