{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/23685","labels_url":"https://api.github.com/repos/saltstack/salt/issues/23685/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/23685/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/23685/events","html_url":"https://github.com/saltstack/salt/issues/23685","id":76105162,"number":23685,"title":"inotify beacon on file. 'change' event to reactor to reset file to known state will cause loop","user":{"login":"Snergster","id":1591740,"avatar_url":"https://avatars.githubusercontent.com/u/1591740?v=3","gravatar_id":"","url":"https://api.github.com/users/Snergster","html_url":"https://github.com/Snergster","followers_url":"https://api.github.com/users/Snergster/followers","following_url":"https://api.github.com/users/Snergster/following{/other_user}","gists_url":"https://api.github.com/users/Snergster/gists{/gist_id}","starred_url":"https://api.github.com/users/Snergster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snergster/subscriptions","organizations_url":"https://api.github.com/users/Snergster/orgs","repos_url":"https://api.github.com/users/Snergster/repos","events_url":"https://api.github.com/users/Snergster/events{/privacy}","received_events_url":"https://api.github.com/users/Snergster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Boron","name":"Boron","color":"fbca04"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P2","name":"P2","color":"155fb5"},{"url":"https://api.github.com/repos/saltstack/salt/labels/ZD","name":"ZD","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"cachedout","id":111616,"avatar_url":"https://avatars.githubusercontent.com/u/111616?v=3","gravatar_id":"","url":"https://api.github.com/users/cachedout","html_url":"https://github.com/cachedout","followers_url":"https://api.github.com/users/cachedout/followers","following_url":"https://api.github.com/users/cachedout/following{/other_user}","gists_url":"https://api.github.com/users/cachedout/gists{/gist_id}","starred_url":"https://api.github.com/users/cachedout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachedout/subscriptions","organizations_url":"https://api.github.com/users/cachedout/orgs","repos_url":"https://api.github.com/users/cachedout/repos","events_url":"https://api.github.com/users/cachedout/events{/privacy}","received_events_url":"https://api.github.com/users/cachedout/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/68","html_url":"https://github.com/saltstack/salt/milestones/B%209","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/68/labels","id":1332028,"number":68,"title":"B 9","description":"","creator":{"login":"meggiebot","id":12242451,"avatar_url":"https://avatars.githubusercontent.com/u/12242451?v=3","gravatar_id":"","url":"https://api.github.com/users/meggiebot","html_url":"https://github.com/meggiebot","followers_url":"https://api.github.com/users/meggiebot/followers","following_url":"https://api.github.com/users/meggiebot/following{/other_user}","gists_url":"https://api.github.com/users/meggiebot/gists{/gist_id}","starred_url":"https://api.github.com/users/meggiebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meggiebot/subscriptions","organizations_url":"https://api.github.com/users/meggiebot/orgs","repos_url":"https://api.github.com/users/meggiebot/repos","events_url":"https://api.github.com/users/meggiebot/events{/privacy}","received_events_url":"https://api.github.com/users/meggiebot/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":2,"state":"open","created_at":"2015-09-30T20:34:18Z","updated_at":"2015-10-28T16:45:27Z","due_on":"2015-11-10T07:00:00Z","closed_at":null},"comments":18,"created_at":"2015-05-13T20:00:16Z","updated_at":"2015-10-28T23:38:53Z","closed_at":null,"body":"setup:  (happy to webex anyone through this its simple)\r\n2015.5\r\ninotify beacon set on file mask modify (although many would apply)\r\nreactor runs local.state.sls  to reset file to whatever state you want it\r\n\r\nresult:\r\nthis will loop once any first change is made trigger beacon.\r\nbeacon triggers reactor\r\nreactor triggers state\r\nstate resets file\r\nfile reset triggers beacon\r\nloop\r\n\r\nNo wonderful suggestions on how to fix this short of a horrible kludge to have the reactor triggered state temporarily remove beacon config, apply state, reactivate beacon config...and whoa boy thats gross"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/152031476","html_url":"https://github.com/saltstack/salt/issues/23685#issuecomment-152031476","issue_url":"https://api.github.com/repos/saltstack/salt/issues/23685","id":152031476,"user":{"login":"cachedout","id":111616,"avatar_url":"https://avatars.githubusercontent.com/u/111616?v=3","gravatar_id":"","url":"https://api.github.com/users/cachedout","html_url":"https://github.com/cachedout","followers_url":"https://api.github.com/users/cachedout/followers","following_url":"https://api.github.com/users/cachedout/following{/other_user}","gists_url":"https://api.github.com/users/cachedout/gists{/gist_id}","starred_url":"https://api.github.com/users/cachedout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachedout/subscriptions","organizations_url":"https://api.github.com/users/cachedout/orgs","repos_url":"https://api.github.com/users/cachedout/repos","events_url":"https://api.github.com/users/cachedout/events{/privacy}","received_events_url":"https://api.github.com/users/cachedout/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T23:38:53Z","updated_at":"2015-10-28T23:38:53Z","body":"@Snergster I went in a slightly different direction after talking this over with a few other people. Take a look at #28388 and let me know what you think."}}