Unrecognised escape sequence '\]' modules/packstack/manifests/nagios/nrpe.pp at line 31

Bug #1654631 reported by Nick Rose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packstack
Incomplete
Undecided
Unassigned

Bug Description

Warning: Unrecognised escape sequence '\]' in file /var/tmp/packstack/63d74c45d5f24113beaf9761a12e8146/modules/packstack/manifests/nagios/nrpe.pp at line 31

    # disk used on /var
    file_line{'df_var':
      path => '/etc/nagios/nrpe.cfg',
      match => 'command\[df_var\]=',
      line => "command[df_var]=df /var/ | sed -re 's/.* ([0-9]+)%.*/\\1/' | grep -E '^[0-9]'",
    } ->

Revision history for this message
Javier Peña (jpena-c) wrote :

I can't reproduce the issue with the latest master code and Puppet 4. Can you provide some details on your test enviroment (OS, Puppet versions)?

Also, we had https://github.com/openstack/packstack/commit/e6c186af7d5d7881e9a196883c1d538c4d01dcbf merged to fix a similar issue, but based on your description it is already applied.

Changed in packstack:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.