Commit graph

2200 commits

Author SHA1 Message Date
Christoph Hartmann
b1153685a4 bugfix: relax fail for command.exist? for inspec check command 2015-11-02 22:52:04 +00:00
chef-delivery
5b5bb307fb Merge pull request #194 from chef/control
Merged change d8c2c7f3-57be-43c5-8e33-6aaae42e27ec

From review branch control into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-11-02 14:45:17 -08:00
Dominik Richter
7a07c02b4d alias rule instead of recreating it 2015-11-02 22:43:20 +01:00
Dominik Richter
ccabe55608 api: change require/include_rules -> require/include_controls 2015-11-02 22:26:20 +01:00
Dominik Richter
f976730a27 api: make control the default keyword 2015-11-02 22:26:20 +01:00
chef-delivery
e71f89691c Merge pull request #193 from chef/group-title
Merged change 6ed6a2db-4cf1-4474-ac23-ae430fd28a97

From review branch group-title into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-11-02 13:23:52 -08:00
Dominik Richter
9aec339d9f disable class length metrics on profile context for now 2015-11-02 17:47:04 +01:00
Dominik Richter
de8437caa6 feature: introduce group title for files 2015-11-02 17:31:56 +01:00
chef-delivery
9ba79fc516 Merge pull request #191 from chef/fix-lib
Merged change 5d3d542e-8b53-4d78-93c7-ee6b0d9017f0

From review branch fix-lib into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-11-02 08:31:32 -08:00
Dominik Richter
93ee171dfa bugfix: use full path when resolving files 2015-11-02 16:43:39 +01:00
Dominik Richter
31d42b0212 lint: ignore line length on runner for now 2015-11-02 15:06:48 +01:00
Dominik Richter
421d7ecaa9 feature: auto-load libraries in profiles 2015-11-02 15:06:48 +01:00
Dominik Richter
f410ee3dba simplify folder resolver 2015-11-02 15:06:48 +01:00
Dominik Richter
22bf549e0b api: change library loading from /lib -> /libraries 2015-11-02 15:06:48 +01:00
chef-delivery
7ee5c54817 Merge pull request #192 from chef/kudos
Merged change 65392292-fce3-4ee4-a407-ec07a1f315a0

From review branch kudos into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-11-02 06:00:57 -08:00
Dominik Richter
4612771b10 thank you serverspec! 2015-11-02 14:56:14 +01:00
chef-delivery
1e6090b49a Merge pull request #190 from chef/improve-cmd-exist
Merged change 95430051-98b0-4866-9a74-e18625c80704

From review branch improve-cmd-exist into master

Signed-off-by: drichter <drichter@chef.io>
2015-11-02 03:19:36 -08:00
Christoph Hartmann
d470803c37 improve command.exist? for more operating systems 2015-11-02 12:06:42 +01:00
chef-delivery
74ddf2c5f1 Merge pull request #184 from chef/inspec-check
Merged change 58c87f6f-131c-4a59-a809-a83a4835ffe7

From review branch inspec-check into master

Signed-off-by: drichter <drichter@chef.io>
2015-11-02 03:04:58 -08:00
Dominik Richter
13a6538acf temporarily disable rubocop metric on profile 2015-11-02 10:06:35 +01:00
Christoph Hartmann
ea47c5add8 use new internal structure for inspect check 2015-11-02 09:59:15 +01:00
chef-delivery
e34d1c1d78 Merge pull request #189 from chef/jscott/resourcedoccleanup
Merged change 0f9fd893-cdb5-4470-8ccd-14152cbef8b9

From review branch jscott/resourcedoccleanup into master

Signed-off-by: drichter <drichter@chef.io>
2015-11-02 00:57:32 -08:00
jamescott
03303b4aba formatting, mostly ... also package => oneget 2015-11-02 00:55:05 -08:00
chef-delivery
01c463a754 Merge pull request #186 from chef/ignore-delivery
Merged change 211f7ce5-1805-4fa5-95d3-fc514e6c5611

