Currently, only users have accounts on Eglide,
not operations members.
We want these last to:
- have a regular account
- have a gid > 5000 (users start at 2000)
- be member of the group wheel
We create and populate the wheel group.
Fixes T855.
Differential D398
Provision ops accounts on Eglide dereckson on Jun 8 2016, 23:14. Authored by Tags None Referenced Files
Subscribers None
Details
Currently, only users have accounts on Eglide, We want these last to:
We create and populate the wheel group. Fixes T855. salt eglide state.highstate
Diff Detail
Event TimelineComment Actions Ysul $ salt eglide state.highstate eglide: Data failed to compile: ---------- Rendering SLS 'base:roles/shellserver/users' failed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 178, in render_tmpl output = render_str(tmplstr, context, tmplpath) File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 407, in render_jinja_tmpl log.debug("TmplStr: {0}".format(tmplstr)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2014' in position 75: ordinal not in range(128) Comment Actions
Comment Actions Works, but can't remove root group: Ysul $ salt eglide state.apply roles/shellserver/users […] ---------- ID: root Function: group.absent Result: False Comment: Failed to remove group root Started: 01:21:15.601008 Duration: 51.153 ms Changes: ---------- ID: wheel Function: group.present Result: False Comment: Group wheel is not present but gid 0 is already taken by group root Started: 01:21:15.654899 Duration: 9.492 ms Changes: ---------- […]
Comment Actions Solved root group issue and got it working on Eglide:
|