Sha256: 866b6228fe3d8b3110642cc09af9d4f7b8b36ff3f76ffa74e4e13a6c3b87c0a7
Contents?: true
Size: 629 Bytes
Versions: 2
Compression:
Stored size: 629 Bytes
Contents
#!/bin/bash case "$1" in run) shift case "$#" in 0) echo "Running all states ..." sudo salt-call saltutil.sync_all sudo salt-call state.highstate ;; *) for file; do echo "Running $file ..." sudo salt-call state.sls "$file" done ;; esac ;; grains) sudo salt-call grains.items ;; pillar) sudo salt-call pillar.items ;; packages) dpkg --get-selections | sed -n 's/\s\s*install//p' ;; install|remove|purge|update|upgrade|clean|autoremove) sudo apt-get "$@" ;; *) echo "usage: $0 grains|pillar|run [state]|packages|install package|remove package|purge package|autoclean|autoremove\n" ;; esac
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
salted-rails-0.0.6 | salt/bin/provision |
salted-rails-0.0.5 | salt/bin/provision |