Created
June 8, 2016 21:14
-
-
Save vschum/85995d6dd94e0cf23d69df24c9ca80e8 to your computer and use it in GitHub Desktop.
Issue with salt generating top data
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 | |
base: | |
kernel:Linux: | |
- match: grain | |
- timezone | |
- base-packages | |
- ntp.ng | |
- sudo | |
- ssh | |
- users | |
- screen | |
- git | |
- fail2ban | |
- linux | |
- pip | |
- raven | |
- rsyslog | |
- runit | |
- resolver | |
- salt.minion | |
- hostname | |
- sensu.client | |
- munin | |
- munin.node | |
- munin.default | |
role:salt-master: | |
- match: grain | |
- salt-cloud | |
- salt-cloud.map | |
- salt.master | |
role:dns: | |
- match: grain | |
- bind | |
- bind.my_zone | |
## Grains | |
root@salt-master# salt-call grains.get role | |
local: | |
- dns | |
- salt-master | |
- gateway | |
root@salt-master# salt-call grains.get kernel | |
local: | |
Linux | |
## Compiled top data | |
root@salt-master# salt-call state.show_top | |
local: | |
---------- | |
base: | |
- salt.master | |
- salt-cloud | |
- salt-cloud.map | |
- bind | |
- bind.my_zone | |
- sensu.client | |
- munin.node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment