{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/5012","repository_url":"https://api.github.com/repos/puppetlabs/puppet","labels_url":"https://api.github.com/repos/puppetlabs/puppet/issues/5012/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/5012/comments","events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/5012/events","html_url":"https://github.com/puppetlabs/puppet/pull/5012","id":159298789,"number":5012,"title":"(PUP-3768) Scheduled_task keeps reapplying","user":{"login":"DLuCJ","id":4086360,"avatar_url":"https://avatars.githubusercontent.com/u/4086360?v=3","gravatar_id":"","url":"https://api.github.com/users/DLuCJ","html_url":"https://github.com/DLuCJ","followers_url":"https://api.github.com/users/DLuCJ/followers","following_url":"https://api.github.com/users/DLuCJ/following{/other_user}","gists_url":"https://api.github.com/users/DLuCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DLuCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DLuCJ/subscriptions","organizations_url":"https://api.github.com/users/DLuCJ/orgs","repos_url":"https://api.github.com/users/DLuCJ/repos","events_url":"https://api.github.com/users/DLuCJ/events{/privacy}","received_events_url":"https://api.github.com/users/DLuCJ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-08T23:25:05Z","updated_at":"2016-06-09T03:00:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/5012","html_url":"https://github.com/puppetlabs/puppet/pull/5012","diff_url":"https://github.com/puppetlabs/puppet/pull/5012.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/5012.patch"},"body":"Initially, puppet would re-apply a scheduled task even though\r\nthere was no change.  The reason being, only the first 256\r\ncharacters of the arguments parameter (or rather, any\r\nparameter that accepts a string as input) were being read in\r\nfor comparison.  Therefore, the first 256 characters of the\r\nstring were being compared to the full string, resulting in\r\nchanged status.\r\n\r\nThis commit increases the comparison limit for the command\r\nand arguments parameters to 260 and 4096, respectively.\r\nThe 260 character limit is due to Windows API MAX_PATH\r\nlimit for pathnames.  The arguments parameter doesn't appear\r\nto have an upper bound, so 4096 was chosen as a reasonably\r\nlarge limit.  An integration test was included and the\r\nshould_modify acceptance test was changed, both to exercise\r\nscheduled_task with larger string params."},"comment":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments/224788841","html_url":"https://github.com/puppetlabs/puppet/pull/5012#issuecomment-224788841","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/5012","id":224788841,"user":{"login":"puppetcla","id":3835957,"avatar_url":"https://avatars.githubusercontent.com/u/3835957?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetcla","html_url":"https://github.com/puppetcla","followers_url":"https://api.github.com/users/puppetcla/followers","following_url":"https://api.github.com/users/puppetcla/following{/other_user}","gists_url":"https://api.github.com/users/puppetcla/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetcla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetcla/subscriptions","organizations_url":"https://api.github.com/users/puppetcla/orgs","repos_url":"https://api.github.com/users/puppetcla/repos","events_url":"https://api.github.com/users/puppetcla/events{/privacy}","received_events_url":"https://api.github.com/users/puppetcla/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T03:00:16Z","updated_at":"2016-06-09T03:00:16Z","body":"CLA signed by all contributors."}}
{"actor":{"display_login":"puppetcla"}}