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

How can we post XML strings along with text strings in iOS -

How to run C# code using mono without Xamarin in Android? -

c# - cefsharp app remember password option -