diff --git a/states/salt_minion/defaults.yaml b/states/salt_minion/defaults.yaml index fc44ffc..4a61af2 100644 --- a/states/salt_minion/defaults.yaml +++ b/states/salt_minion/defaults.yaml @@ -2,14 +2,10 @@ salt_minion: enabled: true version: 3005.1 - config: - master: salt.paulbsd.com - #ping_interval: 1 - ## hash_type: sha256 - #state_verbose: 'True' - #tcp_keepalive: 'True' - #tcp_keepalive_idle: 300 - #random_reauth_delay: 60 - #recon_default: 1000 - #recon_max: 10000 - #recon_randomize: 'True' + deps: + - redis + - ovh + - pynetbox + - cherrypy + - gitdb + config: {} diff --git a/states/salt_minion/install.sls b/states/salt_minion/install.sls index 3326b6a..6dbfa83 100644 --- a/states/salt_minion/install.sls +++ b/states/salt_minion/install.sls @@ -3,3 +3,9 @@ salt-minion-install: pip.installed: - name: salt=={{ salt_minion.version }} + +{% for dep in salt_minion.deps %} +salt-minion-install-{{ dep }}: + pip.installed: + - name: {{ dep }} +{% endfor %}