class

Fluxion::UserGroupsStep

Inherits Fluxion::Step < Reference < Object

type: user-groups — add a user to supplementary groups.

usermod -aG exits 0 while the running session still lacks the group, so this step compares the process's own credentials against the group database and raises a logout checkpoint when they disagree. Without that, docker ps keeps saying permission denied and nothing explains why.

Constructors

new(name : String, groups : Array(String), user : String | Nil = nil, create_missing : Bool = false, logout_checkpoint : Bool = true, checkpoint_message : String | Nil = nil, description : String | Nil = nil, continue_on_error : Bool = false, probe_command : String | Nil = nil, condition : Condition | Nil = nil)
Source

Instance methods

checkpoint_message
Source
create_missing?
Source
default_checkpoint_message
Source
groups
Source
item_key(group : String) : String
Source
items

Everything this step installs, in declaration order.

Source
kind

The config type (stable schema) that produces this step.

Source
logout_checkpoint?
Source
summary

One-line summary for plan and list.

Source
user

Defaults to the invoking user; under sudo that means SUDO_USER, not root.

Source