-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(linux): align to template-formula (plus fixes)
- Loading branch information
1 parent
6a31254
commit 71b4d8a
Showing
13 changed files
with
83 additions
and
52 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 was deleted.
Oops, something went wrong.
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 @@ | ||
clean.sls |
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=sls | ||
{% from "salt/map.jinja" import salt_settings with context %} | ||
salt-pkgrepo-clean-saltstack-debian: | ||
pkgrepo.absent: | ||
- name: {{ salt_settings.pkgrepo }} | ||
file.absent: | ||
- name: /etc/apt/sources.list.d/saltstack.list | ||
salt-pkgrepo-clean-saltstack-debian-apt-key: | ||
file.absent: | ||
- name: /etc/apt/trusted.gpg.d/saltstack.gpg |
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 |
---|---|---|
@@ -1,12 +1,5 @@ | ||
{% from "salt/map.jinja" import salt_settings with context %} | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
saltstack-pkgrepo: | ||
pkgrepo.managed: | ||
- humanname: SaltStack Debian Repo | ||
- name: {{ salt_settings.pkgrepo }} | ||
- file: /etc/apt/sources.list.d/saltstack.list | ||
- key_url: {{ salt_settings.key_url }} | ||
- clean_file: True | ||
# Order: 1 because we can't put a require_in on "pkg: salt-{master,minion}" | ||
# because we don't know if they are used. | ||
- order: 1 | ||
include: | ||
- .install |
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,14 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
{% from "salt/map.jinja" import salt_settings with context %} | ||
salt-pkgrepo-install-saltstack-debian: | ||
pkgrepo.managed: | ||
- humanname: SaltStack Debian Repo | ||
- name: {{ salt_settings.pkgrepo }} | ||
- file: /etc/apt/sources.list.d/saltstack.list | ||
- key_url: {{ salt_settings.key_url }} | ||
- clean_file: True | ||
# Order: 1 because we can't put a require_in on "pkg: salt-{master,minion}" | ||
# because we don't know if they are used. | ||
- order: 1 |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
clean.sls |
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,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
salt-pkgrepo-clean-saltstack-redhat: | ||
pkgrepo.absent: | ||
- name: saltstack |
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 |
---|---|---|
@@ -1,12 +1,5 @@ | ||
{% from "salt/map.jinja" import salt_settings with context %} | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
{%- if grains['os']|lower not in ('amazon', 'fedora') %} | ||
saltstack-pkgrepo: | ||
pkgrepo.managed: | ||
- name: saltstack | ||
- humanname: SaltStack repo for RHEL/CentOS $releasever | ||
- baseurl: {{ salt_settings.pkgrepo }} | ||
- enabled: 1 | ||
- gpgcheck: 1 | ||
- gpgkey: {{ salt_settings.key_url }} | ||
{% endif %} | ||
include: | ||
- .install |
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,14 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
{% from "salt/map.jinja" import salt_settings with context %} | ||
{%- if grains['os']|lower not in ('amazon', 'fedora') %} | ||
salt-pkgrepo-install-saltstack-redhat: | ||
pkgrepo.managed: | ||
- name: saltstack | ||
- humanname: SaltStack repo for RHEL/CentOS $releasever | ||
- baseurl: {{ salt_settings.pkgrepo }} | ||
- enabled: 1 | ||
- gpgcheck: 1 | ||
- gpgkey: {{ salt_settings.key_url }} | ||
{% endif %} |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
clean.sls |
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,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
salt-pkgrepo-clean-saltstack-suse: | ||
pkgrepo.absent: | ||
- name: systemsmanagement_saltstack_products |
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 |
---|---|---|
@@ -1,10 +1,5 @@ | ||
{% from "salt/map.jinja" import salt_settings with context %} | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
saltstack-pkgrepo: | ||
pkgrepo.managed: | ||
- name: systemsmanagement_saltstack_products | ||
- humanname: SaltStack repo for Opensuse 42.3 | ||
- baseurl: {{ salt_settings.pkgrepo }} | ||
- enabled: 1 | ||
- gpgcheck: 1 | ||
- gpgkey: {{ salt_settings.key_url }} | ||
include: | ||
- .install |
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,12 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
{% from "salt/map.jinja" import salt_settings with context %} | ||
salt-pkgrepo-install-saltstack-suse: | ||
pkgrepo.managed: | ||
- name: systemsmanagement_saltstack_products | ||
- humanname: SaltStack repo for Opensuse 42.3 | ||
- baseurl: {{ salt_settings.pkgrepo }} | ||
- enabled: 1 | ||
- gpgcheck: 1 | ||
- gpgkey: {{ salt_settings.key_url }} |