rougail-output-doc/tests/docs/no_namespace/00_2default_calculated_variable_transitive.md

6.1 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: 1.1

var1:
  description: a first variable
  multi: true
  type: domainname
  params:
    allow_ip: true

var2:
  description: a second variable
  default:
    type: variable
    variable: _.var1

Variables

Variable                                                                                                                           Description                                                                                                                       
var1
domainname basic mandatory unique multiple
A first variable.
Validator: the domain name can be an IP
var2
domainname standard mandatory unique multiple
A second variable.
Validator: the domain name can be an IP
Default: the value of the variable "var1".