saltstack / salt-winrepo

Salt Windows Software Package Manager Repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ccleaner.sls breaks winrepo.genrepo

TheBigBear opened this issue · comments

when running winrepo.genrepo it complains about blocks in ccleaner.sls

can you provide cli output on that?

Hi,

Sorry I over-reacted. I had missed a missing “:”. Have fixed it and submitted PR.

Also found similar but milder winrepo.genrepo syntax issues of misaligned blocks in other files. have created PRs for them. All should be well.

On 12 Feb 2015, at 21:06, David Boucha notifications@github.com wrote:

can you provide cli output on that?


Reply to this email directly or view it on GitHub #155 (comment).

Ok, sure, sorry I didn;'t include it. It seemed obvious to e that it was my inexperience with python and keeping things nealty lined up in blocks.

salt-run winrepo.genrepo
Failed to compile /srv/salt/win/repo/salt-winrepo.git/ccleaner.sls: while parsing a block mapping
  in "<string>", line 3, column 5:
        installer: 'http://download.piri ... 
        ^
expected <block end>, but found '<block mapping start>'
  in "<string>", line 4, column 6:
         full_name: 'CCleaner 5.02'
         ^

My PR above fixes this and the winrepo.genrepo complaints go away so I think it fixes #156