summaryrefslogtreecommitdiffstats
path: root/puppet/modules/cpan
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-07-18 15:08:24 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2012-07-19 00:44:01 +0200
commitc86c55461a373092d38e62637d5386732685175a (patch)
treec2e4fe5a5832956e6f112ac2e90e3af9585245f7 /puppet/modules/cpan
parent81706b1b67739eccdb3b96946a589597b27a1db7 (diff)
Removed unnecessary and harmful "import *"
This is unnecessary at least since puppet 2.6; as long as the .pp files are named matching the module names, puppet will find the files automatically. This is harmful when attempting to use 'puppet parser validate', which will complain about the init.pp files including themselves. Change-Id: I858bdf4d469c82993f839b618b1d0395b89ce7e1 Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'puppet/modules/cpan')
-rw-r--r--puppet/modules/cpan/manifests/init.pp2
1 files changed, 0 insertions, 2 deletions
diff --git a/puppet/modules/cpan/manifests/init.pp b/puppet/modules/cpan/manifests/init.pp
index 66f5f54..40d786b 100644
--- a/puppet/modules/cpan/manifests/init.pp
+++ b/puppet/modules/cpan/manifests/init.pp
@@ -1,5 +1,3 @@
-import "*"
-
class cpan {
case $operatingsystem {
CentOS: { include cpan::centos }