Configuration with git on demand pillar allowed
(tmp_path)
| 1415 | |
| 1416 | @pytest.fixture |
| 1417 | def allowed_funcs(tmp_path): |
| 1418 | """ |
| 1419 | Configuration with git on demand pillar allowed |
| 1420 | """ |
| 1421 | opts = _git_pillar_base_config(tmp_path) |
| 1422 | opts["on_demand_ext_pillar"] = ["git"] |
| 1423 | priv, pub = salt.crypt.gen_keys(2048) |
| 1424 | master_pki = tmp_path / "pki" |
| 1425 | master_pki.mkdir() |
| 1426 | accepted_pki = master_pki / "minions" |
| 1427 | accepted_pki.mkdir() |
| 1428 | (accepted_pki / "minion.pub").write_text(pub) |
| 1429 | return salt.master.AESFuncs(opts=opts) |
| 1430 | |
| 1431 | |
| 1432 | @skipif_no_pygit2 |
nothing calls this directly
no test coverage detected