{"action":"created","issue":{"url":"https://api.github.com/repos/datacentred/datacentred-ldap/issues/46","labels_url":"https://api.github.com/repos/datacentred/datacentred-ldap/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/datacentred/datacentred-ldap/issues/46/comments","events_url":"https://api.github.com/repos/datacentred/datacentred-ldap/issues/46/events","html_url":"https://github.com/datacentred/datacentred-ldap/pull/46","id":58506177,"number":46,"title":"Autorequire the ldap-server service in ldap_entry type","user":{"login":"buzzdeee","id":8383396,"avatar_url":"https://avatars.githubusercontent.com/u/8383396?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzdeee","html_url":"https://github.com/buzzdeee","followers_url":"https://api.github.com/users/buzzdeee/followers","following_url":"https://api.github.com/users/buzzdeee/following{/other_user}","gists_url":"https://api.github.com/users/buzzdeee/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzdeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzdeee/subscriptions","organizations_url":"https://api.github.com/users/buzzdeee/orgs","repos_url":"https://api.github.com/users/buzzdeee/repos","events_url":"https://api.github.com/users/buzzdeee/events{/privacy}","received_events_url":"https://api.github.com/users/buzzdeee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-22T15:28:44Z","updated_at":"2015-02-24T10:21:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/datacentred/datacentred-ldap/pulls/46","html_url":"https://github.com/datacentred/datacentred-ldap/pull/46","diff_url":"https://github.com/datacentred/datacentred-ldap/pull/46.diff","patch_url":"https://github.com/datacentred/datacentred-ldap/pull/46.patch"},"body":"For me, while provisioning my system, puppet always tried to create the entries in ldap database before the ldap server was running. So, it only succeeded on second puppet run, because then the slapd was running.\r\n\r\nFor that reason, the added autorequire takes care, that the service, if managed, is started before the ldap_entry resources are called.\r\n\r\nhope you like it.\r\n\r\nSebastian"},"comment":{"url":"https://api.github.com/repos/datacentred/datacentred-ldap/issues/comments/75731598","html_url":"https://github.com/datacentred/datacentred-ldap/pull/46#issuecomment-75731598","issue_url":"https://api.github.com/repos/datacentred/datacentred-ldap/issues/46","id":75731598,"user":{"login":"bilco105","id":235338,"avatar_url":"https://avatars.githubusercontent.com/u/235338?v=3","gravatar_id":"","url":"https://api.github.com/users/bilco105","html_url":"https://github.com/bilco105","followers_url":"https://api.github.com/users/bilco105/followers","following_url":"https://api.github.com/users/bilco105/following{/other_user}","gists_url":"https://api.github.com/users/bilco105/gists{/gist_id}","starred_url":"https://api.github.com/users/bilco105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilco105/subscriptions","organizations_url":"https://api.github.com/users/bilco105/orgs","repos_url":"https://api.github.com/users/bilco105/repos","events_url":"https://api.github.com/users/bilco105/events{/privacy}","received_events_url":"https://api.github.com/users/bilco105/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T10:21:09Z","updated_at":"2015-02-24T10:21:09Z","body":"Looks good @buzzdeee, thanks."}}