Compile old node.pp while the file is exactly refreshed

asked 2016-05-19 21:36:18 -0500

dancewind gravatar image

updated 2016-05-21 01:16:19 -0500

ramindk gravatar image

There was a weird situation happened in our production environment. (puppet open source version 3.6.2) We have updated the deployed server script

[user@master#]ll --full-time ~/puppet/manifests/nodes/f15mtcs050.pp
-rw-rw-r-- 1 paas_ap paas_ap 523 2016-05-18 18:26:04.062876109 +0800 /userap/paas_ap//puppet/manifests/nodes/f15mtcs050.pp

with following contents

node 'f15mtcs050' {
  $fab_alias="null"
  include tihiv2
}

However, the execution log shows that it compiles the old contents (which was "include tcsg03")
[user@master#]sudo vim /var/log/messages to see the compiled procedure and found that....

May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\E' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 4
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\E' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 5
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\T' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 5
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\E' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 6
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\T' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 6
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\b' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 6
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\E' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 7
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\T' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 7
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\c' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 7
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\E' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 8
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\T' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 8
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\i' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 8
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\E' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 9
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\T' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 9
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\l' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 9
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape sequence '\E' in file /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp at line 10
May 18 18:26:17 f15mtapl01 puppet-master[4682]: Unrecognised escape ...
(more)
edit retag flag offensive close merge delete

Comments

Can you update with the content of /userap/paas_ap/puppet/modules/tcsg03/manifests/init.pp - thanks.

Alex Harvey gravatar imageAlex Harvey ( 2016-05-21 01:23:08 -0500 )edit