Skip to content

Latest commit

 

History

History
344 lines (210 loc) · 9.19 KB

CHANGELOG.md

File metadata and controls

344 lines (210 loc) · 9.19 KB

users Cookbook CHANGELOG

This file is used to list changes made in each version of the users cookbook.

Unreleased

Standardise files with files in sous-chefs/repo-management

Standardise files with files in sous-chefs/repo-management

8.1.20 - 2024-05-03

8.1.19 - 2024-05-03

8.1.18 - 2023-09-29

8.1.17 - 2023-09-28

8.1.16 - 2023-05-17

8.1.15 - 2023-04-17

8.1.14 - 2023-04-07

Standardise files with files in sous-chefs/repo-management

8.1.13 - 2023-04-01

8.1.12 - 2023-04-01

8.1.11 - 2023-04-01

Standardise files with files in sous-chefs/repo-management

8.1.10 - 2023-03-20

Standardise files with files in sous-chefs/repo-management

8.1.9 - 2023-03-15

Standardise files with files in sous-chefs/repo-management

Standardise files with files in sous-chefs/repo-management

8.1.8 - 2023-02-27

8.1.7 - 2023-02-27

Standardise files with files in sous-chefs/repo-management

Standardise files with files in sous-chefs/repo-management

8.1.6 - 2023-02-14

8.1.5 - 2023-02-14

Standardise files with files in sous-chefs/repo-management

8.1.4 - 2022-12-08

Standardise files with files in sous-chefs/repo-management

8.1.3 - 2022-12-03

  • Updated readme, Make it obvious that user creation will be skipped if the user's groups do not include the user_manage module's group name
  • Fix CI pipelines

8.1.2 - 2022-02-10

Standardise files with files in sous-chefs/repo-management

8.1.1 - 2021-08-30

  • Standardise files with files in sous-chefs/repo-management

8.1.0 - 2021-08-26

  • Add system property to users_manage resource
  • Add system property to user json test data
  • Add corresponding integration tests

8.0.0 - 2021-08-05

  • Patch bug causing the cookbook to fail on suse and macos.
  • Update README to lessen confusion.
  • This may still be a breaking change for some users, but is hopefully no longer a bug.

7.1.1 - 2021-08-02

  • CI: Use the chef-infra provisioner instead of chef-zero

