Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767831
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/shellserver/userland-software/files/builder.sudoers b/roles/builder/account/files/builder.sudoers
similarity index 84%
rename from roles/shellserver/userland-software/files/builder.sudoers
rename to roles/builder/account/files/builder.sudoers
index 55ee751..468c96b 100644
--- a/roles/shellserver/userland-software/files/builder.sudoers
+++ b/roles/builder/account/files/builder.sudoers
@@ -1,17 +1,17 @@
# -------------------------------------------------------------
# Odderon
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-# Project: Eglide
+# Project: Nasqueron
# Created: 2017-02-23
# License: Trivial work, not eligible to copyright
-# Source file: roles/shellserver/userland-software/files/builder.sudoers
+# Source file: roles/builder/account/files/builder.sudoers
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
%deployment ALL=(builder) NOPASSWD: ALL
diff --git a/roles/shellserver/userland-software/account.sls b/roles/builder/account/init.sls
similarity index 93%
rename from roles/shellserver/userland-software/account.sls
rename to roles/builder/account/init.sls
index 419bb9c..a323e83 100644
--- a/roles/shellserver/userland-software/account.sls
+++ b/roles/builder/account/init.sls
@@ -1,34 +1,34 @@
# -------------------------------------------------------------
# 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
- createhome: False
- uid: 831
- gid: deployment
# -------------------------------------------------------------
# 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/shellserver/userland-software/files/builder.sudoers
+ - source: salt://roles/builder/account/files/builder.sudoers
- template: jinja
diff --git a/roles/shellserver/userland-software/init.sls b/roles/builder/init.sls
similarity index 70%
copy from roles/shellserver/userland-software/init.sls
copy to roles/builder/init.sls
index 24a4b62..354a246 100644
--- a/roles/shellserver/userland-software/init.sls
+++ b/roles/builder/init.sls
@@ -1,13 +1,10 @@
# -------------------------------------------------------------
-# Salt — Provision software
+# Salt — Builder role
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-# Project: Eglide
-# Created: 2016-04-10
+# Project: Nasqueron
+# Created: 2017-11-13
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
include:
- .account
- - .base
- - .irc
- - .web
diff --git a/roles/devserver/userland-software/init.sls b/roles/devserver/userland-software/init.sls
index b308977..8a38a6a 100644
--- a/roles/devserver/userland-software/init.sls
+++ b/roles/devserver/userland-software/init.sls
@@ -1,18 +1,20 @@
# -------------------------------------------------------------
# Salt — Provision software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-10-20
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
include:
# Shell server content
- roles/shellserver/userland-software/base
- roles/shellserver/userland-software/irc
- roles/shellserver/userland-software/web
+ # Builder role content
+ - roles/builder
# Software specific for development servers
- .dev
- .misc
- .phabricator
- .psysh
diff --git a/roles/shellserver/userland-software/init.sls b/roles/shellserver/userland-software/init.sls
index 24a4b62..938f19d 100644
--- a/roles/shellserver/userland-software/init.sls
+++ b/roles/shellserver/userland-software/init.sls
@@ -1,13 +1,13 @@
# -------------------------------------------------------------
# Salt — Provision software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2016-04-10
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
include:
- - .account
+ - roles/builder/account
- .base
- .irc
- .web
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 25, 03:43 (22 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259468
Default Alt Text
(5 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment