<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 27/02/2013 14:55, Le Haies Cyrille wrote:
<blockquote
cite="mid:29C8D3D8A0B2E2429F63416026DAF95BED31C8EE@daru1"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Pr\00E9format\00E9 HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PrformatHTMLCar
{mso-style-name:"Pr\00E9format\00E9 HTML Car";
mso-style-priority:99;
mso-style-link:"Pr\00E9format\00E9 HTML";
font-family:"Courier New";
mso-fareast-language:FR;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I use directive « Download a file from a
shared folder » to install my server.<o:p></o:p></p>
<p class="MsoNormal">I download archive and compil it with a
series of instructions in « post-modification ».<o:p></o:p></p>
<p class="MsoNormal">But when i installed a new serveur with
only rudder-agent, the archive are download and the
post-modification instruction are not executed, i deleted my
archive on my new server and execute
<span style="font-size:10.0pt;font-family:"Courier
New";mso-fareast-language:FR">
/var/rudder/cfengine-community/bin/cf-agent –KI and </span> it’s
works<o:p></o:p></p>
<p class="MsoNormal">Can i have a log file when rudder-agent
work automatically the same when i run
<tt><span style="font-size:10.0pt">/var/rudder/cfengine-community/bin/cf-agent
–KI
</span></tt>?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cyrille</p>
</div>
</blockquote>
<br>
Hello Cyrille,<br>
<br>
This bug is quite annoying. You are sure that Rudder didn't execute
the command in the first time ?<br>
There are no way to get a log like what you get when you run
cf-agent -KI, since the I is a manual modifier to run it in "Inform"
mode. However, you can access to the Technical log on the node
screen, which shows the last 1000 reports from the agent (and you
can search within). If it's not sufficient, you may also have a look
to /var/rudder/cfengine-community/outputs, which contains
timestamped output of all the CFEngine runs<br>
<br>
Does it answer your need ?<br>
Nicolas<br>
</body>
</html>