Commit graph

2737 commits

Author SHA1 Message Date
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
Dominik Richter
6aee38a23c feature: add interactive shell 2015-10-08 23:24:14 +02:00
chef-delivery
6799af8ce5 Merge pull request #94 from chef/interface
Merged change ff4b5b58-4dbe-4acd-8a36-8f11e1a7db0d

From review branch interface into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-08 04:09:19 -07:00
Christoph Hartmann
9d92abf524 add windows support to network adapter 2015-10-08 13:01:50 +02:00
Christoph Hartmann
153c670952 introduce better network interface abstraction, add test cases 2015-10-08 13:01:50 +02:00
Christoph Hartmann
46853e74b6 fix lint issues 2015-10-08 13:01:50 +02:00
Christoph Hartmann
932b34e8de externalize linux handling in separate provider 2015-10-08 13:01:50 +02:00
Christoph Hartmann
4223d5b1ef implement interface for linux 2015-10-08 13:01:50 +02:00
chef-delivery
4d4b79b164 Merge pull request #93 from chef/undefined-in-user
Merged change 6852a878-0f1c-47de-bda4-101e669f4041

From review branch undefined-in-user into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-08 02:22:32 -07:00
Dominik Richter
285c83ba06 lint: dont use undefined vars
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-08 11:27:18 +02:00
chef-delivery
3ef8e93793 Merge pull request #91 from chef/print-resource
Merged change 3b7be59a-639c-457f-9c74-4eca09160532

From review branch print-resource into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-08 02:14:23 -07:00
Dominik Richter
4176d1b227 improvement: add default print method to resources 2015-10-08 11:06:20 +02:00
chef-delivery
f2f320f898 Merge pull request #92 from chef/delivery-depds
Merged change 71f1ca17-5a57-40b5-91bb-3915d838d69e

From review branch delivery-depds into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-08 01:59:13 -07:00
Dominik Richter
828fc107be fix delivery dependencies
move delivery truck and sugar to flat berks dependencies; remove delivery_build as github dependency; add chef-sugar
2015-10-08 10:53:08 +02:00
chef-delivery
39e58c39db Merge pull request #85 from chef/group
Merged change 9f25444e-a40b-4d64-8c5c-627629b91d67

From review branch group into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-07 09:55:38 -07:00
Christoph Hartmann
93df1656b5 simplify os detection 2015-10-07 18:46:24 +02:00
Christoph Hartmann
2499fc72f9 improve etc_group parser, keep parsed data internally instead of raw data 2015-10-07 18:45:08 +02:00
Christoph Hartmann
d2997400df add author information 2015-10-07 18:45:08 +02:00
Christoph Hartmann
94662bed12 improvement: identify groups case insensitive 2015-10-07 18:45:08 +02:00
Christoph Hartmann
9c893c5653 add mock result for GetWin32 Group 2015-10-07 18:45:08 +02:00
Christoph Hartmann
737df5348a add test coverage for group resource 2015-10-07 18:45:08 +02:00
Christoph Hartmann
b7739a84be implement group resource for windows 2015-10-07 18:45:08 +02:00
Christoph Hartmann
9fb51b44a2 modify etc_group to return complete group info 2015-10-07 18:45:08 +02:00
Christoph Hartmann
537728b41b test case where group or os is not available 2015-10-07 18:45:08 +02:00
Christoph Hartmann
c17be0438a add unit tests for group resource 2015-10-07 18:45:07 +02:00
Christoph Hartmann
8c5453a4da implement group resource for linux/unix 2015-10-07 18:45:07 +02:00
Christoph Hartmann
e57505739e improvement: return gids in etc_group as integer 2015-10-07 18:45:07 +02:00
Christoph Hartmann
3e9526d992 improvement: run etc_group on unix only 2015-10-07 18:45:07 +02:00
Christoph Hartmann
028e7f977e filter comments in /etc/group 2015-10-07 18:45:07 +02:00