Commit graph

6853 commits

Author SHA1 Message Date
Chef Expeditor
6f5c8797de
Update CHANGELOG.md with details from pull request #4238
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-02 06:32:39 +00:00
Miah Johnson
3b8aa8ee3d
Merge pull request #4238 from inspec/ja/add-domain-winrm-examples
Add CLI target examples for Windows domain users
2019-07-01 23:32:25 -07:00
Jerry Aldrich
5e93c4b12e Appease RuboCop
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-01 22:45:04 -07:00
Jerry Aldrich
dafa4f4165 Try to appease Code Climate
I...I don't know how to make it better.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-01 22:39:12 -07:00
Chef Expeditor
07f2e36696
Update CHANGELOG.md to reflect the promotion of 4.6.9
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-01 23:33:02 +00:00
Chef Expeditor
be237ad6ef
Bump version to 4.6.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-01 19:16:31 +00:00
Ryan Davis
087e0b27ca
Merge pull request #4246 from robbkidd/robb/stop-using-yanked-passgen
use stdlib SecureRandom to generate a password
2019-07-01 12:16:16 -07:00
Robb Kidd
30a4f8ea58 use stdlib SecureRandom to generate a password
Replaces the now-yanked passgen gem with something available in the Ruby
standard library. Why `.alphanumeric(72)`? This method will reliably
crank out 72-character strings that meet the upper, lower, and numeric
requirement of Azure.

From the docs on the Azure terraform provider:

> NOTE: admin_password must be between 6-72 characters long and must
> satisfy at least 3 of password complexity requirements from the
> following:
> 1. Contains an uppercase character
> 2. Contains a lowercase character
> 3. Contains a numeric digit
> 4. Contains a special character

So, this should suffice.

Signed-off-by: Robb Kidd <robb@thekidds.org>
2019-07-01 14:15:37 -04:00
Jerry Aldrich
668b8d82bf windows_task: Fix handling of multiple triggers
When using `schtasks` a list is returned if the task has multiple
triggers. This merges that list with the last item taking precedence.
This is how `Get-ScheduledTask` behaves.

Initially, I was going to rewrite this resource to use
`Get-ScheduledTask` but the original author purposely did not do this
so that PowerShell v3 would be supported. We only support PowerShell
v5, but I don't want to break any current users and this change didn't
seem to controversial to me.

If it gives us trouble, I recommend rewriting it to use
`Get-ScheduledTask`.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-06-28 00:27:53 -07:00
Jerry Aldrich
b7eb0f370f Add CLI target examples for Windows domain users
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-06-25 15:34:51 -07:00
Lance Albertson
3263d76627 Add ip6tables resource
This should resolve #1011 which provides an ip6tables resource to test IPv6
iptables rules. This is essentially a copy of the iptables resource with a few
renames.

In addition, I've pulled in the integration tests for iptables into ip6tables
and enabled it on docker so that it properly gets tested regularly. The test
cookbook recipe has been updated to support all of the current platforms that
are being tested.

Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-06-24 17:01:34 -07:00
Jared Ledvina
45713b2627
Service add Debian 10 test
Signed-off-by: Jared Ledvina <jared@techsmix.net>
2019-06-22 13:23:32 -04:00
Jared Ledvina
0e1f31747b
Debian service detection for Buster
Currently, /etc/debian_version for the Debian Buster/Sid release contains "buster/sid". This causes version to be set to 0 resulting in SysV being configured as the service provider incorrectly. This commit updates the debian detection logic to work for "buster/sid" as version 10 and makes sense that we have a non-0 version before setting the init system.

