FAQ
Hi All,

I'm maintaining (trying to setup) some specific data per minion in:

# ./pillar/servers/srvxx.sls
area: staging
description: vBox test server
primary_ip: 192.168.2.12
role: mgmtserver
backup_mysql: 'false'
  -- snip --

# Pillar top.sls:
base:
   'srvyy.example.nl':
     - servers.srvyy

   'srvxx.example.nl':
     - servers.srvxx


I would like to be able to use this in templates: {{ pillar['primary_ip'] }}

I'm testing and sometimes am seeing an IP address from a wrong server sls
file. Anybody any tips, how to set this up so its easy to maintain?


NB: I also have a name clash. srvyy returns twice and I dont see srvxx.
Might be related.

$ salt \* saltutil.sync_all
srvzz.example.nl:
     ----------
     grains:
     modules:
     outputters:
     renderers:
     returners:
     states:
srvyy.example.nl:
     ----------
     grains:
     modules:
     outputters:
     renderers:
     returners:
     states:
srvyy.example.nl:
     ----------
     grains:
     modules:
     outputters:
     renderers:
     returners:
     states:



Thanx.

Kind regards,

Gerard.

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupsalt-users @
postedSep 13, '14 at 1:20p
activeSep 13, '14 at 3:50p
posts4
users2

2 users in discussion

Gerard Petersen: 3 posts David Boucha: 1 post

People

Translate

site design / logo © 2022 Grokbase