Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1600

User promises should have a bundle attribute for managing the home directory over time

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Promise type: users
    • Labels:
      None

      Description

      The idea is to have one attribute @home_manage@, which is called whenever the user promise is called, which will deprecate the existing attribute @home_bundle@, which is only called when the user is created.

      <pre>
      users:
      "john"
      policy => "present",
      home_manage => home_maintenance;
      </pre>

      We may want to set some local classes to determine whether the user has been created, deleted or just managed, for example @new_user@, or @user_deleted@.

        Attachments

        1. cumulus.cf
          2 kB
        2. proto.cf
          1 kB

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            a10004 Mark Burgess (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: