Skip to content

"exactly" resources #143

@snltd

Description

@snltd

Some resources, e.g. pkg, perhasps user, group, svc, could have an "exactly" function, which would ensure that exactly the listed resources exist, removing extraneous ones and adding missing.

I've never seen this before, which probably means it's a pointless idea. Certainly the lists could end up very big. It wouldn't be too hard to implement though.

(user/exactly "root" "daemon" "bin" "sys" "adm" "dladm" "my-app")

You'd get an error if there was no (user/ensure "my-app" ...), and every user bar the ones listed would be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions