Commit graph

3710 commits

Author SHA1 Message Date
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
Christoph Hartmann
949496776e move comment parser to utils 2015-10-07 18:45:07 +02:00
Christoph Hartmann
df9411e529 rename test from etcgroup 2015-10-07 18:45:07 +02:00
chef-delivery
c402459ee6 Merge pull request #90 from chef/os
Merged change 13c077c2-1ca5-40ca-8d81-48781aae619c

From review branch os into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-07 09:43:22 -07:00
Christoph Hartmann
55e09963c8 improvement: expose os detector function in os resource 2015-10-07 18:28:34 +02:00
Christoph Hartmann
bcde1c6dc7 bugfix: fix typo 2015-10-07 18:27:58 +02:00
Christoph Hartmann
2e1c48bbd6 add windows family as helper function 2015-10-07 18:27:44 +02:00
Christoph Hartmann
01f0ae954c support OS detection and helper methods in mock backend 2015-10-07 18:27:17 +02:00
chef-delivery
63f139f9ac Merge pull request #89 from chef/docs
Merged change aeb5b364-76d5-4b91-bd41-302e2e9752a6

From review branch docs into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-07 08:41:15 -07:00
Christoph Hartmann
cee48e8783 update docs 2015-10-07 16:57:56 +02:00
Dominik Richter
3ba8db9bb0 use blue color consistently on links
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-07 16:57:56 +02:00
Dominik Richter
7766a285c5 etc_group + inetd_conf update
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-07 16:57:55 +02:00
Dominik Richter
6faf271c5a custom limits_conf paths
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-07 16:57:55 +02:00
Dominik Richter
b3973a43ba clarify defaults
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-07 16:57:55 +02:00
Dominik Richter
70add8ca21 clarify custom paths
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-07 16:57:55 +02:00
Dominik Richter
47cfffdea1 initial
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-07 16:57:55 +02:00
chef-delivery
84453b8a4e Merge pull request #87 from chef/script
Merged change 3c7e18cd-c14c-44d6-9867-d5d8255b6203

From review branch script into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-07 07:54:12 -07:00
Christoph Hartmann
c85d042f53 remove inherited methods 2015-10-07 13:15:04 +02:00
Christoph Hartmann
9295a60913 add test case for script resource 2015-10-07 13:13:37 +02:00
Christoph Hartmann
05bdb44bf2 switch user resource to use new script resource 2015-10-07 13:05:04 +02:00
Christoph Hartmann
67f6ae5be2 implement run script resource for windows 2015-10-07 13:04:40 +02:00
chef-delivery
89223ceb2b Merge pull request #84 from chef/authors
Merged change d7bf3fcc-9a7e-4977-b324-f06ace4b2ca0

From review branch authors into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-06 13:35:28 -07:00
Christoph Hartmann
8fff2ee989 add author header 2015-10-06 18:55:44 +02:00
chef-delivery
6a309b923e Merge pull request #83 from chef/resource-bugfix
Merged change badc0451-e996-4335-af95-92ea110a2d52

From review branch resource-bugfix into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-06 09:12:03 -07:00
Dominik Richter
fa4581489f ignore stderr on file content cat
reduced problems on CSH and others...
2015-10-06 15:49:19 +02:00
Dominik Richter
a72dc86442 bugfix: configure test runners correctly to updated backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-06 15:35:37 +02:00
Dominik Richter
ba288cc86e bugfix: ensure resource registry is available to backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-06 14:12:32 +02:00
Dominik Richter
3439a34d16 bugfix: expose path in file resource
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-06 14:12:32 +02:00