forked from saltstack-formulas/template-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
map.jinja: use grains.filter_by instead of defaults.merge
because defaults.merge does not work with salt-ssh. saltstack/salt#51605 Added osfingermap.yaml.
- Loading branch information
Showing
2 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=yaml | ||
# | ||
# Setup variables using grains['osfinger'] based logic. | ||
# You just need to add the key:values for an `osfinger` that differ | ||
# from `defaults.yaml` + `os_family.yaml`. | ||
# Only add an `osfinger` which is/will be supported by the formula | ||
# (empty `osfinger`s do not need to be listed, just added here as an example). | ||
--- | ||
CentOS-6: | ||
pkg: template-centos-6 | ||
config: /etc/template.d/custom-centos-6.conf | ||
CentOS-7: {} |