Merge branch 'CID-428-increments_in_stack_node_names' into features
This commit is contained in:
commit
46eced3993
@ -4,11 +4,12 @@
|
||||
# Variables meanings:
|
||||
# - +:project+ is replaced with project name (given in constructor)
|
||||
# - +:env+ is replaced with env name (given in constructor)
|
||||
# - +:time+ is replaced with current timestamp
|
||||
# - +:instanceid+ is replaced with provider instance id (fetched from server info)
|
||||
# - +:instancename+ is replaced with value of Name tag (fetched from server info)
|
||||
# - +:increment-groupname:+ is replaced with incremented number tied to group name. There could be several groups in one stack.
|
||||
# P.S. Colons are used instead of dollar signs, because it's convinient to set nodename mask tag to AWS stack and not in template
|
||||
# (you set tag once and it propagates to all instances), but stacks don't support dollar signs in tags (unlike EC2 instances).
|
||||
# P.S. Colons are used instead of dollar signs, because stacks don't support dollar signs in tags (unlike EC2 instances),
|
||||
# but it's convenient to set mask tag directly to a stack (not in template): you set tag once and it propagates to all instances.
|
||||
|
||||
class ChefNodeNameBuilder
|
||||
DEFAULT_MASK = ':project-:instancename-:env'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user