Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3749129
D2329.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
686 B
Referenced Files
None
Subscribers
None
D2329.diff
View Options
diff --git a/roles/core/sudo/init.sls b/roles/core/sudo/init.sls
--- a/roles/core/sudo/init.sls
+++ b/roles/core/sudo/init.sls
@@ -9,6 +9,15 @@
{% from "map.jinja" import dirs with context %}
# -------------------------------------------------------------
+# Software
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% if grains['os'] == 'FreeBSD' %}
+sudo:
+ pkg.installed
+{% endif %}
+
+# -------------------------------------------------------------
# Sudo capabilities
#
# Ops should be able to sudo …
@@ -17,3 +26,4 @@
{{ dirs.etc }}/sudoers.d/ops:
file.managed:
- source: salt://roles/core/sudo/files/ops
+ - makedirs: True
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 12:53 (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2247978
Default Alt Text
D2329.diff (686 B)
Attached To
Mode
D2329: Ensure sudo can be installed on FreeBSD too
Attached
Detach File
Event Timeline
Log In to Comment