Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(config_ini): added quotes to regex tabs pattern #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 22, 2023

  1. fix(config_ini): added quotes to regex tabs pattern

    With Salt-Master 3005.1 and Salt-Minion on 3006.1, both on Debian 11, the unquoted tab was being parsed as part of the yaml structure and throwing the following error:
    
    
    local:
        Data failed to compile:
    ----------
        Rendering SLS 'base:openssh.config_ini' failed: Illegal tab character; line 8
    
    ---
    [...]
    include:
      - openssh
    sshd_config-with-ini:
      file.replace:
        - name: /etc/ssh/sshd_config
        - pattern: ^(\w+)	+(\w)    <======================
        - repl: '\1 \2'
        - show_changes: True
        - require_in:
          - ini: sshd_config-with-ini
    
    [...]
    ---
    nunesvn authored May 22, 2023
    Configuration menu
    Copy the full SHA
    888c5f1 View commit details
    Browse the repository at this point in the history