Commit graph

2282 commits

Author SHA1 Message Date
Dominik Richter
d86161c616 add general filter utility for resources 2016-04-28 22:46:39 +02:00
Christoph Hartmann
8fec08e6d7 Merge pull request #683 from chef/dr/cmd
add `shell -c` for executing calls against the inspec api
2016-04-27 06:56:49 -07:00
Dominik Richter
01caf05020 add cmd for executing calls against the inspec api 2016-04-27 06:31:01 -07:00
Christoph Hartmann
ab9f5f9c1a Merge pull request #682 from Anirudh-Gupta/hpux
Hpux
2016-04-27 06:29:05 -07:00
Anirudh Gupta
045d8c6572 added file permission by user check for hp-ux 2016-04-26 15:08:01 +05:30
Anirudh Gupta
1330e09df5 added file permission by user check for hp-ux 2016-04-26 14:53:28 +05:30
Christoph Hartmann
2242790528 Merge pull request #678 from Anirudh-Gupta/hpux
added hpux user and package resource support
2016-04-25 07:22:19 -05:00
Christoph Hartmann
4a0464a7e9 Merge pull request #669 from chef/dr/fetcher-filter
bugfix: restore pax_global_header fetcher filter
2016-04-25 00:54:22 -05:00
Dominik Richter
d0760662ce bugfix: restore pax_global_header fetcher filter
The original tests were deactivated. Reactivate and fix the implementation.

TODO: verify that this matches expectations
2016-04-24 02:38:22 -04:00
Dominik Richter
efba085d65 Merge pull request #680 from chef/v0.19.3
Releasing inspec 0.19.3
2016-04-22 09:21:30 -07:00
Alex Pop
ce7b06da35 releasing inspec 0.19.3 2016-04-22 17:13:04 +01:00
Alex Pop
40cf4507f5 Merge pull request #679 from chef/dr/fix-supports
fix legacy supports call
2016-04-22 16:36:50 +01:00
Dominik Richter
bc724c81ff fix legacy supports call
as reported by Jeremy Miller and Alex Pop
2016-04-22 11:15:57 -04:00
Dominik Richter
a2c21d76c4 Merge pull request #675 from chef/v0.19.2
v0.19.2
2016-04-21 08:00:16 -07:00
Anirudh Gupta
75534fdaa5 added hpux user and package resource support 2016-04-21 14:01:56 +05:30
Dominik Richter
3778f7968e v0.19.2 2016-04-21 02:30:42 -04:00
Dominik Richter
9000fcdc1c Merge pull request #673 from chef/ap/fix-loop-indent
Fix indenting for translated loops and ors
2016-04-20 09:23:59 -07:00
Alex Pop
1254bce74f keeping rubocop happy 2016-04-20 12:03:20 -04:00
Alex Pop
0b1c37362b fix indenting for loops and or 2016-04-20 12:03:20 -04:00
Dominik Richter
979d65a384 Merge pull request #667 from chef/dr/cmp-regex
add regexp to cmp matcher
2016-04-20 09:02:57 -07:00
Alex Pop
9f156bb36b update file resource example to use cmd matcher for better failure output in octal 2016-04-20 11:57:34 -04:00
Alex Pop
7a3b4736b8 fix the shadow password example now that cmp can handle arrays 2016-04-20 11:57:34 -04:00
Alex Pop
34a22a290e add more cmp matcher tests 2016-04-20 11:57:31 -04:00
Alex Pop
b38e71b6f2 allow integers to be cmp regexed 2016-04-20 11:57:31 -04:00
Dominik Richter
9b199c9223 add regexp to cmp matcher
i.e. `123 should { cmp /2+/ }`
2016-04-20 11:57:31 -04:00
Stephan Renatus
bc8cebde73 Merge pull request #668 from chef/dr/format-cmp
bugfix: fix formatting of cmp expectations
2016-04-20 10:55:16 +02:00
Dominik Richter
07f17a3f8d bugfix: fix formatting of cmp expectations
E.g. for regex it will print a very cryptic `(?-mix:123)` for `/123/` instead of the pure regex
2016-04-20 02:11:00 -04:00
Dominik Richter
f6bbec6138 Merge pull request #662 from chef/dr/shells
remodel bash and shell wrappers
2016-04-20 02:02:33 -04:00
Dominik Richter
9da23f9cbc remodel bash and shell wrappers 2016-04-18 11:48:42 -04:00
Stephan Renatus
703e77563b Merge pull request #663 from chef/dr/travis-push
release via travis + test via rubygems
2016-04-18 17:06:47 +02:00
Dominik Richter
890ce1921f release via travis + test via rubygems 2016-04-18 10:46:12 -04:00
Alex Pop
a19944009e Merge pull request #661 from chef/sr/0.19.1
version bump: 0.19.1
2016-04-18 11:04:54 +01:00
Stephan Renatus
d297b3dc6f travis/Gemfile: use train from github 2016-04-18 11:53:30 +02:00
Stephan Renatus
f7272f746c 0.19.1 2016-04-18 11:39:52 +02:00
Alex Pop
3ef64af166 Merge pull request #659 from chef/dr/command-shells
configure command execution shells to sh/bash/zsh
2016-04-18 10:00:20 +01:00
Dominik Richter
0631779412 configure command execution shells to sh/bash/zsh 2016-04-18 01:09:37 -04:00
Christoph Hartmann
a40c6735ec Merge pull request #657 from chef/dr/filter-each
be descriptive on shadow.entries
2016-04-17 23:37:39 -04:00
Dominik Richter
fa6143d6d4 be descriptive on shadow.entries
When used in combination: `shadow[.filter(...)].entries.each { |entry| ... }`, these entries would not  be very descriptive at all. You would basically only retrieve the full filter chain e.g. 20 times, without any information about what entry you are currently looking at. This fixes it, by providing the entry identified by the user name
2016-04-17 19:12:14 -04:00
Christoph Hartmann
ea5a96fc8a Merge pull request #656 from chef/dr/cmp-info
bugfix: print cmp expectations
2016-04-17 18:57:34 -04:00
Dominik Richter
0cb03e8726 bugfix: print cmp expectations 2016-04-17 18:50:21 -04:00
Dominik Richter
5487457984 Merge pull request #655 from chef/dr/readme-requirements
add requirements for gem installation to readme
2016-04-17 18:10:45 -04:00
Dominik Richter
091d1ec02d add requirements for gem installation to readme
Fixes https://github.com/chef/inspec/issues/641
Fixes https://github.com/chef/inspec/issues/653
2016-04-17 18:02:55 -04:00
Dominik Richter
53f855e681 0.19.0 2016-04-17 14:19:37 -04:00
Dominik Richter
27788ba712 Merge pull request #652 from chef/resource-grub_conf
Resource grub conf
2016-04-17 11:13:44 -04:00
Dominik Richter
8da3157098 add grub_conf to docs 2016-04-17 10:57:31 -04:00
Thomas Cate
e6d98968c9 first pass at working legacy-grub/grub2 config 2016-04-17 10:46:35 -04:00
Thomas Cate
0f8aff0b91 added default and per kernel checking 2016-04-17 10:46:35 -04:00
Thomas Cate
3051ead64d added tests for grub_conf resource 2016-04-17 10:46:29 -04:00
Thomas Cate
19333f0ece handle unsupported OSs 2016-04-17 10:46:29 -04:00
Thomas Cate
1b1690a3e3 improve examples 2016-04-17 10:46:29 -04:00