i have been trying find pattern (bcm2708_wdog) in /etc/modules file , if isnt there add bottom. every time try "id dog in sls dog not dictionary". have no idea means. here file:
dog: - file.replace: - name: /etc/modules - pattern: 'bcm2708_wdog' - append_if_not_found: true
it should this:
dog: file.replace: # <--------this line problem. - name: /etc/modules - pattern: 'bcm2708_wdog' - append_if_not_found: true lines beginning "-" denote items in list. in version, you've defined top-level "dog" element list containing dictionary. salt expects straight dictionary instead, hence error.
Comments
Post a Comment