Page MenuHomeDevCentral

D2329.id.diff
No OneTemporary

D2329.id.diff

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

Mime Type
text/plain
Expires
Sat, Nov 16, 19:15 (6 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2247978
Default Alt Text
D2329.id.diff (686 B)

Event Timeline