11 Commits

Author SHA1 Message Date
Lance Albertson
1cd55ab40d
Correctly fix aliases quoting logic (#206)
We were previously incorrectly adding double quotes for the alias values.
According to the man page it's not required. However, there is a requirement if
its a command being pipe.

In addition, the man page mentions this for the alias name:

  The  name  is  a  local  address (no domain part).  Use double quotes when the
  name contains any special characters such as whitespace, `#', `:', or `@'. The
  name is folded to lowercase, in order to make database lookups case
  insensitive.

This includes logic to support this automatically.

- Add new tests for aliases testing all types
- Convert all serverspec tests to inspec
- Add Github actions
- Update platforms to test

Signed-off-by: Lance Albertson <lance@osuosl.org>
2025-01-29 14:51:57 -08:00
Lance Albertson
be94e35b22
Update tested platforms (#175)
* Update tested platforms

- Remove CentOS 8, Debian 9 & Ubuntu 16.04
- Add CentOS Stream 8, Alma Linux 8, Rocky Linux 8, Debian 11
- Remove SmartOS from ChefSpec as the platform will deprecated soon

Signed-off-by: Lance Albertson <lance@osuosl.org>

* Switch to using lint-unit job instead of chef-delivery

Signed-off-by: Lance Albertson <lance@osuosl.org>

* Remove delivery and move to calling RSpec directly via a reusable workflow

Signed-off-by: Lance Albertson <lance@osuosl.org>
2022-02-02 09:31:55 -08:00
Lance Albertson
72ad232d03 Enable IPv6 for lo for the canonical suite
This is needed to ensure it converges correctly.

Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-19 12:34:12 -07:00
Lance Albertson
3727f97797 Add Ubuntu 20.04 testing
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-11 10:03:37 -07:00
Lance Albertson
9ab78d05a6 Remove Amazon Linux 1 testing
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-11 10:03:37 -07:00
Lance Albertson
0fd6330f75 Update test-kitchen to Sous Chefs
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-11 10:03:37 -07:00
Lance Albertson
11eada3c0c Remove EL 6 testing
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-11 10:03:37 -07:00
Lance Albertson
ff96db8fe9 Yamllint fixes
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-11 10:03:37 -07:00
Tim Smith
30776589d5 Testing updates
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-12-12 21:26:10 -08:00
Tim Smith
99b366e384 Testing updates
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-12-12 16:33:14 -08:00
Tim Smith
27d2d5b632 Rename the kitchen config 2019-01-11 18:00:06 -08:00