{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/23621","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/23621/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/23621/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/23621/events","html_url":"https://github.com/saltstack/salt/issues/23621","id":75748877,"node_id":"MDU6SXNzdWU3NTc0ODg3Nw==","number":23621,"title":"file.recurse doesn't do symlinks","user":{"login":"LeTink","id":1840092,"node_id":"MDQ6VXNlcjE4NDAwOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/1840092?v=4","gravatar_id":"","url":"https://api.github.com/users/LeTink","html_url":"https://github.com/LeTink","followers_url":"https://api.github.com/users/LeTink/followers","following_url":"https://api.github.com/users/LeTink/following{/other_user}","gists_url":"https://api.github.com/users/LeTink/gists{/gist_id}","starred_url":"https://api.github.com/users/LeTink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeTink/subscriptions","organizations_url":"https://api.github.com/users/LeTink/orgs","repos_url":"https://api.github.com/users/LeTink/repos","events_url":"https://api.github.com/users/LeTink/events{/privacy}","received_events_url":"https://api.github.com/users/LeTink/received_events","type":"User","site_admin":false},"labels":[{"id":41387723,"node_id":"MDU6TGFiZWw0MTM4NzcyMw==","url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":41388135,"node_id":"MDU6TGFiZWw0MTM4ODEzNQ==","url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143","default":false},{"id":194766324,"node_id":"MDU6TGFiZWwxOTQ3NjYzMjQ=","url":"https://api.github.com/repos/saltstack/salt/labels/P4","name":"P4","color":"031a39","default":false},{"id":194768064,"node_id":"MDU6TGFiZWwxOTQ3NjgwNjQ=","url":"https://api.github.com/repos/saltstack/salt/labels/Platform","name":"Platform","color":"fef2c0","default":false},{"id":41387450,"node_id":"MDU6TGFiZWw0MTM4NzQ1MA==","url":"https://api.github.com/repos/saltstack/salt/labels/State%20Module","name":"State Module","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestone/13","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"node_id":"MDk6TWlsZXN0b25lOTI2NQ==","number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"node_id":"MDQ6VXNlcjUwNzU5OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/507599?v=4","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":1597,"closed_issues":8409,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2018-10-18T21:04:47Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-05-12T21:39:52Z","updated_at":"2018-10-19T13:43:15Z","closed_at":null,"author_association":"NONE","body":"# environment\n\nmaster & minion are Ubuntu 12.04, salt version on all is 2015.5.0+ds-1precise1\n# problem\n\nTrying to push minicom configuration out to a set of minions with multiport serial cards doesn't work as expected.  On the master we have a directory with both config files and symlinks to these.\n# state file\n\n``` YAML\n{% if salt['match.pcre']('^oob-.*') %}\npush_minicom:\n  file.recurse:\n    - name: /etc/minicom\n    - force_symlinks: True\n    - user: root\n    - group: root\n    - source: salt://minicom/minicom\n    - file_mode: 644\n    - sym_mode: 777\n{% endif %}\n```\n# directory listing on master\n\n``` Shell\nls -l minicom/minicom\ntotal 32\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.dfl -> minirc.ttyS4\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.port1 -> minirc.ttyS4\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.port2 -> minirc.ttyS5\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.port3 -> minirc.ttyS6\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.port4 -> minirc.ttyS7\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.port5 -> minirc.ttyS8\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.port6 -> minirc.ttyS9\nlrwxrwxrwx 1 root root  13 Jan 22  2014 minirc.port7 -> minirc.ttyS10\nlrwxrwxrwx 1 root root  13 Jan 22  2014 minirc.port8 -> minirc.ttyS11\n-rw-r--r-- 1 root root 558 Jan 22  2014 minirc.ttyS10\n-rw-r--r-- 1 root root 558 Jan 22  2014 minirc.ttyS11\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS4\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS5\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS6\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS7\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS8\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS9\n```\n# executing the state\n\n```\nsalt oob-lab\\* state.sls minicom\noob-lab.reannz.co.nz:\n----------\n          ID: push_minicom\n    Function: file.recurse\n        Name: /etc/minicom\n      Result: True\n     Comment: Recursively updated /etc/minicom\n     Started: 09:34:28.046360\n    Duration: 348.033 ms\n     Changes:   \n              ----------\n              /etc/minicom/minirc.port1:\n                  ----------\n                  diff:\n                      New file\n                  mode:\n                      0644\n              /etc/minicom/minirc.port2:\n                  ----------\n                  diff:\n                      New file\n                  mode:\n                      0644\n              /etc/minicom/minirc.port3:\n                  ----------\n                  diff:\n                      New file\n                  mode:\n                      0644\n              /etc/minicom/minirc.port4:\n                  ----------\n                  diff:\n                      New file\n                  mode:\n                      0644\n              /etc/minicom/minirc.port5:\n                  ----------\n                  diff:\n                      New file\n                  mode:\n                      0644\n              /etc/minicom/minirc.port6:\n                  ----------\n                  diff:\n                      New file\n                  mode:\n                      0644\n              /etc/minicom/minirc.port7:\n                  ----------\n                  diff:\n                      New file\n                  mode:\n                      0644\n              /etc/minicom/minirc.port8:\n                  ----------\n                  diff:\n                      New file\n                  mode:\n                      0644\n\nSummary\n------------\nSucceeded: 1 (changed=1)\nFailed:    0\n------------\nTotal states run:     1\n```\n# directory on the minion after the state\n\n``` Shell\nls -l /etc/minicom\ntotal 64\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.dfl -> minirc.ttyS4\nlrwxrwxrwx 1 root root  13 Feb  4  2014 minirc.ex3300-1 -> minirc.ttyS11\nlrwxrwxrwx 1 root root  13 Feb 24  2014 minirc.ex4550-1 -> minirc.ttyS10\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.mlx4 -> minirc.ttyS5\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.mlx-4 -> minirc.ttyS5\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.mlx8 -> minirc.ttyS4\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.mlx-8 -> minirc.ttyS4\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.mx-80-1 -> minirc.ttyS6\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.mx80-1 -> minirc.ttyS6\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.mx-80-2 -> minirc.ttyS7\nlrwxrwxrwx 1 root root  12 Jan 22  2014 minirc.mx80-2 -> minirc.ttyS7\n**-rw-r--r-- 1 root root 557 May 13 09:34 minirc.port1**\n**-rw-r--r-- 1 root root 557 May 13 09:34 minirc.port2**\n**-rw-r--r-- 1 root root 557 May 13 09:34 minirc.port3**\n**-rw-r--r-- 1 root root 557 May 13 09:34 minirc.port4**\n**-rw-r--r-- 1 root root 557 May 13 09:34 minirc.port5**\n**-rw-r--r-- 1 root root 557 May 13 09:34 minirc.port6**\n**-rw-r--r-- 1 root root 558 May 13 09:34 minirc.port7**\n**-rw-r--r-- 1 root root 558 May 13 09:34 minirc.port8**\n-rw-r--r-- 1 root root 558 Jan 22  2014 minirc.ttyS10\n-rw-r--r-- 1 root root 558 Jan 22  2014 minirc.ttyS11\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS4\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS5\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS6\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS7\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS8\n-rw-r--r-- 1 root root 557 Jan 22  2014 minirc.ttyS9\n```\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/431367563","html_url":"https://github.com/saltstack/salt/issues/23621#issuecomment-431367563","issue_url":"https://api.github.com/repos/saltstack/salt/issues/23621","id":431367563,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTM2NzU2Mw==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-19T13:43:15Z","updated_at":"2018-10-19T13:43:15Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n\nIf this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.\n"}}
{"actor":{"display_login":"stale"}}