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
|
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
|
e57505739e
|
improvement: return gids in etc_group as integer
|
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
|
df9411e529
|
rename test from etcgroup
|
2015-10-07 18:45:07 +02:00 |
|
Christoph Hartmann
|
9295a60913
|
add test case for script resource
|
2015-10-07 13:13:37 +02:00 |
|
Christoph Hartmann
|
8fff2ee989
|
add author header
|
2015-10-06 18:55:44 +02:00 |
|
Christoph Hartmann
|
f38ce7d5f4
|
bugfix: fix error, where the winrm default path is not set properly by default
|
2015-10-05 15:35:02 +02:00 |
|
Christoph Hartmann
|
6b2064ad89
|
return password expiry information for linux
|
2015-10-05 11:50:49 +02:00 |
|
Christoph Hartmann
|
cab93a178a
|
add tests for user resource
|
2015-10-05 11:50:49 +02:00 |
|
Dominik Richter
|
369e61d0cd
|
feature: add path to target specification
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-10-03 23:39:09 +02:00 |
|
Christoph Hartmann
|
e139070923
|
increase test coverage for oneget
|
2015-10-03 13:27:20 +02:00 |
|
Dominik Richter
|
8b97bdbaa7
|
expose simpleconfig groups
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-30 12:18:09 +02:00 |
|
Dominik Richter
|
4d70aed6ee
|
add tests for simple config
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-30 12:14:38 +02:00 |
|
Dominik Richter
|
4e15e425a4
|
move darwin to bsd type
see: https://en.wikipedia.org/wiki/Darwin_%28operating_system%29#/media/File:Unix_timeline.en.svg
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-28 12:14:40 +02:00 |
|
Dominik Richter
|
4f0c0d7f21
|
add unit tests to os common detection
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-28 11:52:50 +02:00 |
|
Christoph Hartmann
|
a53b2d66c5
|
add comments
|
2015-09-25 12:58:34 +02:00 |
|
Christoph Hartmann
|
46fcb334da
|
bugfix: use debian 8 for systemd unit test
|
2015-09-25 12:58:26 +02:00 |
|
Christoph Hartmann
|
007d292890
|
rewrite systemv service implementation, read enabled services from rc
|
2015-09-25 12:58:03 +02:00 |
|
Christoph Hartmann
|
2901dde219
|
add systemv service unit tests
|
2015-09-25 12:54:19 +02:00 |
|
Christoph Hartmann
|
11ffdeddad
|
improvement: return nil, if no description for service is available
|
2015-09-25 12:54:08 +02:00 |
|
Christoph Hartmann
|
86cd56c5c3
|
add unit test for service resource on ubuntu 15.04
|
2015-09-25 12:53:55 +02:00 |
|
Christoph Hartmann
|
5be574693f
|
add unit tests for freebsd service resource
|
2015-09-25 12:53:40 +02:00 |
|
Christoph Hartmann
|
d5d517af0a
|
improve service handling for mac and add unit tests
|
2015-09-25 12:51:12 +02:00 |
|
Christoph Hartmann
|
36ad0dd5a0
|
add arch linux support for service resource
|
2015-09-25 12:48:57 +02:00 |
|
Christoph Hartmann
|
45081735ad
|
add debian 8 mock test for service resource
|
2015-09-25 12:48:48 +02:00 |
|
Christoph Hartmann
|
cb3d170ce6
|
add centos 7 unit mock for service resource
|
2015-09-25 12:48:21 +02:00 |
|
Christoph Hartmann
|
1936383120
|
add service unit tests for ubuntu 14.04
|
2015-09-25 11:52:33 +02:00 |
|
Christoph Hartmann
|
3e16791f52
|
bugfix: catch case in service resource, where the OS is not supported
|
2015-09-25 11:52:33 +02:00 |
|
Christoph Hartmann
|
cf8a75f233
|
improvement: make service tests os dependent
|
2015-09-25 11:52:33 +02:00 |
|
Christoph Hartmann
|
3807a7412c
|
add package unit test for windows
|
2015-09-23 23:30:31 +02:00 |
|
Christoph Hartmann
|
5151f42d7d
|
add package unit test for unsupported os
|
2015-09-23 23:30:31 +02:00 |
|
Christoph Hartmann
|
61143907c2
|
add versions to package unit tests
|
2015-09-23 23:30:31 +02:00 |
|
Christoph Hartmann
|
52e4459d61
|
rename pacman mock file
|
2015-09-23 23:30:31 +02:00 |
|
Christoph Hartmann
|
943eef4ef3
|
make package unit tests os dependent
|
2015-09-23 23:30:31 +02:00 |
|
Christoph Hartmann
|
672f196a76
|
update port tests
|
2015-09-23 23:15:40 +02:00 |
|
Christoph Hartmann
|
cd6dbd03a1
|
add sockstat mock result
|
2015-09-23 23:15:37 +02:00 |
|
Christoph Hartmann
|
d889f0b0b1
|
port resource support for FreeBSD
|
2015-09-23 23:08:54 +02:00 |
|
Christoph Hartmann
|
b47ec509fd
|
port resource support for Windows
|
2015-09-23 23:08:19 +02:00 |
|
Christoph Hartmann
|
4eeb84945c
|
port resource support for MacOS
|
2015-09-23 23:07:07 +02:00 |
|
Christoph Hartmann
|
c187230336
|
implement port resource for linux
|
2015-09-23 18:12:51 +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
|
7155ca8f45
|
fix description with colon
|
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
|
693d9cd0cf
|
add example.csv for unit test
|
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
|
523263b4b6
|
simplify and extend tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:27:04 +02:00 |
|
Christoph Hartmann
|
8fc108bcd7
|
add tests
|
2015-09-22 02:27:04 +02:00 |
|
Christoph Hartmann
|
baee8daae8
|
add unit tests for windows feature
|
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 |
|
Dominik Richter
|
bb18ce52e2
|
update function+test calls from exists? -> exist?
|
2015-09-22 02:27:03 +02:00 |
|
Dominik Richter
|
38a77efb4a
|
fix failing tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:27:01 +02:00 |
|
Christoph Hartmann
|
9a6063c267
|
add resource test for windows
|
2015-09-22 02:26:59 +02:00 |
|
Christoph Hartmann
|
33f9dd8e87
|
add oneget resource
|
2015-09-22 02:17:21 +02:00 |
|
Dominik Richter
|
ddbaebae46
|
add mysql unit tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:15:42 +02:00 |
|
Christoph Hartmann
|
238f1b2016
|
add pip resource to verify gem packages
|
2015-09-22 02:15:41 +02:00 |
|
Christoph Hartmann
|
bdb859b730
|
add npm resource to verify gem packages
|
2015-09-22 02:15:41 +02:00 |
|
Christoph Hartmann
|
0171b2e2f2
|
add gem resource to verify gem packages
|
2015-09-22 02:15:41 +02:00 |
|
Christoph Hartmann
|
02afd48576
|
add mock resources for package resource
|
2015-09-22 02:15:41 +02:00 |
|
Christoph Hartmann
|
9783751741
|
implement package resource
|
2015-09-22 02:15:41 +02:00 |
|
Dominik Richter
|
905f2a0a6f
|
remove duplicate key in test
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 01:42:26 +02:00 |
|
Dominik Richter
|
305bb39668
|
add missing local backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 01:23:08 +02:00 |
|
Christoph Hartmann
|
a7efec310b
|
implement yum resource
|
2015-09-22 01:10:56 +02:00 |
|
Christoph Hartmann
|
9554a4ac32
|
add audit_daemon resource test cases
|
2015-09-21 14:12:11 +02:00 |
|
Christoph Hartmann
|
90935e75e1
|
add unit test for audit_policy resource
|
2015-09-21 14:09:16 +02:00 |
|
Christoph Hartmann
|
888f8588fb
|
add unit test for registry_key resource
|
2015-09-21 14:08:27 +02:00 |
|
Christoph Hartmann
|
57ab2a816b
|
fix rubocop issues for bond unit test
|
2015-09-21 14:08:20 +02:00 |
|
Christoph Hartmann
|
ca2e0ed6cb
|
add unit tests for etc_group resource
|
2015-09-21 14:07:32 +02:00 |
|
Christoph Hartmann
|
fb3b4b1369
|
add unit test for inetd_conf
|
2015-09-21 14:05:42 +02:00 |
|
Christoph Hartmann
|
158e4ac1ab
|
add unit test for limits.conf
|
2015-09-21 14:03:24 +02:00 |
|
Christoph Hartmann
|
797d24c14a
|
add login_def resource unit test
|
2015-09-21 14:01:51 +02:00 |
|
Christoph Hartmann
|
faf7f44a42
|
add os_env unit test
|
2015-09-21 13:58:22 +02:00 |
|
Christoph Hartmann
|
0adf3314af
|
add ntp unit test
|
2015-09-21 13:57:42 +02:00 |
|
Christoph Hartmann
|
413267c322
|
add passwd unit test
|
2015-09-21 13:55:51 +02:00 |
|
Christoph Hartmann
|
1b643ae1da
|
implement security policy resource tests
|
2015-09-21 13:51:43 +02:00 |
|
Christoph Hartmann
|
08ad9704a7
|
move mock files to new sub-directory
|
2015-09-21 13:43:09 +02:00 |
|
Christoph Hartmann
|
03a7dd7176
|
implement unit test for processes resource
|
2015-09-21 13:43:09 +02:00 |
|
Christoph Hartmann
|
ae514959d2
|
add ssh unit tests
|
2015-09-21 13:38:54 +02:00 |
|
Christoph Hartmann
|
6a00ce8ebe
|
add utf-8 header to tests
|
2015-09-03 18:04:13 +02:00 |
|
Christoph Hartmann
|
abae94ba4e
|
improve test style
|
2015-09-03 18:03:51 +02:00 |
|
Christoph Hartmann
|
cf77e56118
|
add unit test for bond resource
|
2015-09-03 17:34:11 +02:00 |
|
Dominik Richter
|
f54fa6537a
|
use string for backend conf
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-03 14:56:08 +02:00 |
|
Dominik Richter
|
5ae3b13b38
|
use let instead of before
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-03 10:25:27 +02:00 |
|
Dominik Richter
|
199cb84ab3
|
not implemented only throws on missing methods
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-02 17:30:49 +02:00 |
|
Dominik Richter
|
1c2ab098f5
|
specify methods all backends must implement
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-02 11:53:25 +02:00 |
|
Dominik Richter
|
05b4167971
|
start backend and file tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-02 04:55:22 +02:00 |
|
Dominik Richter
|
32964c1e4e
|
tests for backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-02 04:19:23 +02:00 |
|