CID-428: add missing :time variable to docs

This commit is contained in:
Anton Chuchkalov 2016-03-04 17:04:06 +03:00
parent 6ae3042456
commit 74d167a2e7

View File

@ -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'