-
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.
Quick reproduction of saltstack/salt#36796
- Loading branch information
Showing
9 changed files
with
42 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
salt-ssh: | ||
roster_file: ./conf/roster | ||
config_dir: ./conf | ||
ssh_log_file: ./logs/salt-ssh-log.log | ||
ssh_priv: agent-forwarding |
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 @@ | ||
pki_dir: "/home/mfalck/Work/salt_replicate/.pki" | ||
|
||
cachedir: "/home/mfalck/Work/salt_replicate/.cache" | ||
|
||
fileserver_backend: | ||
- roots | ||
|
||
file_roots: | ||
base: | ||
- /home/mfalck/Work/salt_replicate/salt/ | ||
|
||
pillar_roots: | ||
base: | ||
- /home/mfalck/Work/salt_replicate/pillar/ |
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,4 @@ | ||
salt-master: | ||
host: 172.28.123.100 | ||
user: vagrant | ||
sudo: True |
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,2 @@ | ||
mine_functions: | ||
network.ip_addrs: [] |
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,3 @@ | ||
base: | ||
'*': | ||
- base |
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,3 @@ | ||
{{ salt['grains.get']('os') }}-dummy: | ||
cmd.run: | ||
- name: "uname -a" |
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,7 @@ | ||
{%- set mine_ips = salt['mine.get']('*', 'network.ip_addrs') %} | ||
|
||
{%- for host, ip_addrs in mine_ips.items() %} | ||
{{ host }}-dummy: | ||
cmd.run: | ||
- name: "ip route get {{ ip_addrs|first }}" | ||
{%- endfor %} |
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,4 @@ | ||
base: | ||
'*': | ||
- test_mine | ||
- test_get |