salt stack - Copy local file in Saltstack -


i in masterless salt-minion, manage file locally. how copy local file around in saltstack .sls file?

e.g. like

/etc/mymodule/proxy.conf:   file.managed:     - source: /mymodule.conf 

i guess want take @ file.copy instead of file.managed.

state file.managed uses source key download content uri (can salt://, http://, etc.) - won't intelligently guess that, if there no uri scheme in source value, should use local path on minion runs at.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -