summaryrefslogtreecommitdiff
path: root/manifests/fragment.pp
diff options
context:
space:
mode:
authorJan Vansteenkiste <jan@vstone.eu>2012-08-30 12:33:50 +0200
committerJan Vansteenkiste <jan@vstone.eu>2012-08-30 12:33:50 +0200
commit370e60280d74ada1e2ed130034e34bb7955bc929 (patch)
tree7cf362052b91670c0f2982eda57112dc5d984d1d /manifests/fragment.pp
parent7490f60302f0187d306c594d68b30a6d75bc18c8 (diff)
downloadpuppet-concat-370e60280d74ada1e2ed130034e34bb7955bc929.tar.gz
puppet-concat-370e60280d74ada1e2ed130034e34bb7955bc929.tar.bz2
Fixes various puppet-lint warnings.
* ./manifests/init.pp - WARNING: ensure found on line but it's not the first attribute on line 222 * ./manifests/setup.pp - WARNING: selector inside resource block on line 34 * ./manifests/fragment.pp - WARNING: case statement without a default case on line 28
Diffstat (limited to 'manifests/fragment.pp')
-rw-r--r--manifests/fragment.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/fragment.pp b/manifests/fragment.pp
index 908d565..68bfd9b 100644
--- a/manifests/fragment.pp
+++ b/manifests/fragment.pp
@@ -29,6 +29,9 @@ define concat::fragment($target, $content='', $source='', $order=10, $ensure = '
'', 'absent', 'present', 'file', 'directory': {
crit('No content, source or symlink specified')
}
+ default: {
+ #do nothing, make puppet-lint happy.
+ }
}
}
default: { File{ source => $source } }