7.1.0 - 2021-07-28

  • Give group ownership of each users .ssh/* files to that users primary group
  • Allow user to set file permissions for their home directory
  • Add a primary_group and homedir_mode key to the user hash options

7.0.1 - 2021-07-02

  • Allows a given user to be in a group of the same name, that is already created or explicitly defined in its groups key

7.0.0 - 2021-06-21

  • Set unified_mode to true for the users_manage resource
  • Set minium Chef version to 15.3 for unified_mode
  • Inspec fix from nil to ''

6.0.3 - 2021-06-01

  • Standardise files with files in sous-chefs/repo-management

6.0.2 - 2021-03-29

  • Allow users attribute to be unset, allowing to create a group without any users.

6.0.1 - 2021-03-16

  • Fix invalid checking of user[:uid] which could lead to root owning the users folders and files. Thanks @evandam

6.0.0 - 2021-03-12

  • Removed hard dependency on data bags. See upgrading.md for details
  • Added per user no_user_group option to skip creating user group with the same name.
  • Cleaned up the manage resource
  • Added pubkey_type helper
  • Added more integration tests and updated unit tests to chefspec.

5.7.0 - 2021-03-08

  • Add manage_home to the remove action of the manage resource

5.6.0 - 2021-01-31

  • Sous Chefs Adoption
  • Standardise files with files in sous-chefs/repo-management
  • Add integration testing for MacOS
  • Remove testing for Amazon Linux 201x, CentOS 6 and Ubuntu 16.04
  • Exclude uid and home properties from user resource on MacOS

5.5.0 (2020-09-01)

Added

  • Add code owners file
  • Use the org wide GitHub templates
  • Replace TravisCI with Github Actions for testing
  • Add Ubuntu 20.04 and include other platforms on dokken for tests
  • Enable enforce_idempotency

Changed

  • Update README - formatting fixes
  • Simplify platform specific logic and remove foodcritic comments
  • Require Chef Infra Client 12.15+

Fixed

  • Cookstyle fixes
  • MDL fixes
  • yamllint fixes
  • Standardise files with files in chef-cookbooks/repo-management
  • Update keys so test passes

Removed

  • Remove Ubuntu 14.04 testing
  • Remove one-off ubuntu-16.04-chef-12.7 suite
  • Remove .rubocop.yml as it's no longer needed

5.4.0 (2018-07-18)

  • Remove ChefSpec matchers which are now auto-generatedb y ChefSpec
  • Add a new databag entry for the keyfile location

5.3.1 (2017-12-15)

  • Remove special case for freebsd in favor of later shell validity check

5.3.0 (2017-12-07)

  • Add check if user shell exists
  • Verify the shell is allowed on AIX
  • Add AIX as a supported platform

5.2.2 (2017-11-29)

  • Add home directory base for solaris

5.2.1 (2017-10-31)

  • Make sure ssh_keys can be an array or a string by converting strings to an array if they're passed

5.2.0 (2017-10-31)

  • Require Chef 12.7+ as 12.5 and 12.6 had bugs in their custom resource implementation
  • Allow fetching one or more ssh_keys from a url

5.1.0 (2017-05-30)

  • Keep ssh keys out of the chef logs
  • Improve docs and examples
  • Remove class_eval and require Chef 12.7+ as class_eval causes issues with later Chef 12 releases

5.0.0 (2017-04-17)

Breaking changes

  • The users_manage LWRP has been converted to a custom resource, which requires Chef 12.5 or later
  • The sysadmins recipe contains no resources now and will do nothing

Other changes

  • Added integration tests with Inspec
  • Fixed all deprecation warnings
  • Fixed group creation on macOS when the group already exists
  • Added suse platforms as supported in the metadata
  • Switched to a SPDX apache-2.0 license string
  • Moved all templates out of the default directory as we don't support Chef 11 anymore

4.0.3 (2016-11-23)

  • Update manage provider to return true/false in guard block which avoids warnings during run on Chef 12.14+

4.0.2 (2016-11-18)

  • Deprecate the sysadmins recipe

4.0.1 (2016-09-15)

  • Fix creation of user home directory

4.0.0 (2016-09-15)

  • Add chef_version to the metadata
  • Require Chef 12.1+
  • Testing updates
  • Fixed compatibility with Chef 12.14
  • Properly define the Chefspec matcher
  • Add a warning if someone includes users::default since that does nothing

v3.0.0

  • @onlyhavecans - Fix FreeBSD support
  • @stem - Fix user creation on Mac OS X on 10.7 and 10.8
  • Remove old style chef solo code to clean up rubocop issues, move to using cookstyle
  • Adding zlinux support

v2.0.3

  • @nkadel-skyhook - create .ssh directory only if keys are configured.
  • @signe - allow force parameter to be specified for users configured to be removed.
  • @FlorentFlament - adding the ability to manage groups for existing users.

v2.0.2 (2016-1-25)

  • @375gnu- validate uid/gid for strings versus numeric
  • fix rubocop errors based on rubocop/rubocop#2608
  • fix kitchen configurations for testing

v2.0.1 (2016-1-8)

  • Fixed provider to work on Mac OS X
  • funzoneq - add correct default shell for FreeBSD if not provided
  • Added kitchen.dokken to speed up platform testing

v2.0.0 (2015-12-11)

  • Removed Chef 10 compatibility code
  • Removed the nodes fqdn from the authorized_keys file
  • Removed a trailing comma in a readme example
  • Added chef standard .gitignore and chefignore files
  • Added chef standard .rubocop.yml file and resolved warnings
  • Resolved foodcritic warnings

v1.8.2 (2015-03-18)

  • No changes, just republishing 1.8.1

v1.8.1 (2015-03-12)

  • Add source_url and issues_url to the metadata.rb so Supermarket can display appropriate links

v1.8.0 (2015-03-09)

  • Expose LWRP state attributes
  • [COOK-4401] - Add unit tests with ChefSpec
  • [COOK-4404] - Determine file system and add manage_nfs_home_dirs attribute to disable managing NFS mounted home directories
  • Remove converge_by when creating home directory, the directory resource already handles this
  • Do not manage home directory if the path does not exist
  • Add integration with TravisCI
  • "Opscode" to "Chef" replacements
  • Retire unsupported Ruby 1.9.3 and add Ruby 2.2 to the Travis integration tests
  • Updates for RSpec 3

v1.7.0 (2014-02-14)

  • [COOK-4139] - users_manage resource always notifies
  • [COOK-4078] - users cookbook fails in why-run mode for .ssh directory
  • [COOK-3959] - Add support for Mac OS X to users cookbook

v1.6.0

Bug

  • COOK-3744 - Allow passing an action option via the data_bag to the user resource

v1.5.2

Bug

v1.5.0

  • [COOK-2427] - Mistakenly released instead of sudo :-).

v1.4.0

  • [COOK-2479] - Permit users cookbook to work with chef-solo if edelight/chef-solo-search is installed
  • [COOK-2486] - specify precedence when setting node attribute

v1.3.0

  • [COOK-1842] - allow specifying private SSH keys
  • [COOK-2021] - Empty default recipe for including users LWRPs

v1.2.0

  • [COOK-1398] - Provider manage.rb ignores username attribute
  • [COOK-1582] - ssh_keys should take an array in addition to a string separated by new lines

v1.1.4

  • [COOK-1396] - removed users get recreated
  • [COOK-1433] - resolve foodcritic warnings
  • [COOK-1583] - set passwords for users

v1.1.2

  • [COOK-1076] - authorized_keys template not found in another cookbook

v1.1.0

  • [COOK-623] - LWRP conversion