Issue #1827 has been updated by luke.

Status changed from Unreviewed to Closed

If you'd like to pass on the escapes, use \\ to escape the backslash.
----------------------------------------
Bug #1827: Unrecognised escape sequence
http://projects.reductivelabs.com/issues/show/1827

Author: avatar
Status: Closed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.6
Keywords: 


There are rubbish garbiage in the logfile.

Part of config
<pre>
    42      cron { 
    43        ps_collect:
    44          command => "mkdir -p /www/logs/top && ps axo 
stat,pcpu,vsize,rss,ppid,pid,cmd k stat,-pcpu |gzip >/www/logs/top/$(date 
+\%Y\%m\%d\%H\%M).$$",
    45          user => root,
    46          minute => '*/2';
    47        ps_clean:
    48          command => "find /www/logs/top -type f -mtime +3 -exec rm {} 
\;",
    49          user => root,
    50          hour => '6',
    51          minute => '0';
    52      }
    53  }
</pre>
Part of log
<pre>
Fri Dec 19 10:13:58 +0300 2008 Puppet (notice): Reopening log files
Fri Dec 19 10:13:58 +0300 2008 Puppet (notice): Starting Puppet server version 
0.24.6
Fri Dec 19 10:14:45 +0300 2008 Puppet (warning): Unrecognised escape sequence 
'\%' in file /etc/puppet/modules/webrian/manifests/init.pp at line 44
Fri Dec 19 10:14:45 +0300 2008 Puppet (warning): Unrecognised escape sequence 
'\%' in file /etc/puppet/modules/webrian/manifests/init.pp at line 44
Fri Dec 19 10:14:45 +0300 2008 Puppet (warning): Unrecognised escape sequence 
'\%' in file /etc/puppet/modules/webrian/manifests/init.pp at line 44
Fri Dec 19 10:14:45 +0300 2008 Puppet (warning): Unrecognised escape sequence 
'\;' in file /etc/puppet/modules/webrian/manifests/init.pp at line 48
</pre>


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to