Page MenuHomeDevCentral

init.sls
No OneTemporary

init.sls

# -------------------------------------------------------------
# Salt — Provision software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2017-02-23
# Description: Account to build applications from source code
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs with context %}
# -------------------------------------------------------------
# Service account
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
builder_account:
user.present:
- name: builder
- fullname: Software builder account for configure and make
- uid: 831
- gid: deployment
- home: /var/run/builder
# -------------------------------------------------------------
# Sudo capabilities
#
# Members of deployment should be able to sudo -u builder …
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
builder_sudo_capabilities_file:
file.managed:
- name: {{ dirs.etc }}/sudoers.d/builder
- source: salt://roles/builder/account/files/builder.sudoers
- template: jinja

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 16:28 (8 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2283747
Default Alt Text
init.sls (1 KB)

Event Timeline