Commit graph

1047 commits

Author SHA1 Message Date
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
chef-delivery
54b17fa8e1 Merge pull request #110 from chef/rake-default
Merged change b7fedbc7-ae39-4e7c-9f07-1df27dada314

From review branch rake-default into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-13 03:53:54 -07:00
Dominik Richter
8bc8a76988 make default rake tasks test+lint
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-13 11:29:10 +02:00
chef-delivery
3f67521514 Merge pull request #106 from chef/improve-unit-tests
Merged change bc858650-a843-4b95-a43c-361183d79ad1

From review branch improve-unit-tests into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-12 05:00:49 -07:00
Christoph Hartmann
7635a20756 flatten describe tests 2015-10-12 13:35:16 +02:00
Christoph Hartmann
7096b3cd9a remove let in tests 2015-10-12 13:35:15 +02:00
Christoph Hartmann
dd2fb7938f ease windows feature test 2015-10-12 13:35:15 +02:00
Christoph Hartmann
d666ce84a2 fix describe in unit tests 2015-10-12 13:35:15 +02:00
chef-delivery
8220c323e3 Merge pull request #105 from chef/to_s
Merged change a58c88ce-65e4-4b25-acab-46d7bea3e6aa

From review branch to_s into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-12 04:34:12 -07:00
Christoph Hartmann
693af465f6 fix lint issue 2015-10-12 13:23:11 +02:00
Christoph Hartmann
03f07e1a3e add to_s methods to resources, fixes #98 2015-10-12 13:01:58 +02:00
chef-delivery
187dcf4a7e Merge pull request #104 from chef/0.7.0
Merged change db084b94-9bf6-49ef-826f-160b5c73e0dd

From review branch 0.7.0 into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-12 03:41:27 -07:00
Christoph Hartmann
c5924b697c 0.7.0 2015-10-12 12:11:53 +02:00