Commit graph

3445 commits

Author SHA1 Message Date
Chef Expeditor
8e62048b97
Bump version to 4.11.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-13 16:59:16 +00:00
Chef Expeditor
134ff8048a
Bump version to 4.11.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-12 18:01:20 +00:00
Chef Expeditor
bce0fbe177
Bump version to 4.11.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 22:06:17 +00:00
Chef Expeditor
3981110da5
Bump version to 4.11.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 17:13:42 +00:00
Chef Expeditor
ffba747523
Bump version to 4.11.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 15:56:10 +00:00
Clinton Wolfe
95e6bcb317
Modified DarwinGroup to collect all users properly. (#4343)
group resource: Modified DarwinGroup to collect all users properly on macos
2019-08-08 11:55:48 -04:00
Chef Expeditor
8fad74d4a2
Bump version to 4.11.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 15:32:53 +00:00
Clinton Wolfe
c28dd8f9ec
Add startuser windows service (#4363)
Add startuser windows service
2019-08-08 11:32:39 -04:00
Chef Expeditor
7ab39ba273
Bump version to 4.10.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 15:16:21 +00:00
Ryan Davis
374e365c02 Modified DarwinGroup to collect all users properly.
I noticed that my profile targeting group "staff" on OSX wasn't
returning *me*. I'm awesome! So that seemed wrong. And it turns out it
is wrong. We were not collecting any users whose primary group was
that group. (almost all regular users are in group staff and they're
all missing).

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-07 20:27:13 -07:00
Chef Expeditor
90fb536bf7
Bump version to 4.10.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 03:17:56 +00:00
Chef Expeditor
a6dd013ec2
Bump version to 4.10.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-07 20:29:26 +00:00
Mendy Baitelman
e3b641f676 Fix whitespace
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 15:11:15 -07:00
Mendy Baitelman
4505471ec7 Fix differences
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 13:26:37 -07:00
Mendy Baitelman
126b1efc74 Add startuser to windows service
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 13:20:57 -07:00
Kris Shannon
4a30a8aa32 Move some resources into Inspec::Resources module
The `DhParams`, `EtcHosts`, `GrubConfig`, `IisAppPool`, and `SSL`
resources were not properly located inside the `Inspec::Resources`
module.

Fixes: #4327

Signed-off-by: Kris Shannon <k.shannon@amaze.com.au>
2019-08-05 18:17:01 +10:00
Chef Expeditor
723d53e6b1
Bump version to 4.10.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-01 00:16:47 +00:00
Chef Expeditor
4aa1ef81f3
Bump version to 4.10.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 23:45:06 +00:00
Chef Expeditor
1045f67a76
Bump version to 4.10.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 22:08:14 +00:00
Chef Expeditor
66f709875d
Bump version to 4.10.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 21:46:48 +00:00
Chef Expeditor
ae898b9eb3
Bump version to 4.10.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 18:38:10 +00:00
Clinton Wolfe
100e96db1c
Relative Path Support for the Git Fetcher (#4217)
Relative Path Support for the Git Fetcher
2019-07-30 14:37:54 -04:00
Chef Expeditor
fbf06ccc7d
Bump version to 4.9.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 18:37:23 +00:00
Clinton Wolfe
80d5788883
Apply new UI code to CLI and plugin-manager-cli (#4000)
Apply new UI code to CLI and plugin-manager-cli
2019-07-30 14:37:09 -04:00
Chef Expeditor
718629e42a
Bump version to 4.9.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 17:58:52 +00:00
Clinton Wolfe
b8c9043a3a
Permit plugin to be in path with git ref (#4251)
Permit plugin to be in path with git ref
2019-07-30 13:58:37 -04:00
Clinton Wolfe
f00e741999 PR feedback
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
c03862fe7b Code climate updates
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
abc5e84b87 Fix two tiresome cache issues with simple fixes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
1a47026419 Rename some vars, eliminate @profile_directory
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
4f6d296a22 The error case in which the path does not exist
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
80241ec971 Passing basic test harness
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
c257763de6 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
0e32d2429f Rename path_within_repo option to relative_path
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:36:20 -04:00
Clinton Wolfe
9c1fa967fd Rename profile_path to path_within_repo
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:36:20 -04:00
Jerry Aldrich
3e1d08cafe Add support for relative paths to the Git fetcher
This adds support for specifying a path to a profile in a Git repo.

For example, you could have a Git repo containing multiple profiles and
you want to specify a single one like below:

```yaml
depends:
  - name: profile-1
    git: https://github.com/myorg/all-my-profiles.git
    profile_path: profiles/my-specific-profile-1
  - name: profile-2
    git: https://github.com/myorg/all-my-profiles.git
    profile_path: profiles/my-specific-profile-2
```
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-30 13:36:20 -04:00
Clinton Wolfe
88962af285 Update UX message testing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:19:43 -04:00
Clinton Wolfe
918acb01c1 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:19:43 -04:00
Miah Johnson
72f02e6cac Fix rubocop
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 13:19:43 -04:00
Miah Johnson
b148bc85a2 Only some of the output is red
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 13:19:43 -04:00
Miah Johnson
44592338c6 String interoplation > concatenation
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 13:19:43 -04:00
Miah Johnson
9fb755a213 Use EXIT value constants
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 13:19:43 -04:00
Miah Johnson
a524dc030f Convert to new Inspec::UI in inspec-plugin-manager-cli
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 13:19:43 -04:00
Miah Johnson
da9bd13fd4 Use Inspec::UI throughout InspecCLI
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 13:19:43 -04:00
Chef Expeditor
ef14623c0a
Bump version to 4.8.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 00:50:58 +00:00
Chef Expeditor
d9840d9a3c
Bump version to 4.8.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-29 20:15:52 +00:00
Chef Expeditor
3182227fb2
Bump version to 4.8.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-29 19:47:51 +00:00
Ryan Davis
2d5fdabf86
Merge pull request #4337 from inspec/zenspider/remove-version-checking
Removed lib/inspec/utils/latest_version.rb and associated code.
2019-07-29 12:47:37 -07:00
Chef Expeditor
d12a3c8b59
Bump version to 4.8.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-29 19:46:52 +00:00
Ryan Davis
3d6a4143a1 Removed lib/inspec/utils/latest_version.rb and associated code.
There is no reason why our tests should be failing because we deploy a
new version. That test shouldn't even be hitting the network for real.

Besides, the functionality has no place in our codebase. It's
functionality provided via `gem outdated` so why did we re-implement
it? And we expect most people to be running via omnibus, so they're
pinned to a specific version in the first place. Even if they updated,
they still couldn't run it and that would be more confusing.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-29 11:57:08 -07:00