salt icon indicating copy to clipboard operation
salt copied to clipboard

file.recurse should support local source.

Open jeffreyctang opened this issue 10 years ago • 3 comments

It would be nice if file.recurse supported "file:" sources like file.managed does.

The state:

/tmp/newfile:
  file.recurse:
    - source: file:///tmp/oldfile

fails with:

 Comment: Invalid source 'file:///tmp/oldfile' (must be a salt:// URI)

This is under salt 2015.8.3 (Beryllium)

jeffreyctang avatar Jan 12 '16 15:01 jeffreyctang

@jeffreyctang, thanks for the report.

jfindlay avatar Jan 12 '16 16:01 jfindlay

Looks like https://github.com/saltstack/salt/issues/18563 +1 from me.

sastorsl avatar Mar 16 '16 16:03 sastorsl

Thanks, @sastorsl, I should have seen that one.

jfindlay avatar Mar 16 '16 18:03 jfindlay