{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/18563","labels_url":"https://api.github.com/repos/saltstack/salt/issues/18563/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/18563/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/18563/events","html_url":"https://github.com/saltstack/salt/issues/18563","id":50367720,"number":18563,"title":"file.recurse should support local sources","user":{"login":"myg0v","id":2836188,"avatar_url":"https://avatars.githubusercontent.com/u/2836188?v=3","gravatar_id":"","url":"https://api.github.com/users/myg0v","html_url":"https://github.com/myg0v","followers_url":"https://api.github.com/users/myg0v/followers","following_url":"https://api.github.com/users/myg0v/following{/other_user}","gists_url":"https://api.github.com/users/myg0v/gists{/gist_id}","starred_url":"https://api.github.com/users/myg0v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myg0v/subscriptions","organizations_url":"https://api.github.com/users/myg0v/orgs","repos_url":"https://api.github.com/users/myg0v/repos","events_url":"https://api.github.com/users/myg0v/events{/privacy}","received_events_url":"https://api.github.com/users/myg0v/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Feature","name":"Feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2675,"closed_issues":2895,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-11-11T01:20:33Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-11-28T11:59:57Z","updated_at":"2015-11-11T03:04:13Z","closed_at":null,"body":"I need to copy a local directory content recurse into another folder. I can't do this with file.recuse because it support only source directories on the master, but not local folders.\r\n\r\nI need something like:\r\n````\r\ntest:\r\n  file.recurse:\r\n    - name: C:/target_folder\r\n    - source: C:/source_folder\r\n````\r\n\r\n````\r\nCurrent output:\r\n\r\n          ID: test\r\n    Function: file.recurse\r\n        Name: C:/target_folder\r\n      Result: False\r\n     Comment: Invalid source 'C:/source_folder' (must be a salt:// URI)\r\n     Changes:   \r\n````\r\n\r\nHere is a build-in windows cmd command for that procedure:\r\n````\r\nxcopy C:\\source C:\\target /E\r\n````"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/155645424","html_url":"https://github.com/saltstack/salt/issues/18563#issuecomment-155645424","issue_url":"https://api.github.com/repos/saltstack/salt/issues/18563","id":155645424,"user":{"login":"cybacolt","id":730769,"avatar_url":"https://avatars.githubusercontent.com/u/730769?v=3","gravatar_id":"","url":"https://api.github.com/users/cybacolt","html_url":"https://github.com/cybacolt","followers_url":"https://api.github.com/users/cybacolt/followers","following_url":"https://api.github.com/users/cybacolt/following{/other_user}","gists_url":"https://api.github.com/users/cybacolt/gists{/gist_id}","starred_url":"https://api.github.com/users/cybacolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybacolt/subscriptions","organizations_url":"https://api.github.com/users/cybacolt/orgs","repos_url":"https://api.github.com/users/cybacolt/repos","events_url":"https://api.github.com/users/cybacolt/events{/privacy}","received_events_url":"https://api.github.com/users/cybacolt/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T03:04:13Z","updated_at":"2015-11-11T03:04:13Z","body":"this could be useful.\r\n\r\nperhaps recurse should be added to salt.state.file.cp instead, to match the module?\r\n\r\ni'll probably call the module for now as a work around..."}}