forked from martinhoefling/letsencrypt-formula
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
Modifications on the letsencrypt Git repo is often not a simple fast-forward.
in install.sls, the git.latest fails.
We need something like a force_fetch option.
I tried, it worked, but with a strange warning.
My modification :
diff --git a/letsencrypt/install.sls b/letsencrypt/install.sls
index 31b279b..6876a50 100644
--- a/letsencrypt/install.sls
+++ b/letsencrypt/install.sls
@@ -8,3 +8,4 @@ letsencrypt-client-git:
- name: https://github.com/letsencrypt/letsencrypt
- target: {{ letsencrypt.cli_install_dir }}
- force_reset: True
+ - force_fetch: True
The Warning :
git_|-letsencrypt-client-git_|-https://github.com/letsencrypt/letsencrypt_|-latest:
----------
__run_num__:
0
changes:
----------
comment:
duration: 1691.61
name:
https://github.com/letsencrypt/letsencrypt
result:
True
start_time:
10:50:29.373780 warnings:
- 'force_fetch' is an invalid keyword argument for 'git.latest'. If you were trying to pass additional data to be used in a template context, please populate 'con
text' with 'key: value' pairs. Your approach will work until Salt Carbon is out. Please update your state files.
Metadata
Metadata
Assignees
Labels
No labels