saltstack-formulas / ntp-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
23 stars 158 forks source link

jinja rendering issues #5

Closed techdragon closed 9 years ago

techdragon commented 10 years ago
    Data failed to compile:
----------
    Rendering SLS ntp failed, render error: expected token ',', got ':'; line 12 in template:

I had to strip back init.sls to

ntp:
  pkg:
    - installed

ntpd_conf:
  file.managed:
    - name: /etc/ntp.conf
    - source: salt://ntp/ntp-client.conf
    - require:
      - pkg: ntp

before it would render.

whiteinge commented 10 years ago

Odd error. I can't seem to reproduce. What version of salt is your minion on?

techdragon commented 10 years ago

salt --version salt 0.17.2

whiteinge commented 10 years ago

Can you tell me what OS you're running? I'll spin up a VM and try to reproduce there. Also do you have any ntp values in your Pillar?

gravyboat commented 10 years ago

@techdragon Are you still encountering this or can we close the issue?

techdragon commented 9 years ago

@gravyboat I'm unable to test this properly as I swapped to using a different approach to the problem. Feel free to close due to not having a test case to work with.