Page MenuHomeDevCentral

D354.diff
No OneTemporary

D354.diff

diff --git a/roles/shellserver/users/files/ssh_keys/tomjerr b/roles/shellserver/users/files/ssh_keys/tomjerr
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/users/files/ssh_keys/tomjerr
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlBO0oLUHYkMBIRregybPFAa0z2C7o2OsIugNZO628Z28hrtxNl+sxTues5TqEV0GEfSWxDf6Ce+d0wWIi7BunL+8pjc59hPbNczCNpgFCXtzgoJptMJ/ikQL0C1xA4dv1KiwYWAYWh45+R/KwW/ab2cfpXGA8G5l1/4ILK73lzIsy4MQEbxAKcsqHKnQqqoDIVP+9t5fsqgqHzBqGWw0l2J5lF1WWIWiNa7ZxuzIr8SHo8/2UYGHIVads25zccpU1dTyUoZ/czfNfTdvYCVgLLQZRw9NgTyKVyL+yNLIUkqykc94ogsw2KZbBNMcUuBnVVL9Kcdyo7rmMzMLdXCjh tomjerr
diff --git a/roles/shellserver/users/users.sls b/roles/shellserver/users/users.sls
--- a/roles/shellserver/users/users.sls
+++ b/roles/shellserver/users/users.sls
@@ -35,6 +35,12 @@
# Active accounts
# -------------------------------------------------------------
+tomjerr:
+ user.present:
+ - fullname: Tommy Aditya
+ - shell: /bin/bash
+ - uid: 2001
+
# -------------------------------------------------------------
# Groups
# -------------------------------------------------------------
@@ -43,7 +49,14 @@
group.present:
- system: True
- gid: 200
+ - members:
+ - tomjerr
# -------------------------------------------------------------
# Managed SSH keys
# -------------------------------------------------------------
+
+sshkeys:
+ ssh_auth.present:
+ - user: tomjerr
+ - source: salt://roles/shellserver/users/files/ssh_keys/tomjerr

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 15:54 (14 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312738
Default Alt Text
D354.diff (1 KB)

Event Timeline