From 9d07cb79f6b6ca7e0cb16273973c8453fb3aa11a Mon Sep 17 00:00:00 2001 From: Iwan Date: Tue, 22 May 2018 16:37:57 +0000 Subject: [PATCH] =?UTF-8?q?D=C3=A9pot=20initial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cette configuration me donne le message suivant dans /var/log/salt/master: 2018-05-22 16:36:35,143 [salt.utils.gitfs :1714][ERROR ][27059] Error occurred fetching git_pillar remote 'https://saltgitfsreader:MontBeauMotdePasse@gitea.lescorpsdereve.space/salt/pillar.git': Malformed URL Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1692, in _fetch fetch_results = origin.fetch(**fetch_kwargs) File "/usr/lib/python2.7/dist-packages/pygit2/remote.py", line 375, in fetch check_error(err) File "/usr/lib/python2.7/dist-packages/pygit2/errors.py", line 64, in check_error raise GitError(message) GitError: Malformed URL --- Iwan-gitfs.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Iwan-gitfs.conf diff --git a/Iwan-gitfs.conf b/Iwan-gitfs.conf new file mode 100644 index 0000000..344e7ce --- /dev/null +++ b/Iwan-gitfs.conf @@ -0,0 +1,28 @@ +fileserver_backend: + - git + - roots + +gitfs_provider: gitpython +gitfs_update_interval: 30 + +gitfs_saltenv: + - base: + - ref: master + +gitfs_remotes: + - https://saltgitfsreader:MonBeauMotdePasse@gitea.lescorpsdereve.space/salt/states.git + - https://saltgitfsreader:MonBeauMotdePasse@gitea.lescorpsdereve.space/salt/elasticsearch.git + +gitfs_saltenv_whitelist: + - base + - master + +ext_pillar: + - git: + - https://saltgitfsreader:MonBeauMotdePasse@gitea.lescorpsdereve.space/salt/pillar.git: + - env: base + +file_roots: + base: + - /srv/salt/win/repo-ng + - /srv/salt \ No newline at end of file