Page MenuHomeDevCentral

D1334.diff
No OneTemporary

D1334.diff

diff --git a/map.jinja b/map.jinja
--- a/map.jinja
+++ b/map.jinja
@@ -99,6 +99,7 @@
'varnish': 'varnish',
'verbiste': 'verbiste',
'youtube-dl': 'youtube-dl',
+ 'yubico-pam': 'libpam-yubico',
},
'RedHat': {
'ag': 'the_silver_searcher',
@@ -116,6 +117,7 @@
'tcltls': 'tcltls',
'varnish': 'varnish',
'youtube-dl': 'youtube-dl',
+ 'yubico-pam': 'pam_yubico',
},
'Arch': {
'ag': 'the_silver_searcher',
@@ -128,6 +130,7 @@
'tcltls': 'tcltls',
'varnish': 'varnish',
'youtube-dl': 'youtube-dl',
+ 'yubico-pam': 'yubico-pam',
},
'FreeBSD' : {
'ag': 'the_silver_searcher',
@@ -152,6 +155,7 @@
'varnish': 'varnish5',
'verbiste': 'fr-verbiste',
'youtube-dl': 'youtube_dl',
+ 'yubico-pam': 'pam_yubico',
},
}, default='Debian') %}
diff --git a/roles/bastion/yubico/init.sls b/roles/bastion/yubico/init.sls
--- a/roles/bastion/yubico/init.sls
+++ b/roles/bastion/yubico/init.sls
@@ -10,4 +10,5 @@
include:
- .authorized_yubikeys
+ - .pam
- .selinux
diff --git a/roles/bastion/yubico/pam.sls b/roles/bastion/yubico/pam.sls
new file mode 100644
--- /dev/null
+++ b/roles/bastion/yubico/pam.sls
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------
+# Salt — Bastion - Yubikeys
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-02-18
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import packages with context %}
+
+# -------------------------------------------------------------
+# Install PAM module package
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+yubico_pam_software:
+ pkg.installed:
+ - pkgs:
+ - {{ packages['yubico-pam'] }}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 11:15 (18 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2262418
Default Alt Text
D1334.diff (1 KB)

Event Timeline