Page MenuHomeDevCentral

init.sls
No OneTemporary

init.sls

# -------------------------------------------------------------
# Salt — sudo configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-10-19
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs with context %}
# -------------------------------------------------------------
# Software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if grains['os'] == 'FreeBSD' %}
sudo:
pkg.installed
{% endif %}
# -------------------------------------------------------------
# Sudo capabilities
#
# Ops should be able to sudo …
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ dirs.etc }}/sudoers.d/ops:
file.managed:
- source: salt://roles/core/sudo/files/ops
- makedirs: True

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 01:36 (5 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264138
Default Alt Text
init.sls (923 B)

Event Timeline