Commit 8efb9a74 authored by Fabien Combernous's avatar Fabien Combernous

Merge branch '17-enable-more-rubucop-cops' into 'master'

Resolve "enable more rubucop cops"

Closes #17

See merge request adullact/puppet-freeipa!18
parents 7d99887a 523fa2ac
......@@ -59,10 +59,6 @@ Style/TrailingCommaInArguments:
Description: Prefer always trailing comma on multiline argument lists. This makes
diffs, and re-ordering nicer.
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
Description: Prefer always trailing comma on multiline literals. This makes diffs,
and re-ordering nicer.
EnforcedStyleForMultiline: comma
Style/SymbolArray:
Description: Using percent style obscures symbolic intent of array's contents.
EnforcedStyle: brackets
......@@ -116,3 +112,303 @@ Style/IfUnlessModifier:
Enabled: false
Style/SymbolProc:
Enabled: false
Style/HashSyntax:
Enabled: True
Style/RedundantReturn:
Enabled: True
Style/AndOr:
Enabled: True
Style/RedundantSelf:
Enabled: True
Style/WhileUntilModifier:
Enabled: True
Naming/AccessorMethodName:
Enabled: True
Style/AsciiComments:
Enabled: True
Style/Attr:
Enabled: True
Style/BracesAroundHashParameters:
Enabled: True
Style/CaseEquality:
Enabled: True
Style/CharacterLiteral:
Enabled: True
Naming/ClassAndModuleCamelCase:
Enabled: True
Style/ClassAndModuleChildren:
Enabled: False
Style/ClassCheck:
Enabled: True
Style/ClassVars:
Enabled: True
Style/ClassMethods:
Enabled: True
Style/WhenThen:
Enabled: True
Style/WordArray:
Enabled: True
Style/UnneededPercentQ:
Enabled: True
Style/CollectionMethods:
Enabled: True
Style/ColonMethodCall:
Enabled: True
Style/CommentAnnotation:
Enabled: True
Naming/ConstantName:
Enabled: True
Style/Documentation:
Enabled: False
Style/DefWithParentheses:
Enabled: True
Style/PreferredHashMethods:
Enabled: True
Style/DoubleNegation:
Enabled: True
Style/EachWithObject:
Enabled: True
Style/EmptyLiteral:
Enabled: True
Style/MethodCallWithoutArgsParentheses:
Enabled: True
Style/MethodDefParentheses:
Enabled: True
Style/LineEndConcatenation:
Enabled: True
Style/StringLiterals:
Enabled: True
Style/TrailingCommaInArguments:
Enabled: True
Style/TrailingCommaInArrayLiteral:
Enabled: True
Style/TrailingCommaInHashLiteral:
Enabled: True
Style/GlobalVars:
Enabled: True
Style/GuardClause:
Enabled: True
Style/IfUnlessModifier:
Enabled: True
Style/MultilineIfThen:
Enabled: True
Style/NegatedIf:
Enabled: True
Style/NegatedWhile:
Enabled: True
Style/Next:
Enabled: True
Style/SingleLineBlockParams:
Enabled: True
Style/SingleLineMethods:
Enabled: True
Style/SpecialGlobalVars:
Enabled: True
Style/TrivialAccessors:
Enabled: True
Style/UnlessElse:
Enabled: True
Style/VariableInterpolation:
Enabled: True
Naming/VariableName:
Enabled: True
Style/WhileUntilDo:
Enabled: True
Style/EvenOdd:
Enabled: True
Naming/FileName:
Enabled: True
Style/For:
Enabled: True
Style/Lambda:
Enabled: True
Naming/MethodName:
Enabled: True
Style/MultilineTernaryOperator:
Enabled: True
Style/NestedTernaryOperator:
Enabled: True
Style/NilComparison:
Enabled: True
Style/FormatString:
Enabled: True
Style/MultilineBlockChain:
Enabled: True
Style/Semicolon:
Enabled: True
Style/SignalException:
Enabled: True
Style/NonNilCheck:
Enabled: True
Style/Not:
Enabled: True
Style/NumericLiterals:
Enabled: True
Style/OneLineConditional:
Enabled: True
Naming/BinaryOperatorParameterName:
Enabled: True
Style/ParenthesesAroundCondition:
Enabled: True
Style/PercentLiteralDelimiters:
Enabled: True
Style/PerlBackrefs:
Enabled: True
Naming/PredicateName:
Enabled: True
Style/RedundantException:
Enabled: True
Style/SelfAssignment:
Enabled: True
Style/Proc:
Enabled: True
Style/RaiseArgs:
Enabled: True
Style/RedundantBegin:
Enabled: True
Style/RescueModifier:
Enabled: True
Style/RegexpLiteral:
EnforcedStyle: percent_r
Enabled: True
Style/ModuleFunction:
Enabled: True
Style/IfWithSemicolon:
Enabled: True
Style/Encoding:
Enabled: True
Style/BlockDelimiters:
Enabled: True
Layout/ConditionPosition:
Enabled: True
Lint/ElseLayout:
Enabled: True
Lint/UnreachableCode:
Enabled: True
Lint/UselessComparison:
Enabled: True
Lint/EnsureReturn:
Enabled: True
Lint/HandleExceptions:
Enabled: True
Lint/ShadowingOuterLocalVariable:
Enabled: True
Lint/LiteralInInterpolation:
Enabled: True
Lint/AmbiguousOperator:
Enabled: True
Lint/AssignmentInCondition:
Enabled: True
Lint/AmbiguousRegexpLiteral:
Enabled: True
Layout/BlockAlignment:
Enabled: True
Layout/DefEndAlignment:
Enabled: True
Layout/EndAlignment:
Enabled: True
Lint/DeprecatedClassMethods:
Enabled: True
Lint/Loop:
Enabled: True
Lint/ParenthesesAsGroupedExpression:
Enabled: True
Lint/RescueException:
Enabled: True
Lint/StringConversionInInterpolation:
Enabled: True
Lint/UnusedBlockArgument:
Enabled: True
Lint/UnusedMethodArgument:
Enabled: True
Lint/UselessAccessModifier:
Enabled: True
Lint/UselessAssignment:
Enabled: True
Lint/Void:
Enabled: True
Lint/UnderscorePrefixedVariableName:
Enabled: True
Lint/UselessAssignment:
Enabled: True
Lint/Debugger:
Enabled: True
Layout/SpaceBeforeComment:
Enabled: True
Layout/EndOfLine:
Enabled: False
Layout/AccessModifierIndentation:
Enabled: True
Layout/CaseIndentation:
Enabled: True
Layout/AlignArray:
Enabled: True
Layout/AlignHash:
Enabled: True
Layout/AlignParameters:
Enabled: True
Layout/Tab:
Enabled: True
Layout/SpaceBeforeSemicolon:
Enabled: True
Layout/TrailingBlankLines:
Enabled: True
Layout/SpaceInsideBlockBraces:
Enabled: True
Layout/SpaceInsideHashLiteralBraces:
Enabled: True
Layout/SpaceInsideParens:
Enabled: True
Layout/LeadingCommentSpace:
Enabled: True
Layout/SpaceBeforeFirstArg:
Enabled: True
Layout/SpaceAfterColon:
Enabled: True
Layout/SpaceAfterComma:
Enabled: True
Layout/SpaceAfterMethodName:
Enabled: True
Layout/SpaceAfterNot:
Enabled: True
Layout/SpaceAfterSemicolon:
Enabled: True
Layout/SpaceAroundEqualsInParameterDefault:
Enabled: True
Layout/SpaceAroundOperators:
Enabled: True
Layout/SpaceBeforeBlockBraces:
Enabled: True
Layout/SpaceBeforeComma:
Enabled: True
Layout/CommentIndentation:
Enabled: True
Layout/DotPosition:
EnforcedStyle: trailing
Layout/EmptyLineBetweenDefs:
Enabled: True
Layout/IndentArray:
Enabled: True
Layout/IndentHash:
Enabled: True
Layout/IndentationConsistency:
Enabled: True
Layout/IndentationWidth:
Enabled: True
Layout/EmptyLines:
Enabled: True
Layout/EmptyLinesAroundAccessModifier:
Enabled: True
Layout/TrailingWhitespace:
Enabled: True
Layout/MultilineBlockLayout:
Enabled: True
Layout/ClosingParenthesisIndentation:
Enabled: True
Security/Eval:
Enabled: True
Style/Alias:
Enabled: True
Metrics/BlockNesting:
Enabled: True
......@@ -14,13 +14,16 @@
# @param directory_services_password Password which will be passed into the ipa setup's parameter named "--ds-password".
# @param autofs_package_name Name of the autofs package to install if enabled.
# @param client_install_ldaputils If true, then the ldaputils packages are installed if ipa_role is set to client.
# @param configure_dns_server If true, then the parameter '--setup-dns' is passed to the IPA server installer. Also, triggers the install of the required dns server packages.
# @param configure_dns_server If true, then the parameter '--setup-dns' is passed to the IPA server installer.
# Also, triggers the install of the required dns server packages.
# @param configure_ntp If false, then the parameter '--no-ntp' is passed to the IPA server installer.
# @param custom_dns_forwarders Each element in this array is prefixed with '--forwarder' and passed to the IPA server installer.
# @param domain_join_principal The principal (usually username) used to join a client or replica to the IPA domain.
# @param domain_join_password The password for the domain_join_principal.
# @param enable_hostname If true, then the parameter '--hostname' is populated with the parameter 'ipa_server_fqdn' and passed to the IPA installer.
# @param enable_ip_address If true, then the parameter '--ip-address' is populated with the parameter 'ip_address' and passed to the IPA installer.
# @param enable_hostname If true, then the parameter '--hostname' is populated with the parameter 'ipa_server_fqdn'
# and passed to the IPA installer.
# @param enable_ip_address If true, then the parameter '--ip-address' is populated with the parameter 'ip_address'
# and passed to the IPA installer.
# @param fixed_primary If true, then the parameter '--fixed-primary' is passed to the IPA installer.
# @param idstart From the IPA man pages: "The starting user and group id number".
# @param install_autofs If true, then the autofs packages are installed.
......@@ -44,9 +47,13 @@
# @param server_install_ldaputils If true, then the ldaputils packages are installed if ipa_role is not set to client.
# @param sssd_package_name Name of the sssd package.
# @param sssdtools_package_name Name of the sssdtools package.
# @param webui_disable_kerberos If true, then /etc/httpd/conf.d/ipa.conf is written to exclude kerberos support for incoming requests whose HTTP_HOST variable match the parameter 'webio_proxy_external_fqdn'. This allows the IPA Web UI to work on a proxied port, while allowing IPA client access to function as normal.
# @param webui_enable_proxy If true, then httpd is configured to act as a reverse proxy for the IPA Web UI. This allows for the Web UI to be accessed from different ports and hostnames than the default.
# @param webui_force_https If true, then /etc/httpd/conf.d/ipa-rewrite.conf is modified to force all connections to https. This is necessary to allow the WebUI to be accessed behind a reverse proxy when using nonstandard ports.
# @param webui_disable_kerberos If true, then /etc/httpd/conf.d/ipa.conf is written to exclude kerberos support for incoming
# requests whose HTTP_HOST variable match the parameter 'webio_proxy_external_fqdn'. This allows the IPA Web UI to work on a
# proxied port, while allowing IPA client access to function as normal.
# @param webui_enable_proxy If true, then httpd is configured to act as a reverse proxy for the IPA Web UI. This allows
# the Web UI to be accessed from different ports and hostnames than the default.
# @param webui_force_https If true, then /etc/httpd/conf.d/ipa-rewrite.conf is modified to force all connections to https.
# This is necessary to allow the WebUI to be accessed behind a reverse proxy when using nonstandard ports.
# @param webui_proxy_external_fqdn The public or external FQDN used to access the IPA Web UI behind the reverse proxy.
# @param webui_proxy_https_port The HTTPS port to use for the reverse proxy. Cannot be 443.
#
......
include ::freeipa
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment