-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_defaults.yml
258 lines (258 loc) · 6.36 KB
/
config_defaults.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
---
.gitattributes:
include:
'*.rb': 'eol=lf'
'*.erb': 'eol=lf'
'*.pp': 'eol=lf'
'*.sh': 'eol=lf'
.travis.yml:
docker_sets:
docker_defaults:
# values will replace @@SET@@ with the docker_sets' value
rvm: 2.3.1
sudo: required
dist: trusty
services: docker
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=@@SET@@
script: bundle exec rake beaker
includes:
- rvm: 2.3.1
env: PUPPET_GEM_VERSION="~> 4.0"
bundler_args: --without system_tests
- rvm: 2.1.7
env: PUPPET_GEM_VERSION="~> 4.0"
bundler_args: --without system_tests
appveyor.yml:
appveyor_bundle_install: "bundle install --jobs 4 --retry 2 --without system_tests"
matrix:
- PUPPET_GEM_VERSION: "~> 4.0"
RUBY_VER: 21
- PUPPET_GEM_VERSION: "~> 4.0"
RUBY_VER: 21-x64
- PUPPET_GEM_VERSION: "~> 4.0"
RUBY_VER: 23
- PUPPET_GEM_VERSION: "~> 4.0"
RUBY_VER: 23-x64
- PUPPET_GEM_VERSION: 4.2.3
RUBY_VER: 21-x64
test_script:
- bundle exec rake spec
Rakefile:
default_disabled_lint_checks:
- 'relative'
spec/spec_opts:
delete: true
.rubocop.yml:
disabled_cops:
Metrics:
AbcSize:
ClassLength:
CyclomaticComplexity:
LineLength:
MethodLength:
ModuleLength:
ParameterLists:
PerceivedComplexity:
RSpec:
DescribeClass:
ExampleLength:
NamedSubject:
Style:
ClassAndModuleChildren:
ClosingParenthesisIndentation:
Documentation:
enabled_cops:
Lint:
AmbiguousRegexpLiteral:
AssignmentInCondition:
BlockAlignment:
ConditionPosition:
Debugger:
DefEndAlignment:
DeprecateClassMethods:
ElseLayout:
EndAlignment:
EnsureReturn:
Eval:
LiteralInCondition:
LiteralInInterpolation:
Loop:
ParenthesesAsGroupedExpression:
RequireParentheses:
RescueException:
ShadowingOuterLocalVariable:
StringConversionInInterpolation:
UnreachableCode:
UnusedBlockArgument:
UnusedMethodArgument:
UselessAccessModifier:
UselessAssignment:
UselessComparison:
Void:
Metrics:
BlockNesting:
Style:
AccessModifierIndentation:
AccessorMethodName:
Alias:
AlignArray:
AlignHash:
AlignParameters:
AndOr:
AsciiComments:
Attr:
BlockDelimiters:
BracesAroundHashParameters:
CaseEquality:
CaseIndentation:
CharacterLiteral:
ClassAndModuleCamelCase:
ClassCheck:
ClassMethods:
ClassVars:
CollectionMethods:
ColonMethodCall:
CommentIndentation:
CommentAnnotation:
ConstantName:
DefWithParentheses:
DotPosition:
EnforcedStyle: trailing
DoubleNegation:
EachWithObject:
EmptyLineBetweenDefs:
EmptyLines:
EmptyLinesAroundAccessModifier:
EmptyLiteral:
Encoding:
EvenOdd:
FileName:
For:
FormatString:
GlobalVars:
GuardClause:
HashSyntax:
IfUnlessModifier:
IfWithSemicolon:
IndentArray:
IndentHash:
IndentationConsistency:
IndentationWidth:
Lambda:
LeadingCommentSpace:
LineEndConcatenation:
MethodCallParentheses:
MethodDefParentheses:
MethodName:
ModuleFunction:
MultilineIfThen:
MultilineBlockChain:
MultilineBlockLayout:
MultilineTernaryOperator:
NegatedIf:
NegatedWhile:
NestedTernaryOperator:
Next:
NilComparision:
NonNilCheck:
Not:
NumericLiterals:
OneLineConditional:
OpMethod:
ParenthesesAroundCondition:
PercentLiteralDelimiters:
PerlBackrefs:
PredicateName:
PreferredHashMethods:
Proc:
RaiseArgs:
RedundantBegin:
RedundantException:
RedundantReturn:
RedundantSelf:
RegexpLiteral:
EnforcedStyle: percent_r
RescueModifier:
SelfAssignment:
Semicolon:
SignalException:
SingleLineBlockParams:
SingleLineMethods:
SpaceAfterColon:
SpaceAfterComma:
SpaceAfterNot:
SpaceAfterSemicolon:
SpaceAroundEqualsInParameterDefault:
SpaceAroundOperators:
SpaceBeforeBlockBraces:
SpaceBeforeComma:
SpaceBeforeComment:
SpaceBeforeSemicolon:
SpaceBeforeFirstArg:
SpaceInsideBlockBraces:
SpaceInsideBrackets:
SpaceInsideHashLiteralBraces:
SpaceInsideParens:
SpecialGlobalVars:
StringLiterals:
Tab:
TrailingBlankLines:
TrailingCommaInArguments:
TrailingCommaInLiteral:
TrailingWhitespace:
TrivialAccessors:
UnlessElse:
UnderscorePrefixedVariableName:
UnneededPercentQ:
VariableInterpolation:
VariableName:
WhenThen:
WhileUntilDo:
WhileUntilModifier:
WordArray:
Gemfile:
required:
':development':
- gem: 'puppet-module-posix-default-r#{minor_version}'
platforms: ruby
- gem: 'puppet-module-win-default-r#{minor_version}'
platform:
- mswin
- mingw
- x64_mingw
- gem: 'puppet-module-posix-dev-r#{minor_version}'
platforms: ruby
- gem: 'puppet-module-win-dev-r#{minor_version}'
platforms:
- mswin
- mingw
- x64_mingw
# json_pure 2.0.2 added a requirement on ruby >= 2. We pin to
# json_pure <= 2.0.1 if using ruby 1.x
- gem: json_pure
version: '<= 2.0.1'
condition: "Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.0.0')"
- gem: fast_gettext
version: '1.1.0'
condition: "Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.1.0')"
- gem: fast_gettext
condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.1.0')"
':system_tests':
- gem: 'puppet-module-posix-system-r#{minor_version}'
platforms: ruby
- gem: 'puppet-module-win-system-r#{minor_version}'
platforms:
- mswin
- mingw
- x64_mingw
- gem: beaker
version: '>= 3'
from_env: BEAKER_VERSION
- gem: beaker-pe
- gem: beaker-rspec
from_env: BEAKER_RSPEC_VERSION
- gem: beaker-hostgenerator
from_env: BEAKER_HOSTGENERATOR_VERSION
- gem: beaker-abs
from_env: BEAKER_ABS_VERSION
version: '~> 0.1'