Page MenuHomeDevCentral

Create nasqueron-irc group on Eglide
ClosedPublic

Authored by dereckson on Jan 25 2017, 11:40.
Tags
None
Referenced Files
F3912278: D858.id2172.diff
Thu, Dec 19, 05:12
F3912153: D858.id2174.diff
Thu, Dec 19, 05:05
F3912060: D858.id2171.diff
Thu, Dec 19, 05:00
F3911950: D858.id2170.diff
Thu, Dec 19, 04:34
F3911851: D858.id2173.diff
Thu, Dec 19, 04:10
F3911827: D858.id2175.diff
Thu, Dec 19, 04:03
F3911280: D858.diff
Thu, Dec 19, 01:56
Unknown Object (File)
Tue, Dec 17, 08:25
Subscribers
None

Details

Summary

This group is intended to run IRC bots on Eglide
for Nasqueron services, like Odderon, a darkbot.

When an account is created for an IRC bot, a suoders file can then
be provided to allow bot managers in this nasqueron-irc group to use
sudo from their accounts to run commands on this account.

To provide groups, two operations are so needed:

  • document in GIDs to avoid conflicts
  • add to pillar/users/shellgroups.sls for actual creation
Test Plan
$ ssh eglide id -Gn
dereckson wheel shell nasqueron-irc

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
nasqueron-irc (branched from master)
Build Status
Buildable 1315
Build 1563: arc lint + arc unit

Event Timeline

dereckson edited the summary of this revision. (Show Details)

Fix for loop

Simplify and fix JINJA code

Salt master
$ salt '*' saltutil.refresh_pillar
[…]
$ salt eglide state.apply roles/shellserver/users/
[…]
----------
          ID: group_nasqueron-irc
    Function: group.present
        Name: nasqueron-irc
      Result: True
     Comment: New group nasqueron-irc created
     Started: 13:10:37.453357
    Duration: 783.014 ms
     Changes:   
              ----------
              gid:
                  829
              members:
                  - dereckson
              name:
                  nasqueron-irc
              passwd:
                  x
[…]
This revision is now accepted and ready to land.Jan 25 2017, 13:12
This revision was automatically updated to reflect the committed changes.