Commit graph

3315 commits

Author SHA1 Message Date
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
chef-delivery
3a507dc5b1 Merge pull request #103 from chef/iptables
Merged change 9dbb0f0f-be5a-43ad-9a8e-b6c21349cd1c

From review branch iptables into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-12 02:43:09 -07:00
Christoph Hartmann
f5448e919b remove p 2015-10-12 11:10:32 +02:00
Christoph Hartmann
c1f105bab8 improve iptables resource 2015-10-12 10:34:24 +02:00
Christoph Hartmann
128eb4a7f6 add tests for iptables 2015-10-12 10:34:24 +02:00
Christoph Hartmann
ac4f0de673 simple iptables implementation 2015-10-12 10:34:24 +02:00
chef-delivery
dd5bcd33c2 Merge pull request #102 from chef/bugfix-apt
Merged change ae631dc6-ce53-4e62-b4c7-a872b1639f08

From review branch bugfix-apt into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-12 01:09:13 -07:00
Christoph Hartmann
6af966e08b bugfix: return function if data is already cached 2015-10-12 00:18:58 +02:00
chef-delivery
df4e6e4cc6 Merge pull request #101 from chef/apt
Merged change 7760b97b-a733-4757-9187-3d57cb879b10

From review branch apt into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-11 04:17:30 -07:00
Christoph Hartmann
60618723ef fix typo 2015-10-10 23:29:44 +02:00
Christoph Hartmann
9774ec7984 add test coverage for apt 2015-10-10 23:28:03 +02:00
Christoph Hartmann
abb10db376 add apt implementation 2015-10-10 23:28:03 +02:00
chef-delivery
7d8a6f59e5 Merge pull request #100 from chef/shell
Merged change 4425c7fe-7841-4050-bfad-5f68f3bcc064

From review branch shell into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-10 14:26:59 -07:00
Dominik Richter
28fb05ad97 reduce exposure of context, use backend for os detect
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-10 23:15:05 +02:00
Christoph Hartmann
9904e65923 run os detection in proper context 2015-10-10 01:24:39 +02:00
Christoph Hartmann
22c39bdf62 expose profile context 2015-10-10 01:24:39 +02:00
chef-delivery
462ffc2eff Merge pull request #99 from chef/host
Merged change 088f0b71-f491-4449-b204-a43effc4156f

From review branch host into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-09 16:08:24 -07:00
Christoph Hartmann
1dec6a60b8 remove ruby warnings in helper 2015-10-09 19:55:16 +02:00
Christoph Hartmann
c14e364b93 add mock commands for linux 2015-10-09 19:55:06 +02:00
Christoph Hartmann
2176039120 add linux tests for host 2015-10-09 19:27:29 +02:00
Christoph Hartmann
5a70133330 add mock files for host windows tests 2015-10-09 19:27:07 +02:00
Christoph Hartmann
80b38412e6 add tests for windows 2015-10-09 19:21:55 +02:00
Christoph Hartmann
f4ed4cf7f5 optimize ping on windows 2015-10-09 19:21:12 +02:00
Christoph Hartmann
38ac1ea931 host resource for linux and windows 2015-10-09 19:10:10 +02:00
chef-delivery
7d003b639e Merge pull request #97 from chef/bridge
Merged change abb50b53-12b0-4f4e-b32c-18c7db3e3bea

From review branch bridge into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-09 06:52:25 -07:00
Christoph Hartmann
3126a46b1e add bridge unit tests for windows 2015-10-09 15:26:59 +02:00
Christoph Hartmann
6f1181bc27 add windows support for bridge 2015-10-09 15:26:31 +02:00
Christoph Hartmann
74729f5779 add more unit test cases 2015-10-09 15:10:43 +02:00
Christoph Hartmann
b2ed180885 add bridge test for linux 2015-10-09 15:07:58 +02:00
Christoph Hartmann
90cf62d88e add bridge to available resources 2015-10-09 15:07:03 +02:00
Christoph Hartmann
337cd6aff8 implement bridge for linux 2015-10-09 15:06:10 +02:00
chef-delivery
f0df3842cc Merge pull request #95 from chef/shell
Merged change 6adecbca-c9ed-42fd-b631-746bcc09c909

From review branch shell into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-08 14:44:03 -07:00
Dominik Richter
8e9da450f2 add shell to cli
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-08 23:24:52 +02:00