mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
test(oracle): add InSpec configuration for oraclelinux
This commit is contained in:
parent
194aa97dff
commit
c4b66d8f0b
5 changed files with 72 additions and 2 deletions
4
FORMULA
4
FORMULA
|
@ -1,9 +1,9 @@
|
|||
name: TEMPLATE
|
||||
os: Debian, Ubuntu, Raspbian, RedHat, Fedora, CentOS, Amazon, Suse, openSUSE, Gentoo, Funtoo, Arch, Manjaro, Alpine, FreeBSD, OpenBSD, Solaris, SmartOS, Windows, MacOS
|
||||
os: Debian, Ubuntu, Raspbian, RedHat, Fedora, CentOS, Amazon, Oracle, Suse, openSUSE, Gentoo, Funtoo, Arch, Manjaro, Alpine, FreeBSD, OpenBSD, Solaris, SmartOS, Windows, MacOS
|
||||
os_family: Debian, RedHat, Suse, Gentoo, Arch, Alpine, FreeBSD, OpenBSD, Solaris, Windows, MacOS
|
||||
version: 4.2.0
|
||||
release: 1
|
||||
minimum_version: 2017.7
|
||||
minimum_version: 2019.2
|
||||
summary: TEMPLATE formula
|
||||
description: Formula to use as a template for other formulas
|
||||
top_level_dir: TEMPLATE
|
||||
|
|
34
test/integration/default/files/_mapdata/oracle-7.yaml
Normal file
34
test/integration/default/files/_mapdata/oracle-7.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
# yamllint disable rule:indentation rule:line-length
|
||||
# Oracle Linux Server-7
|
||||
---
|
||||
added_in_defaults: defaults_value
|
||||
added_in_lookup: lookup_value
|
||||
added_in_pillar: pillar_value
|
||||
arch: amd64
|
||||
config: /etc/template-formula.conf
|
||||
lookup:
|
||||
added_in_lookup: lookup_value
|
||||
master: template-master
|
||||
winner: lookup
|
||||
master: template-master
|
||||
pkg:
|
||||
name: bash
|
||||
rootgroup: root
|
||||
service:
|
||||
name: systemd-journald
|
||||
subcomponent:
|
||||
config: /etc/TEMPLATE-subcomponent-formula.conf
|
||||
tofs:
|
||||
files_switch:
|
||||
- any/path/can/be/used/here
|
||||
- id
|
||||
- roles
|
||||
- osfinger
|
||||
- os
|
||||
- os_family
|
||||
source_files:
|
||||
TEMPLATE-config-file-file-managed:
|
||||
- example.tmpl.jinja
|
||||
TEMPLATE-subcomponent-config-file-file-managed:
|
||||
- subcomponent-example.tmpl.jinja
|
||||
winner: pillar
|
34
test/integration/default/files/_mapdata/oracle-8.yaml
Normal file
34
test/integration/default/files/_mapdata/oracle-8.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
# yamllint disable rule:indentation rule:line-length
|
||||
# Oracle Linux Server-8
|
||||
---
|
||||
added_in_defaults: defaults_value
|
||||
added_in_lookup: lookup_value
|
||||
added_in_pillar: pillar_value
|
||||
arch: amd64
|
||||
config: /etc/template-formula.conf
|
||||
lookup:
|
||||
added_in_lookup: lookup_value
|
||||
master: template-master
|
||||
winner: lookup
|
||||
master: template-master
|
||||
pkg:
|
||||
name: bash
|
||||
rootgroup: root
|
||||
service:
|
||||
name: systemd-journald
|
||||
subcomponent:
|
||||
config: /etc/TEMPLATE-subcomponent-formula.conf
|
||||
tofs:
|
||||
files_switch:
|
||||
- any/path/can/be/used/here
|
||||
- id
|
||||
- roles
|
||||
- osfinger
|
||||
- os
|
||||
- os_family
|
||||
source_files:
|
||||
TEMPLATE-config-file-file-managed:
|
||||
- example.tmpl.jinja
|
||||
TEMPLATE-subcomponent-config-file-file-managed:
|
||||
- subcomponent-example.tmpl.jinja
|
||||
winner: pillar
|
|
@ -18,4 +18,5 @@ supports:
|
|||
- platform-name: suse
|
||||
- platform-name: freebsd
|
||||
- platform-name: amazon
|
||||
- platform-name: oracle
|
||||
- platform-name: arch
|
||||
|
|
|
@ -15,4 +15,5 @@ supports:
|
|||
- platform-name: suse
|
||||
- platform-name: freebsd
|
||||
- platform-name: amazon
|
||||
- platform-name: oracle
|
||||
- platform-name: arch
|
||||
|
|
Loading…
Add table
Reference in a new issue