Harmless puppet warning about unrecognized escape sequence '\+'
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/
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 |