Title / Description
Code ### This pillar file contains networking information such as ### nameserver hostnames, deployment server ips, hosts file entries and anything network related # stored under the networking pillar {#- Jinja variables #} {#- Please adjust the following variables as needed #} {#- Set hostname variable as minion-id to be used at a later time #} {%- set hostname = grains['id'] %} {#- Virtualnetwork ip space. This should be the Virtual network that the VM is part of #} {%- set virt_network = '192.168.122.1/24' %} {#- Deployment/Master server IP #} {%- set deployment_ip = '192.168.122.247' %} networking: # Define current Minion's Hostname hostname: {{ hostname }} # Virtual network subnet # For more information refer to server documentation in the wiki virt-network: {{ virt_network }} # Define deployment server IP # Using Jinja format here to include the value later in this file deployment-ip: {{ deployment_ip }} # Current node's Fully Qualified Domain Name (Should be the same as it's id) {% set node_fdqn = salt['grains.get']('fdqn', '') %} # Current node's hostname {% set node_host = salt['grains.get']('host', '') %}
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code