1 # -*- coding: utf-8 -*-
6 master: template-master
7 # Just for testing purposes
9 added_in_lookup: lookup_value
11 # Using bash package and udev service as an example. This allows us to
12 # test the template formula itself. You should set these parameters to
13 # examples that make sense in the contexto of the formula you're writing.
17 name: systemd-journald
18 config: /etc/template-formula.conf
21 # The files_switch key serves as a selector for alternative
22 # directories under the formula files directory. See TOFS pattern
24 # Note: Any value not evaluated by `config.get` will be used literally.
25 # This can be used to set custom paths, as many levels deep as required.
27 - any/path/can/be/used/here
33 # All aspects of path/file resolution are customisable using the options below.
34 # This is unnecessary in most cases; there are sensible defaults.
35 # Default path: salt://< path_prefix >/< dirs.files >/< dirs.default >
36 # I.e.: salt://TEMPLATE/files/default
37 # path_prefix: template_alt
40 # default: default_alt
41 # The entries under `source_files` are prepended to the default source files
44 # TEMPLATE-config-file-file-managed:
45 # - 'example_alt.tmpl'
46 # - 'example_alt.tmpl.jinja'
48 # For testing purposes
50 TEMPLATE-config-file-file-managed:
51 - 'example.tmpl.jinja'
52 TEMPLATE-subcomponent-config-file-file-managed:
53 - 'subcomponent-example.tmpl.jinja'
55 # Just for testing purposes
57 added_in_pillar: pillar_value