Advanced salt-stack pillar usage

If you every used ArchLinux and its build description file PKGBUILD

example PKGBUILD


...
pkgname=foo
pkgver=10.0.2
...
source=("http://www.server.tld/${pkgname}-${pkgver}.tar.gz"
        "foo.desktop")
...

I like this idea of constructing package name, version and source location and wanted to do the same with salt stack pillar, so here is the example of it using nodejs and ghost blogging platform.

/srv/pillar/ghost.sls


{% set ghost_ver = "0.3
read more