{"action":"created","issue":{"url":"https://api.github.com/repos/sbadia/puppet-gitlab/issues/180","labels_url":"https://api.github.com/repos/sbadia/puppet-gitlab/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/sbadia/puppet-gitlab/issues/180/comments","events_url":"https://api.github.com/repos/sbadia/puppet-gitlab/issues/180/events","html_url":"https://github.com/sbadia/puppet-gitlab/issues/180","id":41378080,"number":180,"title":"Don't wipe the database out during installation","user":{"login":"njm506","id":5664451,"avatar_url":"https://avatars.githubusercontent.com/u/5664451?v=3","gravatar_id":"","url":"https://api.github.com/users/njm506","html_url":"https://github.com/njm506","followers_url":"https://api.github.com/users/njm506/followers","following_url":"https://api.github.com/users/njm506/following{/other_user}","gists_url":"https://api.github.com/users/njm506/gists{/gist_id}","starred_url":"https://api.github.com/users/njm506/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njm506/subscriptions","organizations_url":"https://api.github.com/users/njm506/orgs","repos_url":"https://api.github.com/users/njm506/repos","events_url":"https://api.github.com/users/njm506/events{/privacy}","received_events_url":"https://api.github.com/users/njm506/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-28T10:52:47Z","updated_at":"2015-04-13T03:30:08Z","closed_at":null,"body":"I've begun testing this module across a couple of VMs.  On setting up the second VM (with a bit of test data in the database), I've found that the database gets reinitialized, wiping out the data.\r\n\r\nThis is due to Exec['setup gitlab database'] looking at a local file to determine whether the database needs \"setting up\".\r\n\r\nFor such a dangerous operation, one might speculate that this functionality should be separate from the main install process (either as a separate class or by setting a parameter)."},"comment":{"url":"https://api.github.com/repos/sbadia/puppet-gitlab/issues/comments/92185399","html_url":"https://github.com/sbadia/puppet-gitlab/issues/180#issuecomment-92185399","issue_url":"https://api.github.com/repos/sbadia/puppet-gitlab/issues/180","id":92185399,"user":{"login":"StrangeWill","id":1322565,"avatar_url":"https://avatars.githubusercontent.com/u/1322565?v=3","gravatar_id":"","url":"https://api.github.com/users/StrangeWill","html_url":"https://github.com/StrangeWill","followers_url":"https://api.github.com/users/StrangeWill/followers","following_url":"https://api.github.com/users/StrangeWill/following{/other_user}","gists_url":"https://api.github.com/users/StrangeWill/gists{/gist_id}","starred_url":"https://api.github.com/users/StrangeWill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrangeWill/subscriptions","organizations_url":"https://api.github.com/users/StrangeWill/orgs","repos_url":"https://api.github.com/users/StrangeWill/repos","events_url":"https://api.github.com/users/StrangeWill/events{/privacy}","received_events_url":"https://api.github.com/users/StrangeWill/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T03:30:08Z","updated_at":"2015-04-13T03:30:08Z","body":"+1, funny enough I seem to be missing the local file for whatever reason, and without a sane check it's eating my database on every puppet run..."}}