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:
parent
cb6205254e
commit
f4a2433c16
@ -32,7 +32,8 @@ function! SyntaxCheckers_puppet_GetLocList()
|
|||||||
if s:puppetVersion[0] >= '2' && s:puppetVersion[1] >= '7'
|
if s:puppetVersion[0] >= '2' && s:puppetVersion[1] >= '7'
|
||||||
let makeprg = 'puppet parser validate ' .
|
let makeprg = 'puppet parser validate ' .
|
||||||
\ shellescape(expand('%')) .
|
\ shellescape(expand('%')) .
|
||||||
\ ' --color=false'
|
\ ' --color=false' .
|
||||||
|
\ ' --storeconfigs'
|
||||||
|
|
||||||
"add --ignoreimport for versions < 2.7.10
|
"add --ignoreimport for versions < 2.7.10
|
||||||
if s:puppetVersion[2] < '10'
|
if s:puppetVersion[2] < '10'
|
||||||
|
Loading…
Reference in New Issue
Block a user