Skip to content

Commit

Permalink
Improve comments and examples in osfamilymap & osmap
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 12, 2019
1 parent d7940c0 commit b5c4987
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion template/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
# vim: ft=yaml
#
# Setup variables using grains['os_family'] based logic.
# Only add key:values that differ from `defaults.yaml`.
# You just need to add the key:values for an `os_family` that differ
# from `defaults.yaml`.
# Only add an `os_family` which is/will be supported by the formula
# (empty `os_family`s do not need to be listed, just added here as an example).
---
Debian:
pkg: template-debian
Expand All @@ -19,6 +22,8 @@ Gentoo: {}

Arch:
pkg: template-arch
service:
name: service-arch

Alpine: {}

Expand Down
8 changes: 7 additions & 1 deletion template/osmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
# vim: ft=yaml
#
# Setup variables using grains['os'] based logic.
# Only add key:values that differ from `defaults.yaml` + `os_family.yaml`.
# You just need to add the key:values for an `os` that differ
# from `defaults.yaml` + `os_family.yaml`.
# Only add an `os` which is/will be supported by the formula
# (empty `os`es do not need to be listed, just added here as an example).
---
Ubuntu:
pkg: template-ubuntu
config: /etc/template.d/custom-ubuntu.conf

Fedora:
pkg: template-fedora
service:
name: service-fedora

Raspbian: {}

Expand Down

0 comments on commit b5c4987

Please sign in to comment.