@@ -0,0 +1,14 @@
+#
+# sury php
+
+/etc/apt/trusted.gpg.d/deb.sury.org-php.gpg:
+ file.managed:
+ - source: salt://sury/sury.gpg
+/etc/apt/sources.list.d/sury.php.list:
+ - source: salt://sury/sury.list.tmpl
+ - template: jinja
+ - require:
+ - file: /etc/apt/trusted.gpg.d/deb.sury.org-php.gpg
@@ -0,0 +1,5 @@
+# sury php repository (Salt managed)
+deb [signed-by=/etc/apt/trusted.gpg.d/deb.sury.org-php.gpg] https://packages.sury.org/php/ {{ grains.oscodename }} main