Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

puppet-lint-fileserver-check

Build Status

A puppet-lint plugin to check that you use the file() function instead of the Puppet Fileserver.

Checks

Fileserver use

Fileserver use is very slow and for small files (<16KB)

What you have done

file { 'foo':
  ensure => file,
  source => 'puppet:///modules/foo/bar',
}

What you should have done

file { 'foo':
  ensure  => file,
  content => file('foo/bar'),
}

Disabling the check

To disable this check, you can add --no-fileserver-check to your puppet-lint command line.

$ puppet-lint --no-fileserver-check path/to/file.pp

Alternatively, if you’re calling puppet-lint via the Rake task, you should insert the following line to your Rakefile.

PuppetLint.configuration.send('disable_fileserver')

About

No description, website, or topics provided.

Resources

Packages

No packages published

Languages