aboutsummaryrefslogtreecommitdiff
path: root/manifests/sources_list.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-12-07 13:18:41 -0500
committerMicah Anderson <micah@riseup.net>2010-12-07 13:18:41 -0500
commite15283b781f35779a75415725cd315104879aa67 (patch)
treeb40a8779915a1b77b826181ca80de6886b23cba3 /manifests/sources_list.pp
parentbb03c32b4589400bd03d76645db6d8bb869424ed (diff)
downloadpuppet-apt-e15283b781f35779a75415725cd315104879aa67.tar.gz
puppet-apt-e15283b781f35779a75415725cd315104879aa67.tar.bz2
format standardization
Diffstat (limited to 'manifests/sources_list.pp')
-rw-r--r--manifests/sources_list.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/sources_list.pp b/manifests/sources_list.pp
index bbf887a..ff8f21a 100644
--- a/manifests/sources_list.pp
+++ b/manifests/sources_list.pp
@@ -1,8 +1,9 @@
define apt::sources_list (
$ensure = 'present',
$source = '',
- $content = undef
-) {
+ $content = undef )
+{
+
if $source == '' and $content == undef {
fail("One of \$source or \$content must be specified for apt_sources_snippet ${name}")
}