]> WPIA git - infra.git/commit
add: virtual resource collectors for nginx+pg
authorFelix Dörre <felix@dogcraft.de>
Sat, 22 Dec 2018 12:19:15 +0000 (13:19 +0100)
committerLucas Werkmeister <mail@lucaswerkmeister.de>
Sat, 5 Jan 2019 22:37:09 +0000 (23:37 +0100)
commit95266f6237df2334741f3ce60050618259452ed4
treed7c000bfc8fded425b86594f3b57da5a9e0ff6b1
parent41cbbc4ab004007f4391702f4da51efa996d97c8
add: virtual resource collectors for nginx+pg

This makes it possible to define virtual resources (prefixed by an '@'
character) in other manifests and have them be automatically added to
the correct nodes. For example, a different manifest could define @file
and @front_host resources with tag => [nginx], and the collectors added
here would automatically add them to the front-nginx node.

Change-Id: I8b0fa62ae52632ea228a30bb02fed8bcc2ed8761
environments/production/manifests/nginx.pp
environments/production/manifests/postgres-primary.pp
environments/production/manifests/root.pp