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.
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.