puppet: enable --storeconfigs on 2.7

without --storeconfigs it's going to complain alot if you have any imported
resources in your manifests.
This commit is contained in:
Mikael Fridh 2012-02-14 10:15:17 +01:00
parent cb6205254e
commit f4a2433c16

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'