Fixing a couple style discrepancies.

Update a couple minor style things that were noticed while making previous
  changes.
This commit is contained in:
Cody Herriges
2012-05-09 15:47:48 -07:00
parent 30b07259a2
commit d027d35e2d

View File

@@ -13,7 +13,7 @@
# [Remember: No empty lines between comments and class definition] # [Remember: No empty lines between comments and class definition]
class java( class java(
$distribution = 'jdk', $distribution = 'jdk',
$version = 'installed' $version = 'present'
) { ) {
validate_re($distribution, '^jdk$|^jre$|^java.*$') validate_re($distribution, '^jdk$|^jre$|^java.*$')
@@ -51,7 +51,7 @@ class java(
} }
} }
default: { default: {
fail("operatingsystem distribution $lsbdistcodename is not supported") fail("operatingsystem distribution ${lsbdistcodename} is not supported")
} }
} }
@@ -65,7 +65,7 @@ class java(
} }
default: { default: {
fail("operatingsystem $operatingsystem is not supported") fail("operatingsystem ${operatingsystem} is not supported")
} }
} }