Merge pull request #172 from frimik/puppet-storeconfigs

puppet: enable --storeconfigs on 2.7
This commit is contained in:
Martin Grenfell 2012-02-14 01:27:17 -08:00
commit 08d30dfa43

View File

@ -32,7 +32,8 @@ function! SyntaxCheckers_puppet_GetLocList()
if s:puppetVersion[0] >= '2' && s:puppetVersion[1] >= '7'
let makeprg = 'puppet parser validate ' .
\ shellescape(expand('%')) .
\ ' --color=false'
\ ' --color=false' .
\ ' --storeconfigs'
"add --ignoreimport for versions < 2.7.10
if s:puppetVersion[2] < '10'