Signed-off-by: Jared Ledvina <jared@techsmix.net>
2019-06-22 12:50:14 -04:00
Chef Expeditor
8bcbaf6967
Bump version to 4.6.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-22 00:14:38 +00:00
Miah Johnson
c3a87eb4c2
Merge pull request #4231 from TheLunaticScripter/tls/add_linux2_bld_trgt
Add .bldr.toml for Linux 2 Habitat builds
2019-06-21 17:14:23 -07:00
Chef Expeditor
47f887b8f9
Bump version to 4.6.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-21 20:01:58 +00:00
Miah Johnson
ba674aa3aa
Merge pull request #4232 from inspec/mj/timebomb
Update date on our timebomb.
2019-06-21 13:01:41 -07:00
Miah Johnson
26e73f4326 Update date on our timebomb.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-21 12:56:53 -07:00
John Snow
1c6100fc5d Add .bldr.toml for Linux 2 Habitat builds
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-06-21 15:09:30 -04:00
Chef Expeditor
9e426ab1e7
Bump version to 4.6.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-20 18:35:11 +00:00
Miah Johnson
bbf7e81b92
Merge pull request #4223 from inspec/zenspider/travis_umask
Set the umask on travis in before_install so that file resource permission matcher can be tested
2019-06-20 11:34:53 -07:00
Jeremiah Snapp
46fdff4bcf
Merge pull request #4226 from inspec/snappj/improve-omnibus-buildkite-pipeline
[master] Use new omnibus-toolchain scripts in omnibus-test.* scripts
2019-06-20 11:52:03 -04:00
Jeremiah Snapp
a42b51895b Use new omnibus-toolchain scripts in omnibus-test.* scripts
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-06-20 01:09:12 -04:00
Ryan Davis
902d7b563c Set the umask on travis in before_install.
https://travis-ci.community/t/file-permissions-just-gone-up-to-664/1547/5

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-19 16:40:24 -07:00
Miah Johnson
9d7b651938
Merge pull request #4219 from inspec/mj/ucs
`chefstyle -a` after merging #4156
2019-06-19 13:51:47 -07:00
Miah Johnson
8e020f1b51 chefstyle -a after merging #4156
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-19 13:34:17 -07:00
Chef Expeditor
3cd2ff51a9
Bump version to 4.6.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-19 20:33:41 +00:00
Miah Johnson
4068df3ee7
Merge pull request #4156 from artem-forks/license-check
Allow to switch off the license check for community distributions
2019-06-19 13:33:28 -07:00
Miah Johnson
aa52697725
Merge branch 'master' into license-check 2019-06-19 11:46:23 -07:00
Chef Expeditor
954e6c0ff9
Update CHANGELOG.md to reflect the promotion of 4.6.4
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-19 02:36:59 +00:00
Chef Expeditor
07e53e72d0
Bump version to 4.6.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-19 00:55:37 +00:00
Miah Johnson
ca4981d0d5
Merge pull request #4215 from inspec/ja/fix-nginx-empty-parse
nginx_conf: Fix commented/empty file parsing
2019-06-18 17:55:20 -07:00
Jerry Aldrich
2d72cd5905 Modify line to be more idiomatic.
Thanks @clintoncwolfe!

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-06-18 08:05:57 -08:00
Jerry Aldrich
80c595ba3d nginx_conf: Fix commented/empty file parsing
This fixes `nginx_conf.params` when:
  - Given an empty file
  - Given a file with only comments
  - Given a file that has an include for a file that:
    - Is empty
    - Has all lines commented out

This also fixes a test where a missing file is actually empty

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-06-17 21:57:26 -08:00
Chef Expeditor
430ea60d99
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-17 18:01:37 +00:00
Chef Expeditor
24b7c3a15b
Bump version to 4.6.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-17 17:00:38 +00:00
Clinton Wolfe
21ee116301
Remove clean-static-libs from omnibus build (#4207)
Remove clean-static-libs from omnibus build
2019-06-17 13:00:22 -04:00
Clinton Wolfe
860498b838 Remove clean-static-libs from omnibus build
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-17 12:54:57 -04:00
Chef Expeditor
8358ec5861
Bump version to 4.6.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-17 16:29:26 +00:00
Clinton Wolfe
f19f54c676
Fix Expeditor Version Bump Script (#4205)
Fix Expeditor Version Bump Script
2019-06-17 12:29:08 -04:00
Clinton Wolfe
a2dcb9fbea Manually sync lib version files for sanity's sake
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-17 11:26:53 -04:00
Clinton Wolfe
2f756b6530 Update quoting in update-version
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-17 11:26:03 -04:00
Chef Expeditor
924e2d7497
Bump version to 4.6.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-14 23:38:31 +00:00
Miah Johnson
4d53fdbcd3
Merge pull request #4204 from inspec/mj/boom
Lets discuss this next week when we're all around =)
2019-06-14 16:38:14 -07:00
Miah Johnson
b21bcfabc4 Lets discuss this next week when we're all around =)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-14 15:04:26 -07:00
kekaichinose
3692e5f39b
Update inspec_team-working_agreement.md
Calling out the SLA for community awareness and to increase team velocity.
2019-06-14 15:00:44 -07:00
Chef Expeditor
d2a491ff3c
Bump version to 4.6.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-13 18:01:35 +00:00
Clinton Wolfe
6c02822f90
Rename attributes -> inputs in profile metadata files (#4017)
Rename attributes -> inputs in profile metadata files
2019-06-13 14:01:17 -04:00
Clinton Wolfe
4ce2192678 Impactful KPI upswing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-12 19:09:11 -04:00
Clinton Wolfe
5a4cbe2c17 Add missing param
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-12 19:05:48 -04:00