File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2626.envrc
2727/inventory.yaml
2828/spec /fixtures /litmus_inventory.yaml
29+ /acceptance /junit
30+ /acceptance /log
Original file line number Diff line number Diff line change 1818 $platform_and_version = " fedora/${facts['os']['release']['major']}"
1919 }
2020 ' Amazon' : {
21- if (" ${facts['os']['release']['major']}" == ' 2' ) {
22- $amz_el_version = ' 7'
23- } else {
24- $amz_el_version = ' 6'
21+ $major_version = $facts [' os' ][' release' ][' major' ]
22+ if ($major_version == ' 2' ) {
23+ $platform_and_version = ' el/7'
24+ }
25+ elsif ($major_version == ' 2017' ) {
26+ $platform_and_version = ' el/6'
27+ }
28+ else {
29+ $platform_and_version = " amazon/${major_version} "
2530 }
26- $platform_and_version = " el/${amz_el_version} "
2731 }
2832 default: {
2933 $platform_and_version = " el/${facts['os']['release']['major']}"
You can’t perform that action at this time.
0 commit comments