From review branch ignore-delivery into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-11-01 17:30:32 -08:00
Dominik Richter
dbbf7041de bugfix: ignore delivery when building the gem 2015-11-02 02:23:39 +01:00
chef-delivery
ca214bfb34 Merge pull request #181 from chef/update-docs
Merged change e2cba636-a73f-406a-b609-ea044778b6d4

From review branch update-docs into master

Signed-off-by: drichter <drichter@chef.io>
2015-11-01 17:09:39 -08:00
Dominik Richter
4c3dce0aec fix key-files option in docs 2015-11-02 02:06:14 +01:00
Christoph Hartmann
ee3e56adae update ssh docs 2015-11-02 02:06:14 +01:00
Christoph Hartmann
ad73a606ff update script and ssh docs 2015-11-02 02:06:14 +01:00
Christoph Hartmann
4e1029f65f update postgres and script docs 2015-11-02 02:06:14 +01:00
Christoph Hartmann
d44a917385 update port description 2015-11-02 02:06:14 +01:00
Christoph Hartmann
dc1959327f update description for passwd docs 2015-11-02 02:06:14 +01:00
Christoph Hartmann
ed092b6c0f update parse_config & passwd 2015-11-02 02:06:14 +01:00
Christoph Hartmann
bfcfe747a7 fix resource doc typos 2015-11-02 02:06:14 +01:00
Christoph Hartmann
64f1e5ee1e fix resource doc typos 2015-11-02 02:06:14 +01:00
Christoph Hartmann
e52e3b6753 update examples in docs 2015-11-02 02:06:14 +01:00
Christoph Hartmann
789b6cf83f fix typo in readme 2015-11-02 02:06:14 +01:00
Christoph Hartmann
d8b4b1d7b4 update cli description of --path 2015-11-02 02:06:14 +01:00
Christoph Hartmann
afb9c2441a update cli options 2015-11-02 02:06:10 +01:00
Christoph Hartmann
f8302b6383 use ssh_config instead of sshd_conf 2015-11-02 01:53:49 +01:00
chef-delivery
28b3b8ae8f Merge pull request #185 from chef/sudo
Merged change 8d2ada5d-1492-43ca-9655-93ca593cd900

From review branch sudo into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-11-01 16:32:17 -08:00
Dominik Richter
00e2d800e4 adjust documentation for api change to --sudo 2015-11-02 01:05:00 +01:00
Dominik Richter
2b7f4040e7 api: change --disable_sudo -> --sudo
Align with options in train. This also prevents unexpected behavior where sudo is used, without being requested. Example:

```
command('uname -a')
```

This command will not run if no sudo information is given and e.g. a sudo password is configured on the node. The user can activate sudo usage with `--sudo` now.
2015-11-02 01:05:00 +01:00
Dominik Richter
94e0e175c7 Merge pull request #183 from chef/passwd
remove dup method users, use usernames, fix example
2015-11-02 00:37:35 +01:00
Christoph Hartmann
4a676f55c3 remove dup method users, use usernames, fix example 2015-11-02 00:22:08 +01:00
chef-delivery
bc15c857b5 Merge pull request #179 from chef/os_env
Merged change 2a868e9f-90a3-4cc6-9c4c-ba510f43ac11

From review branch os_env into master

Signed-off-by: drichter <drichter@chef.io>
2015-11-01 15:15:42 -08:00
Dominik Richter
d328919370 simplify resiliance 2015-11-01 23:48:29 +01:00
Christoph Hartmann
cdab39079a improvement: make os_env command more robust 2015-11-01 23:22:01 +01:00
Christoph Hartmann
1be689b77e remove exit_status and only call split if we have a string 2015-11-01 23:21:08 +01:00
Christoph Hartmann
324fa4881f do not offer stderr method via os_env 2015-11-01 23:14:12 +01:00