Skip to content

Commit

Permalink
fixing lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
liamjbennett committed Jun 5, 2014
1 parent acef485 commit 3a52e30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_class_parameter_defaults')
# http://puppet-lint.com/checks/class_inherits_from_params_class/
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
# http://puppet-lint.com/checks/autoloader_layout/
PuppetLint.configuration.send('disable_autoloader_layout')

exclude_paths = [
"pkg/**/*",
Expand Down
6 changes: 3 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
define sslcertificate($name, $password, $location, $thumbprint, $root_store = 'LocalMachine', $store_dir = 'My') {
validate_re($name, ['^(.)+$'],"Must pass name to ${module_name}\[${title}\]")
validate_re($location, ['^(.)+$'],"Must pass location to ${module_name}\[${title}\]")
validate_re($thumbprint, ['^(.)+$'], "Must pass a certificate thumbprint to ${module_name}\[${title}\]")
validate_re($name, '^(.)+$',"Must pass name to ${module_name}[${title}]")
validate_re($location, '^(.)+$',"Must pass location to ${module_name}[${title}]")
validate_re($thumbprint, '^(.)+$', "Must pass a certificate thumbprint to ${module_name}[${title}]")

if ! defined(File['C:\temp']) {
file { 'C:\temp':
Expand Down

0 comments on commit 3a52e30

Please sign in to comment.