zalando-stups / planb-cassandra

Plan B Cassandra for STUPS/AWS with static IPs
Other
27 stars 18 forks source link

Add --dc-suffix to create subcommand #211

Closed a1exsh closed 6 years ago

a1exsh commented 6 years ago

This makes it consistent with extend.

a1exsh commented 6 years ago

:+1:

slitsche commented 6 years ago

I'd expect the value to be used in generate_taupage_user_data. But could not find it.

a1exsh commented 6 years ago

Not really, because that user data is a template, to which instance-specific details, such as volume name (which indeed depends on the dc_suffix), are added later: https://github.com/zalando-stups/planb-cassandra/blob/master/planb/create_cluster.py#L496-L509

a1exsh commented 6 years ago

:+1:

slitsche commented 6 years ago

👍