Commit graph

720 commits

Author SHA1 Message Date
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
chef-delivery
0753cc5022 Merge pull request #62 from chef/oneget
Merged change 6ec36404-484f-4856-83cf-785c960634bc

From review branch oneget into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-03 06:30:56 -07:00
Christoph Hartmann
b40ab55710 fix: rubucop lint 2015-10-03 14:02:34 +02:00
Christoph Hartmann
0a7dfce1e6 add author 2015-10-03 13:27:20 +02:00
Christoph Hartmann
47e0b38a10 bugfix: catch case where we retrieve an arrray 2015-10-03 13:27:20 +02:00
Christoph Hartmann
e139070923 increase test coverage for oneget 2015-10-03 13:27:20 +02:00
Christoph Hartmann
f387dbbb9e improvement: skip oneget if it is not running on windows 2015-10-03 13:27:20 +02:00
chef-delivery
107036b611 Merge pull request #61 from chef/delivery-advanced-docker
Merged change 83104e35-3188-4a6e-b867-686ec82eccf5

From review branch delivery-advanced-docker into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-02 14:46:21 -07:00
Dominik Richter
3227624617 extend delivery tests to extra docker images
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-02 23:22:56 +02:00
chef-delivery
ba8f1ec098 Merge pull request #60 from chef/cli--key
Merged change 2101f59e-fbad-4209-85a3-473a950b084a

From review branch cli--key into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-02 14:22:11 -07:00
Dominik Richter
7d27b62794 simplify key assignment in conf 2015-10-02 22:41:25 +02:00
Dominik Richter
5825b4d6d4 rename --key-file to --key on cli
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-02 22:21:35 +02:00
Delivery Server
fa90e71689 Merged change 3d91ebcf-83dc-4bc4-a84c-c1b9cd49d6ca
From review branch _reviews/master/version-info/2 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-02 16:25:43 +00:00
Dominik Richter
bfcd3f8819 print version on cli
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-02 18:01:52 +02:00
Delivery Server
92b82a3cbf Merged change 24637cb4-1d10-4e45-b683-27d9e1ca9a4f
From review branch _reviews/master/bugfix-gem/3 into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-02 15:37:59 +00:00
Dominik Richter
5010957487 do not delete docker service in delivery
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-02 17:34:57 +02:00
Delivery Server
6f76c8af80 Merged change 14c58f92-44e3-42c0-8737-71c6b49d0e42
From review branch _reviews/master/improve-pip-windows/2 into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-02 14:51:59 +00:00
Christoph Hartmann
1eed6bcf11 use separate method to determine the pip command 2015-10-01 23:29:31 +02:00
Christoph Hartmann
54603e9545 optimize pip resource for windows 2015-10-01 23:26:56 +02:00
Christoph Hartmann
2a5736b8f9 bugfix: fix gem to string 2015-10-01 23:25:46 +02:00
Delivery Server
f4a7ee9af0 Merged change 7a7300e7-d037-465f-9e90-cfd743b00173
From review branch _reviews/master/delivery-publish/2 into master

Signed-off-by: chartmann <chartmann@chef.io>

Reviewed-by: chartmann <chartmann@chef.io>
2015-10-01 21:21:55 +00:00
Dominik Richter
3a8f1e5984 add delivery publish to github
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-01 23:05:59 +02:00
Delivery Server
1e94135304 Merged change fa4f930a-67af-4eee-ac06-fc05a365ba6b
From review branch _reviews/master/dockerized-tests/1 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-01 16:10:12 +00:00
Dominik Richter
0904cd817e pin delivery build node 2015-10-01 18:03:32 +02:00
Dominik Richter
ae10fefd15 fix warnings 2015-10-01 16:43:36 +02:00
Dominik Richter
039275e68c add build-essential for make
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-01 14:58:22 +02:00
Dominik Richter
536d9401fa run dockerized tests in delivery 2015-10-01 12:25:06 +02:00
Delivery Server
3e75bce76d Merged change 3bc28b51-d417-40a5-8337-7f8b32107df1
From review branch _reviews/master/simpleconfig-groups/4 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-09-30 12:10:08 +00:00
Dominik Richter
12888c8dad bugfix: centos detection in docker centos:7.1.1503
It doesnt post the expected information in /etc/redhat-release:

    Derived from Red Hat Enterprise Linux 7.1 (Source)

Additionally in /etc/os-release:

    NAME="CentOS Linux"
	  VERSION="7 (Core)"
	  ...

Combine both files to fix the detection.
2015-09-30 13:44:24 +02:00
Dominik Richter
6703d1834d change delivery lint command to use rake
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:23:41 +02:00
Dominik Richter
a888534c4e reactivate lint in delivery
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:22:58 +02:00
Dominik Richter
aa4593ff71 replace parseconfig with simpleconfig
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:19:55 +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
2d8b63cb22 feature: support simple config groups
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:00:38 +02:00
Delivery Server
c5755f93fd Merged change 3c1a3d24-449b-417b-ab4e-e56ef564ab2e
From review branch _reviews/master/lint/2 into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-09-30 09:55:45 +00:00
Dominik Richter
5c81faa923 deactivate delivery lint for now...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 11:52:24 +02:00
Dominik Richter
90de8763cf wrap up linting
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 02:20:47 +02:00
Dominik Richter
dd46027195 bugfix: require yaml in resource
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 01:48:59 +02:00
Dominik Richter
212f11243b simplify and fix stat handling
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 01:42:04 +02:00
Dominik Richter
28b3792325 let specinfra backend os support OSCommon methods
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-29 19:34:43 +02:00
Dominik Richter
3508201a5d split out unix stat
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-29 19:18:48 +02:00
Dominik Richter
15d5cc7ca0 split up specinfra backend helper
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-29 15:27:58 +02:00
Christoph Hartmann
6092856786 Merge pull request #56 from chef/osdetecters
OS detection tests
2015-09-28 13:27:16 +02:00
Dominik Richter
1e0405bf74 allow for empty config in target_config
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 13:03:05 +02:00
Dominik Richter
78d98388f8 add amazon scientific and xenserver to redhat distros in detection
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 12:46:46 +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
Dominik Richter
c77a0a1c81 api: make mock backend quiet by default
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:27:19 +02:00
Dominik Richter
7019b1f659 generalize and simplify os detect methods
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:15:41 +02:00