couchbase-partners / google-deployment-manager-couchbase

Google Deployment Manager (DM) templates for Couchbase Enterprise
Apache License 2.0
11 stars 9 forks source link

Deal with Scripts #8

Closed benofben closed 7 years ago

benofben commented 7 years ago

We currently have a startup script working well. The scripts are going to get a bunch more complex though.

Ideally we'd separate them out. That could be done by sticking them on GitHub and downloading them. That introduces a dependency on GitHub that it'd be nice to avoid.

I've asked Chris if there's any way to import through DM and land scripts on the boxes.

One alternative would be building them as string in py, though then they have to be escaped properly and formatting issues will surely abound.

benofben commented 7 years ago

Have a solution from Kyle now. It involves multiple imports and concat.