Commit graph

7316 commits

Author SHA1 Message Date
Miah Johnson
d74f0645e5
Merge pull request #4259 from inspec/ki/update-azure_resource_group-doc
Update azure_resource_group.md.erb
2019-07-05 13:03:54 -07:00
kekaichinose
352f149015 Update azure_resource_group.md.erb
* corrected documentation to reflect missing method of "_count" (correct) vs. "_counts" (wrong)
* corrected incorrect spelling of "Inspec" to "InSpec"

Signed-off-by: Keka Ichinose <rikoomi@hotmail.com>
2019-07-03 22:52:46 -07:00
Miah Johnson
915341e1df Add steps to verify pipeline
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-03 16:41:11 -07:00
Chef Expeditor
48262f68bd
Bump version to 4.6.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-03 23:40:51 +00:00
Miah Johnson
7d2c68ea09
Merge pull request #4257 from inspec/mj/bk-verify
Add a verify pipeline to buildkite
2019-07-03 16:40:36 -07:00
Miah Johnson
8082dd17c4 Add a verify pipeline to buildkite
Add environment variables to the verify pipeline

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-03 16:35:40 -07:00
Chef Expeditor
90b109dff6
Bump version to 4.6.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-03 22:38:48 +00:00
Miah Johnson
eee7006e19
Merge pull request #4254 from inspec/csnapp/deprecate-ubuntu-14
Deprecate Ubuntu-14
2019-07-03 15:38:31 -07:00
Clinton Wolfe
e4e7c255de Automated chefstyle application for rubocop 0.72 compatibility
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-03 17:24:41 -04:00
Christopher A. Snapp
4d26955b0c
remove ubuntu 14.04 from expeditor
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2019-07-03 15:54:13 -04:00
James Stocks
3ef4092d39 Permit plugin to be in path with git ref
Fixes #3904

Signed-off-by: James Stocks <jstocks@chef.io>
2019-07-02 16:49:38 +01:00
Chef Expeditor
490824e6ce
Bump version to 4.6.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-02 06:39:18 +00:00
Miah Johnson
825751bdb9
Merge pull request #4233 from jaredledvina/patch-1
Debian service detection for Buster
2019-07-01 23:39:01 -07:00
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