covermymeds / puppet-sentry

Install and manage Sentry with Puppet!
MIT License
7 stars 7 forks source link

Fix create project script and make it not a template #42

Closed adamcstephens closed 7 years ago

adamcstephens commented 7 years ago

Previously create project would exit with a failure if the project already exists, without creating the file.

The puppet module checks for the file that should be created and runs create project. Therefore, puppet could not successfully configure the system to the desired state.

The fix is to create the file, even if the project already exists in the database.

The remainder of the changes are to convert this to a raw python script, not an erb template of one.

mikegee commented 7 years ago

seems legit

adamcstephens commented 7 years ago

Tested in testing sentry and looks good.