Skip to content

Commit d2f0063

Browse files
committed
Merge pull request #4 from TelekomLabs/update-common
updating common files
2 parents 1f8be1b + 1b96ab3 commit d2f0063

File tree

3 files changed

+25
-21
lines changed

3 files changed

+25
-21
lines changed

.kitchen.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
32
driver:
43
name: vagrant
54
provisioner:
65
name: puppet_apply
7-
test_repo_uri: "https://github.com/TelekomLabs/tests-apache-hardening.git"
6+
test_repo_uri: https://github.com/TelekomLabs/tests-apache-hardening.git
87
platforms:
98
- name: ubuntu-12.04
109
driver_config:
@@ -20,26 +19,24 @@ platforms:
2019
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
2120
- name: centos-6.5
2221
driver_config:
23-
box: opscode-centos-6.5
24-
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box
25-
# - name: oracle-6.4
26-
# driver_config:
27-
# box: oracle-6.4
28-
# box_url: https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel64-64.box
22+
box: opscode-centos-6.5
23+
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box
24+
- name: oracle-6.4
25+
driver_config:
26+
box: oracle-6.4
27+
box_url: https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel64-64.box
2928
- name: oracle-6.5
3029
driver_config:
3130
box: oracle-6.5
3231
box_url: https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel65-64.box
3332
- name: debian-6
3433
driver_config:
3534
box: debian-6
36-
box_url: https://googledrive.com/host/0B83ZToJ3fGtDeE9KWm1sWndZdGs/debian-6.0.10-amd64_virtualbox.box
35+
box_url: https://s3.eu-central-1.amazonaws.com/ffuenf-vagrantboxes/debian/debian-6.0.10-amd64_virtualbox.box
3736
- name: debian-7
3837
driver_config:
3938
box: debian-7
40-
box_url: https://googledrive.com/host/0B83ZToJ3fGtDVC1DeVVzc3lkc0U/debian-7.6.0-amd64_virtualbox.box
39+
box_url: https://s3.eu-central-1.amazonaws.com/ffuenf-vagrantboxes/debian/debian-7.7.0-amd64_virtualbox.box
4140
suites:
4241
- name: default
4342
manifest: site.pp
44-
45-

.rubocop.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1+
---
12
AllCops:
23
Exclude:
3-
- vendor/**
4-
- metadata.rb
5-
- '**/Puppetfile'
6-
- Puppetfile
7-
- Gemfile
8-
- 'test/integration/**/*'
9-
4+
- vendor/**/*
5+
- test/**/*
6+
- spec/fixtures/**/*
7+
- Puppetfile
108
Documentation:
119
Enabled: false
1210
AlignParameters:
@@ -17,7 +15,15 @@ HashSyntax:
1715
Enabled: false
1816
LineLength:
1917
Enabled: false
18+
EmptyLinesAroundBlockBody:
19+
Enabled: false
2020
MethodLength:
21-
Max: 30
21+
Max: 40
2222
NumericLiterals:
2323
MinDigits: 10
24+
Metrics/CyclomaticComplexity:
25+
Max: 10
26+
Metrics/PerceivedComplexity:
27+
Max: 10
28+
Metrics/AbcSize:
29+
Max: 29

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
source 'https://rubygems.org'
44

5-
if puppetversion = ENV['PUPPET_VERSION']
5+
puppetversion = ENV['PUPPET_VERSION']
6+
if puppetversion
67
gem 'puppet', puppetversion, :require => false
78
else
89
gem 'puppet', :require => false

0 commit comments

Comments
 (0)