Samba state application output



slave-2:
----------
          ID: samba_service_install
    Function: pkg.installed
        Name: samba
      Result: True
     Comment: The following packages were installed/updated: samba
     Started: 17:28:15.408109
    Duration: 14715.621 ms
     Changes:
              ----------
              attr:
                  ----------
                  new:
                      1:2.4.47-2build1
                  old:
              ibverbs-providers:
                  ----------
                  new:
                      17.1-1ubuntu0.2
                  old:
              libcephfs2:
                  ----------
                  new:
                      12.2.13-0ubuntu0.18.04.4
                  old:
              libcxgb3-1:
                  ----------
                  new:
                      1
                  old:
              libgpgme11:
                  ----------
                  new:
                      1.10.0-1ubuntu2
                  old:
              libibverbs1:
                  ----------
                  new:
                      17.1-1ubuntu0.2
                  old:
              libipathverbs1:
                  ----------
                  new:
                      1
                  old:
              libmlx4-1:
                  ----------
                  new:
                      1
                  old:
              libmlx5-1:
                  ----------
                  new:
                      1
                  old:
              libmthca1:
                  ----------
                  new:
                      1
                  old:
              libnes1:
                  ----------
                  new:
                      1
                  old:
              libnl-route-3-200:
                  ----------
                  new:
                      3.2.29-0ubuntu3
                  old:
              libnspr4:
                  ----------
                  new:
                      2:4.18-1ubuntu1
                  old:
              libnss3:
                  ----------
                  new:
                      2:3.35-2ubuntu2.12
                  old:
              librados2:
                  ----------
                  new:
                      12.2.13-0ubuntu0.18.04.4
                  old:
              python-dnspython:
                  ----------
                  new:
                      1.15.0-1
                  old:
              samba:
                  ----------
                  new:
                      2:4.7.6+dfsg~ubuntu-0ubuntu2.21
                  old:
              samba-dsdb-modules:
                  ----------
                  new:
                      2:4.7.6+dfsg~ubuntu-0ubuntu2.21
                  old:
              samba-vfs-modules:
                  ----------
                  new:
                      2:4.7.6+dfsg~ubuntu-0ubuntu2.21
                  old:
              tdb-tools:
                  ----------
                  new:
                      1.3.15-2
                  old:
----------
          ID: samba_service_install
    Function: service.running
        Name: smbd
      Result: True
     Comment: The service smbd is already running
     Started: 17:28:30.827862
    Duration: 20.565 ms
     Changes:
----------
          ID: samba_user
    Function: user.present
        Name: tweedledum
      Result: True
     Comment: New user tweedledum created
     Started: 17:28:30.849853
    Duration: 185.587 ms
     Changes:
              ----------
              fullname:
              gid:
                  1001
              groups:
                  - sambashare
                  - tweedledum
              home:
                  /home/tweedledum
              homephone:
              name:
                  tweedledum
              passwd:
                  x
              roomnumber:
              shell:
                  /usr/sbin/nologin
              uid:
                  1001
              workphone:
----------
          ID: create_share_folder
    Function: file.directory
        Name: /home/tweedledum/smb_share
      Result: True
     Comment: Directory /home/tweedledum/smb_share updated
     Started: 17:28:31.044391
    Duration: 1.268 ms
     Changes:
              ----------
              /home/tweedledum/smb_share:
                  New Dir
----------
          ID: add_config
    Function: file.managed
        Name: /etc/samba/smb.conf
      Result: True
     Comment: File /etc/samba/smb.conf updated
     Started: 17:28:31.045777
    Duration: 19.029 ms
     Changes:
              ----------
              diff:
                  ---
                  +++
                  @@ -258,3 +258,12 @@
                   # to the drivers directory for these users to have write rights in it
                   ;   write list = root, @lpadmin

                  +[sambashare]
                  +  comment = My Test Share
                  +  path = /home/tweedledum/smb_share
                  +  browseable = no
                  +  read only = no
                  +  force create mode = 0660
                  +  force directory mode = 2770
                  +  valid users = tweedledum @sambashare
                  +
----------
          ID: set_smb_pass
    Function: pdbedit.managed
        Name: tweedledum
      Result: True
     Comment:
     Started: 17:28:31.065673
    Duration: 149.143 ms
     Changes:
              ----------
              tweedledum:
                  created
----------
          ID: reload_smb
    Function: service.running
        Name: smbd
      Result: True
     Comment: The service smbd is already running
     Started: 17:28:31.215062
    Duration: 13.696 ms
     Changes:

Summary for slave-2
------------
Succeeded: 7 (changed=5)
Failed:    0
------------
Total states run:     7
Total run time:  15.105 s