Commit graph

8564 commits

Author SHA1 Message Date
Dominik Richter
afb9d4877f fix link_path in file tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
fc14706a0a expose link_path in file resource
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 19:43:11 +02:00
Dominik Richter
f789b16f5b let travis do dockerized resource tests 2015-09-22 19:43:11 +02:00
Dominik Richter
91c8330a4d Merge pull request #42 from chef/unit-test-mock-os
unit test mock os
2015-09-22 19:42:54 +02:00
Christoph Hartmann
48f0615d17 simplify os default setting 2015-09-22 19:35:38 +02:00
Christoph Hartmann
bdb9a59264 simplify unit tests 2015-09-22 18:33:05 +02:00
Christoph Hartmann
39b697ccb7 implement os mock in unit tests 2015-09-22 18:31:21 +02:00
Christoph Hartmann
098e84132f Merge pull request #40 from chef/dockerrun
docker test run
2015-09-22 18:10:11 +02:00
Dominik Richter
b779308f3d bugfix: handle NotImplementedError on docker tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
064996669c fix docker rake path
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
a2138e6d31 chain docker pull + log out
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
dfe112a7e7 pull docker images that are missing
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
0bc1b8a110 improve error handling and output on failures
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 18:02:28 +02:00
Dominik Richter
8c280789c0 split docker container tester into runner+tests 2015-09-22 18:02:28 +02:00
Christoph Hartmann
6ea6eb45a2 Merge pull request #38 from chef/uname-detect
bugfix: detect os via unames
2015-09-22 18:02:07 +02:00
Dominik Richter
5fec383788 bugfix: detect os via unames
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 16:25:17 +02:00
Christoph Hartmann
f832001f10 Merge pull request #37 from chef/kitchen-test
run kitchen test instead of converge
2015-09-22 16:16:32 +02:00
Dominik Richter
aea5ef921a run kitchen test instead of converge
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 15:45:20 +02:00
Christoph Hartmann
bc076f654d Merge pull request #36 from chef/local-file-owner
bugfix: local file owner
2015-09-22 15:41:36 +02:00
Dominik Richter
c3fa247e6a bugfix: local file owner
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 14:24:22 +02:00
Christoph Hartmann
b4faeea69e Merge pull request #35 from chef/backend-desc
bugfix: backend description for local + docker
2015-09-22 13:35:26 +02:00
Dominik Richter
675f8fa117 bugfix: backend description for local + docker
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 12:03:34 +02:00
Dominik Richter
4e12a931d5 Merge pull request #30 from chef/file-formats
File formats
2015-09-22 02:27:04 +02:00
Christoph Hartmann
2eeba59db3 Merge pull request #32 from chef/kernel
add linux kernel resources
2015-09-22 02:27:04 +02:00
Christoph Hartmann
6b3365682d fix comment 2015-09-22 02:27:04 +02:00
Dominik Richter
c69aba9b46 Merge pull request #34 from chef/os-mock
implement fake os method for mock backend (for now)
2015-09-22 02:27:04 +02:00
Dominik Richter
6be9c6822d fix issue with premature matching
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 02:27:04 +02:00
Christoph Hartmann
7155ca8f45 fix description with colon 2015-09-22 02:27:04 +02:00
Dominik Richter
523263b4b6 simplify and extend tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 02:27:04 +02:00
Christoph Hartmann
4ea5a0bf97 fix description with colon 2015-09-22 02:27:04 +02:00
Christoph Hartmann
8fc108bcd7 add tests 2015-09-22 02:27:04 +02:00
Christoph Hartmann
7ccc8baa37 improvement: switch back from OpenStruct to Hash 2015-09-22 02:27:04 +02:00
Christoph Hartmann
42a989606b implement kernel_parameter resource 2015-09-22 02:27:04 +02:00
Christoph Hartmann
693d9cd0cf add example.csv for unit test 2015-09-22 02:27:04 +02:00
Christoph Hartmann
ef9471e86c implement kernel_module resource 2015-09-22 02:27:04 +02:00
Christoph Hartmann
5f7910a0cf fix title 2015-09-22 02:27:04 +02:00
Christoph Hartmann
cf3dddf1a3 add csv support 2015-09-22 02:27:04 +02:00
Christoph Hartmann
b9d4fc6d8c add yaml resource 2015-09-22 02:27:04 +02:00
Christoph Hartmann
0e43d4ca6a add json resource 2015-09-22 02:27:04 +02:00
Dominik Richter
c36b6d2972 Merge pull request #33 from chef/windows_feature
add Windows feature resource
2015-09-22 02:27:03 +02:00
Dominik Richter
c56dee4d0f implement fake os method for mock backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 02:27:03 +02:00
Christoph Hartmann
69bdd619a3 Merge pull request #31 from chef/exist-vs-exists
Exist vs exists
2015-09-22 02:27:03 +02:00
Christoph Hartmann
baee8daae8 add unit tests for windows feature 2015-09-22 02:27:03 +02:00
Dominik Richter
824945fefa Merge pull request #25 from chef/windows-package
support package for windows
2015-09-22 02:27:03 +02:00
Dominik Richter
052143bdb8 adjust serverspec yum deprecation test
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 02:27:03 +02:00
Christoph Hartmann
8b6fccee92 implement windows_feature resource 2015-09-22 02:27:03 +02:00
Dominik Richter
e51b18bd80 Merge pull request #26 from chef/bugfix-windows-service
bugfix: catch cases, where no service is available
2015-09-22 02:27:03 +02:00
Christoph Hartmann
78fea3d3a2 support package for windows 2015-09-22 02:27:03 +02:00
Dominik Richter
bb18ce52e2 update function+test calls from exists? -> exist? 2015-09-22 02:27:03 +02:00
Christoph Hartmann
04ca75b6e7 Merge pull request #29 from chef/os
OS detection and resource
2015-09-22 02:27:03 +02:00