Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3774608
D1334.id3423.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1334.id3423.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 12:55 (19 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2262418
Default Alt Text
D1334.id3423.diff (1 KB)
Attached To
Mode
D1334: Install Yubico PAM module
Attached
Detach File
Event Timeline
Log In to Comment