Skip to content

Instantly share code, notes, and snippets.

@donatello
Created April 1, 2014 08:16
Show Gist options
  • Save donatello/9909991 to your computer and use it in GitHub Desktop.
Save donatello/9909991 to your computer and use it in GitHub Desktop.
Salt State Ordering from Top File - Bug 2
# salt-call state.show_lowstate
[INFO ] The `lspci` binary is not available on the system. GPU grains will not be available.
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[INFO ] The `lspci` binary is not available on the system. GPU grains will not be available.
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[INFO ] Loading fresh modules for state activity
local:
----------
- __env__:
base
- __id__:
admin
- __sls__:
users
- fun:
present
- name:
admin
- order:
10000
- state:
group
----------
- __env__:
base
- __id__:
admin
- __sls__:
users
- createhome:
True
- fun:
present
- groups:
- sudo
- admin
- home:
/home/admin
- name:
admin
- order:
10001
- require:
----------
- group:
admin
- shell:
/bin/bash
- state:
user
----------
- __env__:
base
- __id__:
basepackages
- __sls__:
basepkgs
- fun:
latest
- name:
basepackages
- order:
10002
- pkgs:
- apt-transport-https
- bc
- debconf-utils
- emacs-goodies-el
- emacs23-nox
- htop
- iotop
- less
- lsof
- mdadm
- mtr-tiny
- pciutils
- psmisc
- python-apt
- python-psycopg2
- s3cmd
- strace
- tcpdump
- traceroute
- uuid-runtime
- vim
- xfsprogs
- zutils
- state:
pkg
----------
- __env__:
base
- __id__:
admin_keys
- __sls__:
sshkeys
- fun:
present
- name:
admin_keys
- order:
10003
- source:
salt://sshkeys/admin.id_rsa.pub
- state:
ssh_auth
- user:
admin
#/srv/salt-state/top.sls
base:
'*':
- users
'provider:ec2':
- match: grain
- sshkeys
'* and not G@role:minimal':
- match: compound
- basepkgs
@donatello
Copy link
Author

The other file content required to reproduce this bug are at - https://gist.github.com/donatello/9909945

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment