Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit 2cbb511

Browse files
committed
Merge pull request #370 from sdodson/fail_on_puppet_lint_warnings
Make puppet-lint warnings failures
2 parents 964be18 + 60b3814 commit 2cbb511

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require 'puppet-syntax/tasks/puppet-syntax'
44

55
# puppet-lint parameters per puppet approved criteria
66
# https://forge.puppetlabs.com/approved/criteria#validation
7-
PuppetLint.configuration.fail_on_warnings
7+
PuppetLint.configuration.fail_on_warnings = true
88
PuppetLint.configuration.send("disable_80chars")
99
PuppetLint.configuration.send("relative")
1010
# http://puppet-lint.com/checks/class_inherits_from_params_class/

manifests/register_dns.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
}
4949
}
5050
} elsif $::openshift_origin::register_host_with_nameserver and $::openshift_origin::bind_krb_principal != '' {
51-
warning "You cannot use register_host_with_nameserver when using GSS-TSIG DNS updates"
52-
fail "You cannot use register_host_with_nameserver when using GSS-TSIG DNS updates"
51+
warning 'You cannot use register_host_with_nameserver when using GSS-TSIG DNS updates'
52+
fail 'You cannot use register_host_with_nameserver when using GSS-TSIG DNS updates'
5353
}
5454

5555
}

0 commit comments

Comments
 (0)