Commit graph

5002 commits

Author SHA1 Message Date
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
Dominik Richter
2eb94f5e2e be more explicit about detecting unix
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:06:38 +02:00
Dominik Richter
bc98b3330f feature: add helpers for OS families
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-28 11:06:38 +02:00
Christoph Hartmann
308dbef369 Merge pull request #55 from chef/unit+lint
Start Linting remaining resources
2015-09-26 20:00:34 +02:00
Dominik Richter
093600b85f split up os detection for linting
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 13:12:52 +02:00
Dominik Richter
d839cbc8f7 lint the profile context
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:41:13 +02:00
Dominik Richter
1efb61ab80 lint service
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:25:02 +02:00
Dominik Richter
d28c5a85fe lint mysql
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:25:02 +02:00
Dominik Richter
9885e7683b lint port resource
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:25:02 +02:00
Dominik Richter
416499cd64 add delivery unit + lint tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 12:24:58 +02:00
Dominik Richter
4c9c6174d7 skip some delivery phases we dont need
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-26 11:47:07 +02:00
Dominik Richter
17f3f2ab23 Merge pull request #54 from chef/llint
fix various robocop lint issues
2015-09-25 20:24:42 +02:00
Christoph Hartmann
94ac889ff2 fix robocop lint issues 2015-09-25 19:46:46 +02:00
Christoph Hartmann
62ebb6fe17 lint tests 2015-09-25 19:34:25 +02:00
Christoph Hartmann
7cea90ef3a fix lint issues 2015-09-25 19:34:25 +02:00
Christoph Hartmann
89f05efc94 Merge pull request #53 from chef/rule-context
overhaul rule structure
2015-09-25 19:31:54 +02:00
Dominik Richter
3fe0c90733 overhaul rule structure
* rename VulcanoBaseRule -> Vulcano::Rule
* initialize rule inside the ProfileContext
* attach all resources to ProfileContext and all rules created within
* rename rule.rb -> dsl.rb, now only containing DSL information
* rename base_rule.rb -> rule.rb, now containing everything for rule

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-25 19:16:32 +02:00
Christoph Hartmann
ec7a743f21 Merge pull request #51 from chef/ssh-transport
Verify ssh transport backend
2015-09-25 15:06:00 +02:00
Dominik Richter
31a960e2b6 add ssh backend to runner kitchen tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-25 14:09:41 +02:00