Skip to content

Instantly share code, notes, and snippets.

# salt-cloud -l debug -p azure-centos7 vm003
/usr/lib64/python2.6/site-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken
RandomPool_DeprecationWarning)
[DEBUG ] Reading configuration from /etc/salt/cloud
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/master.d/fileserver_backend.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/fileserver_backend.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/nodegroups.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/nodegroups.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/output.conf'
runhighstate:
module.run:
- name: state.highstate
mail_me:
cmd.run:
- name: echo "the message" | mail -s "subject" me@example.com
- onchanges:
- module: runhighstate
synccreatehomeusers:
salt.state:
- tgt: 'hpc-pi-mensae.example.com'
- sls:
- hpc-groups
- hpc-users-createhome
synclocalusers:
salt.state:
- tgt_type: nodegroup