Harmless puppet warning about unrecognized escape sequence '\+'

Bug #1238118 reported by Mark T. Voelker
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cisco Openstack
Triaged
Wishlist
Unassigned

Bug Description

As part of the provisioning process we run a few tasks in the late_command of the preseed file. These as shell commands that get executed on the host after the base operating system is installed but before it boots for the first time. A recent feature added a sed command to the list which contains a regular expression. Multiple levels of shell escapes are needed, and Puppet gets concerned about one of them and issues this warning:

warning: Unrecognised escape sequence '\+' in file /etc/puppet/manifests/cobbler-node.pp at line 66

However, the right commands do get written and the expected commands get executed properly. The warning is harmless, but it may raise some eyebrows from astute users. It would be nice to find a different iteration of this command that doesn't throw a warning. In the longer run: debugging inline shell code is a pain in the neck anyway so we should probably be writing a real file and have late_command download and run it.

Changed in openstack-cisco:
status: New → Triaged
importance: Undecided → Wishlist
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.