Skip to content

Commit

Permalink
SQUASHME
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Webb <[email protected]>
  • Loading branch information
damacus committed Jan 6, 2025
1 parent bc45d97 commit 6255369
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 57 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- "centos-stream-10"
- "debian-11"
- "debian-12"
- "opensuse-leap-15"
# - "opensuse-leap-15"
- "ubuntu-2204"
- "ubuntu-2404"
suite:
Expand All @@ -46,6 +46,7 @@ jobs:
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
CHEF_VERSION: ${{ vars.CHEF_VERSION }}
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
Expand Down
89 changes: 48 additions & 41 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,54 @@ This file is used to list changes made in each version of the logrotate cookbook

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

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

## 3.0.26 - *2024-07-15*

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

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

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

## 3.0.25 - *2024-05-06*

No notable changes

## 3.0.24 - *2024-05-06*

No notable changes

## 3.0.23 - *2023-09-28*

No notable changes

## 3.0.22 - *2023-09-04*

No notable changes

## 3.0.21 - *2023-07-10*

No notable changes

## 3.0.20 - *2023-05-17*

No notable changes

## 3.0.19 - *2023-04-07*

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

## 3.0.18 - *2023-04-01*

No notable changes

## 3.0.17 - *2023-04-01*

## 3.0.16 - *2023-04-01*
No notable changes

Standardise files with files in sous-chefs/repo-management
## 3.0.16 - *2023-04-01*

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

## 3.0.15 - *2023-03-02*

No notable changes

## 3.0.14 - *2023-02-27*

Standardise files with files in sous-chefs/repo-management
Expand All @@ -64,39 +74,37 @@ Standardise files with files in sous-chefs/repo-management

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

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

## 3.0.9 - *2022-02-17*

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

## 3.0.8 - *2022-02-08*

- Remove delivery folder
Remove delivery folder

## 3.0.7 - *2022-02-01*

- Update tested platforms
Update tested platforms

## 3.0.6 - *2022-01-14*

- Do not sort options as the order can be important
Do not sort options as the order can be important

## 3.0.5 - *2021-11-03*

- Add CentOS Stream 8 to CI pipeline
Add CentOS Stream 8 to CI pipeline

## 3.0.4 - *2021-08-30*

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

## 3.0.3 - *2021-06-01*

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

## 3.0.2 - *2021-05-12*

- Fix passing options to global path declarations
Fix passing options to global path declarations

## 3.0.1 - *2021-05-12*

Expand Down Expand Up @@ -218,46 +226,45 @@ Standardise files with files in sous-chefs/repo-management
- Fix missing end tag in template
- Don't re-initialize constants.
- Fix rubocop finding
- [COOK-3911] Allow to use maxsize parameter.
- [COOK-4000] Allow to use dateyesterday option.
- [COOK-4024] Allow to use su parameter.
- [COOK-4175] Allows use of the dateformat parameter.
- Allow to use maxsize parameter.
- Allow to use dateyesterday option.
- Allow to use su parameter.
- Allows use of the dateformat parameter.
- Loosen test-kitchen version constraint
- Add rvm files to gitignore

## 1.4.0

- **[COOK-3632](https://tickets.chef.io/browse/COOK-3632)** - Raise Exception when adding more than one invalid option
- **[COOK-3141](https://tickets.chef.io/browse/COOK-3141)** - Do not duplicate template entires for multiple paths
- **[COOK-3034](https://tickets.chef.io/browse/COOK-3034)** - Update logrotate_app params to accept arrays and strings
- **[COOK-2646](https://tickets.chef.io/browse/COOK-2646)** - Add ability to choose file mode for logrotate template
- Raise Exception when adding more than one invalid option
- Do not duplicate template entires for multiple paths
- Update logrotate_app params to accept arrays and strings
- Add ability to choose file mode for logrotate template

## 1.3.0

- **[COOK-3341](https://tickets.chef.io/browse/COOK-3341)** - Add optional `frequency` and `rotate` params when defined globally
- **[COOK-3298](https://tickets.chef.io/browse/COOK-3298)** - Use `Array` instead of `respond_to?(:each)`
- **[COOK-3285](https://tickets.chef.io/browse/COOK-3285)** - Change `logrotate.d` config file mode to `0644`
- **[COOK-3250](https://tickets.chef.io/browse/COOK-3250)** - Add `minsize`
- **[COOK-3274](https://tickets.chef.io/browse/COOK-3274)** - Fix README typo that suggested the opposite action

- **[COOK-2923](https://tickets.chef.io/browse/COOK-2923)** - Add `olddir` option
- **[COOK-1651](https://tickets.chef.io/browse/COOK-1651)** - Add `dateext` ability
- Add optional `frequency` and `rotate` params when defined globally
- Use `Array` instead of `respond_to?(:each)`
- Change `logrotate.d` config file mode to `0644`
- Add `minsize`
- Fix README typo that suggested the opposite action
- Add `olddir` option
- Add `dateext` ability

## 1.2.2

- [COOK-2872]: Add firstaction/lastaction ability to logrotate
- [COOK-2908]: Argument error in `logrotate_app` definition
- Add firstaction/lastaction ability to logrotate
- Argument error in `logrotate_app` definition

## 1.2.0

- [COOK-2401] - Add the ability to manage the global logrotate configuration
- Add the ability to manage the global logrotate configuration

## 1.1.0

- [COOK-2218] - Logrotate size parameter
- Logrotate size parameter

## 1.0.2

- [COOK-1027] - Add support for pre-/post-rotate commands
- [COOK-1338] - Update log rotate for more flexibility of rotate options
- [COOK-1598] - "Create" isn't a mandatory option
- Add support for pre-/post-rotate commands
- Update log rotate for more flexibility of rotate options
- "Create" isn't a mandatory option
26 changes: 11 additions & 15 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,26 @@ driver:
provisioner:
name: chef_infra
deprecations_as_errors: true
enforce_idempotency: true
multiple_converge: 2
chef_license: accept
chef_license: accept-no-persist
product_name: chef
product_version: <%= ENV['CHEF_VERSION'] || 'latest' %>
install_strategy: always
log_level: <%= ENV['CHEF_LOG_LEVEL'] || 'auto' %>

install_strategy: once
enforce_idempotency: true
multiple_converge: 2

verifier:
name: inspec

platforms:
- name: almalinux-8
- name: amazonlinux-2
- name: centos-7
- name: centos-stream-8
- name: debian-10
- name: almalinux-9
- name: amazonlinux-2023
- name: centos-stream-9
- name: centos-stream-10
- name: debian-11
- name: fedora-latest
- name: debian-12
- name: opensuse-leap-15
- name: ubuntu-18.04
- name: ubuntu-20.04
- name: rockylinux-8
- name: ubuntu-2204
- name: ubuntu-2404

suites:
- name: default
Expand Down

0 comments on commit 6255369

Please sign in to comment.