rodjek/puppet-lint — Issue #42: Facter variables are seen as unnamespaced top-level variables
Author: jayed
Created: 2011-12-16 23:47:42+00:00
State: open

Is this expected?

[jayed puppet]$ bin/rake test:lintmod[yum] (<---- just a rake task for puppet-lint on a particular module)
Evaluating ./modules/yum/manifests/init.pp
WARNING: top-scope variable being used without an explicit namespace on line 6

1: class yum::repos {
2: exec{'/usr/bin/yum clean all':
3: subscribe => File['/etc/yum.repos.d/epocrates-local.repo'],
4: }
5:
6: if $operatingsystemrelease =~ /^5/ {
7: package{['yum-fastestmirror', 'yum-metadata-parser', 'yum-updatesd',
8: 'yum-utils']:
9: ensure => installed,
10: }