{"action":"closed","issue":{"url":"https://api.github.com/repos/razorsedge/puppet-snmp/issues/46","labels_url":"https://api.github.com/repos/razorsedge/puppet-snmp/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/razorsedge/puppet-snmp/issues/46/comments","events_url":"https://api.github.com/repos/razorsedge/puppet-snmp/issues/46/events","html_url":"https://github.com/razorsedge/puppet-snmp/issues/46","id":76653385,"number":46,"title":"Creating snmpv3 users on loaded system fails","user":{"login":"gmsoft-tuxicoman","id":2064119,"avatar_url":"https://avatars.githubusercontent.com/u/2064119?v=3","gravatar_id":"","url":"https://api.github.com/users/gmsoft-tuxicoman","html_url":"https://github.com/gmsoft-tuxicoman","followers_url":"https://api.github.com/users/gmsoft-tuxicoman/followers","following_url":"https://api.github.com/users/gmsoft-tuxicoman/following{/other_user}","gists_url":"https://api.github.com/users/gmsoft-tuxicoman/gists{/gist_id}","starred_url":"https://api.github.com/users/gmsoft-tuxicoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmsoft-tuxicoman/subscriptions","organizations_url":"https://api.github.com/users/gmsoft-tuxicoman/orgs","repos_url":"https://api.github.com/users/gmsoft-tuxicoman/repos","events_url":"https://api.github.com/users/gmsoft-tuxicoman/events{/privacy}","received_events_url":"https://api.github.com/users/gmsoft-tuxicoman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/razorsedge/puppet-snmp/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/razorsedge/puppet-snmp/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"razorsedge","id":788498,"avatar_url":"https://avatars.githubusercontent.com/u/788498?v=3","gravatar_id":"","url":"https://api.github.com/users/razorsedge","html_url":"https://github.com/razorsedge","followers_url":"https://api.github.com/users/razorsedge/followers","following_url":"https://api.github.com/users/razorsedge/following{/other_user}","gists_url":"https://api.github.com/users/razorsedge/gists{/gist_id}","starred_url":"https://api.github.com/users/razorsedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razorsedge/subscriptions","organizations_url":"https://api.github.com/users/razorsedge/orgs","repos_url":"https://api.github.com/users/razorsedge/repos","events_url":"https://api.github.com/users/razorsedge/events{/privacy}","received_events_url":"https://api.github.com/users/razorsedge/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-05-15T08:50:17Z","updated_at":"2015-07-07T06:36:11Z","closed_at":"2015-07-07T06:36:11Z","body":"Sometimes when creating an snmpv3 user fails because the service snmpd isn't finished stopping when the create user command is issued. This is due to the fact that the 'service stop snmpd' command send a signal which is processed asynchronously.\r\n\r\nTo fix this, I added a little delay in the create user command\r\n\r\ncommand => \"${service_cmd} ; sleep .5; echo \\\"${cmd}\\\" >>${snmp::params::var_net_snmp}/${daemon}.conf && touch ${snmp::params::var_net_snmp}/${title}-${daemon}\",\r\n\r\nThis solved the problem on all my hosts."}}