Commit graph

8309 commits

Author SHA1 Message Date
chef-delivery
6deea7aa5d Merge pull request #123 from chef/jscott/moreresourceupdates
Merged change a34577c9-0da9-40a3-88e0-124beaefdf35

From review branch jscott/moreresourceupdates into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-20 14:07:59 -07:00
jamescott
bd2d256726 add resources, sync matcher patterns 2015-10-20 14:04:07 -07:00
chef-delivery
9cf88704a2 Merge pull request #114 from chef/yum
Merged change be4bf782-7059-4cfe-96a4-63ba968c4a31

From review branch yum into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-20 11:17:28 -07:00
Christoph Hartmann
035e39ee8c simplify yum implementation 2015-10-20 19:57:00 +02:00
chef-delivery
abe3b475eb Merge pull request #122 from chef/docs
Merged change fb1bd6f8-eca2-43fa-8cbb-f042c03721ee

From review branch docs into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-20 10:55:09 -07:00
Christoph Hartmann
a48baf4ebd move markdown docs to rst 2015-10-20 18:52:34 +02:00
chef-delivery
b2ea57f508 Merge pull request #118 from chef/jscott/audit-resources-rst
Merged change 11691610-a092-48be-a09f-3a272dde3e50

From review branch jscott/audit-resources-rst into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-20 09:08:34 -07:00
jamescott
57e1abda10 update count and usernames matcher 2015-10-20 17:57:37 +02:00
jamescott
1a42e3fd19 add example to ntp_conf 2015-10-20 17:57:37 +02:00
jamescott
0ebcc5c5a6 add examples to audit_daemon_conf 2015-10-20 17:57:37 +02:00
jamescott
4e83383d84 add apache_conf and iptables
iptables only added to list of resources in intro
2015-10-20 17:57:36 +02:00
jamescott
6a655e14df ssh => sshd 2015-10-20 17:57:36 +02:00
jamescott
a170927e3b add more "done" resources 2015-10-20 17:57:36 +02:00
Christoph Hartmann
423bb09044 extend doc for service resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
2c2f396510 add doc for npm resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
9a600b8ffd add doc for gem resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
40f474d387 add documentation for package resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
f50c8ac07a rename audit to InSpec 2015-10-20 17:57:36 +02:00
Christoph Hartmann
b2edc2dde3 add apt resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
3e754e9ddf split resources and template 2015-10-20 17:57:36 +02:00
jamescott
67c10f18a9 add first round of audit resource docs 2015-10-20 17:57:36 +02:00
chef-delivery
eec3650cd4 Merge pull request #119 from chef/delivery
Merged change 0c386fc5-4dd3-4a38-ab3c-921d575605fa

From review branch delivery into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-20 08:44:40 -07:00
Dominik Richter
4b15a7565a delivery: select build node on new fqdn 2015-10-20 15:34:15 +02:00
chef-delivery
cdcf5d348a Merge pull request #117 from chef/expect
Merged change df856458-d108-4404-9bb1-0e4828ef289b

From review branch expect into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-19 03:17:07 -07:00
Dominik Richter
cea48ceb5a remove leftover comments 2015-10-19 12:07:14 +02:00
Dominik Richter
ecc04aab7b test: add dsl tests 2015-10-19 10:30:04 +02:00
Dominik Richter
f6aa71d0ed provide better errors on docker_run tests 2015-10-19 10:21:05 +02:00
Dominik Richter
20dae26925 split methods for processing rules and checks after loading 2015-10-19 09:49:40 +02:00
Dominik Richter
08707eb2d2 temporarily attach the dsl to all example objects
TODO: Remove this!! It is very dangerous to do this here. The goal of this is to make the audit DSL available to all describe blocks. Right now, these blocks are executed outside the scope of this run, thus not gaining ony of the DSL pieces. To circumvent this, the full DSL is attached to the examples
2015-10-18 19:50:12 +02:00
Dominik Richter
d66f874e1c feature: support expect keyword in rules 2015-10-18 19:14:22 +02:00
Dominik Richter
f2e955eb37 test: add tests for rule.describe 2015-10-18 19:11:56 +02:00
Dominik Richter
b38adfc6b2 test: add profile context tests 2015-10-18 19:11:56 +02:00
Dominik Richter
2cebd3fc31 allow loading without file and line info
i.e. dynamic loading only
2015-10-18 19:11:56 +02:00
Dominik Richter
c6cc45c28e bugfix: add rspec core dsl to profile context 2015-10-18 19:11:56 +02:00
chef-delivery
8b78b2c167 Merge pull request #116 from chef/test-groups
Merged change 11463d26-f7ff-4b7d-8af6-b0b92054c9c1

From review branch test-groups into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-17 15:08:42 -07:00
Dominik Richter
ec0931ef9c test: group resource tests 2015-10-17 22:53:21 +02:00
chef-delivery
fcb5c9334d Merge pull request #115 from chef/fixes
Merged change b55e7f64-fea4-464b-96a7-24d055c9abc1

From review branch fixes into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-17 13:39:26 -07:00
Christoph Hartmann
89f003f61b bugfix: add missing uri import 2015-10-17 19:33:52 +02:00
Christoph Hartmann
9e9cb98438 restore detect command 2015-10-17 19:33:35 +02:00
chef-delivery
455ecd97e4 Merge pull request #112 from chef/warnings
Merged change 539b7139-b308-4d0e-8de9-6e6d10fa6520

From review branch warnings into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-17 01:38:47 -07:00
Dominik Richter
c01e1f2c74 lint: make sure variables are defined 2015-10-17 00:03:41 +02:00
Dominik Richter
df07e768d0 lint: replace obsolete URI.regexp 2015-10-17 00:03:37 +02:00
chef-delivery
d1c0776f88 Merge pull request #111 from chef/train
Merged change 38b29b4f-7aaf-4f58-979c-39b14b6ce196

From review branch train into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-15 14:48:06 -07:00
Dominik Richter
9224d5db58 bugfix: support ruby 1.9.3 2015-10-15 23:28:37 +02:00
Dominik Richter
56b88cba1d create factory for backend creation 2015-10-15 22:42:06 +02:00
Dominik Richter
6a51a5be00 remove rake tasks for runner tests
they are now found in train
2015-10-15 14:36:34 +02:00
Dominik Richter
dcb0b8e557 remove runner tests while migrating to train 2015-10-15 00:47:07 +02:00
Dominik Richter
4099dd92c0 add train to gemfile (for now) 2015-10-15 00:43:02 +02:00
Dominik Richter
132019a6d9 move backend creation to profile context
keeping it in the runner will create conflicts with rspec runners
2015-10-14 23:44:15 +02:00
Dominik Richter
be614e9056 migrate backend to Train project 2015-10-14 23:13:49 +02:00