<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello guys,<br>
<br>
answers below:<br>
<br>
Le 27/11/2013 16:08, Francois a écrit :<br>
</div>
<blockquote cite="mid:52960AFD.2000202@normation.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 27/11/2013 12:06, <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Joachim.Setzer@t-systems.com">Joachim.Setzer@t-systems.com</a>
wrote:<br>
</div>
<blockquote
cite="mid:4C440E0F5145424D85E1B63868366FB2AB6A49AF71@HE113506.emea1.cds.t-internal.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
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;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
p.emailquote, li.emailquote, div.emailquote
{mso-style-name:emailquote;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:1.0pt;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
p.sig, li.sig, div.sig
{mso-style-name:sig;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Arial","sans-serif";
color:black;}
p.sigsmall, li.sigsmall, div.sigsmall
{mso-style-name:sigsmall;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:10.0pt;
font-family:"Arial","sans-serif";
color:black;}
span.sig1
{mso-style-name:sig1;
font-family:"Arial","sans-serif";}
span.sigsmall1
{mso-style-name:sigsmall1;
font-family:"Arial","sans-serif";}
span.E-MailFormatvorlage23
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:58209480;
mso-list-template-ids:929231358;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1
{mso-list-id:1128205005;
mso-list-template-ids:-702145192;}
@list l1:level1
{mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-language:EN-US;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027" />
</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"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Dear Francoid.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Thanks for your response<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Yes You understand me right (I will try to
explain my Ideas a little bit more below)</span></p>
</div>
</blockquote>
<br>
Answer in line!<br>
<br>
<blockquote
cite="mid:4C440E0F5145424D85E1B63868366FB2AB6A49AF71@HE113506.emea1.cds.t-internal.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p></o:p></span><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Kind
regards / Mit freundlichen Grüßen <br>
Joachim Setzer </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:fuchsia"
lang="EN-US">T</span><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""
lang="EN-US">-Systems</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""
lang="EN-US"> International GmbH<br>
System Engineer <br>
Application Service Center Standard Software Automotive
+ Manufacturing Industry Application Service Factory,
Technology Line Standard Software</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
Francois Armand [<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="mailto:francois.armand@normation.com">mailto:francois.armand@normation.com</a>]
<br>
<b>Gesendet:</b> Mittwoch, 27. November 2013 11:04<br>
<b>An:</b> Setzer, Joachim; <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><br>
<b>Betreff:</b> Re: [rudder-users] rudder plugin<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">On
26/11/2013 15:43, <a moz-do-not-send="true"
href="mailto:Joachim.Setzer@t-systems.com">Joachim.Setzer@t-systems.com</a>
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Hi
All,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif"">was
anyone a hint (or a tutorial) to extend rudder ?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif"">We
need to check that for example oracle client is
installed in the right version<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif"">For
this fusion-inventory should check if it is installed
in the right version<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif"">For
this we need to extend fusion-inventory, too<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif"">We
also want to have an addition collumn / section at the
host in rudder gui where we see the information about<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Oracle
client installation (path, version, installdate…..)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Can
anyone help ?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Kind
regards / Mit freundlichen Grüßen <br>
Joachim Setzer </span><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-left:35.4pt"><br>
Hello Joachim, <br>
<br>
As I saw your ticket <a moz-do-not-send="true"
href="http://www.rudder-project.org/redmine/issues/4195">http://www.rudder-project.org/redmine/issues/4195</a>,
you are already aware of the plugins in Rudder. And you are
right, contrary to new Techniques, these plugins are
intended to extends Rudder web interface with new
functionnality, or view. <br>
<br>
<span lang="EN-US">For the record, the base plugin example
to build new UI plugin is here: </span><a
moz-do-not-send="true"
href="https://github.com/Normation/rudder-plugin-helloworld/"><span
lang="EN-US">https://github.com/Normation/rudder-plugin-helloworld/</span></a><span
lang="EN-US"><br>
</span><span style="font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span style="color:#1F497D"
lang="EN-US"> I have tried to download and compile it, but
it will not work (In case of this I have opened the
redmine ticket)</span><span lang="EN-US"><br>
</span><span style="color:#1F497D" lang="EN-US">(I hope this
was the correct way ?)</span></p>
</div>
</blockquote>
<br>
We do saw that and it's already corrected in trunk version of each
relevant branches. Thnaks for reporting!<br>
<br>
<blockquote
cite="mid:4C440E0F5145424D85E1B63868366FB2AB6A49AF71@HE113506.emea1.cds.t-internal.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="color:#1F497D" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"><br>
Now, for you case: I f I understand correctly, you wand
to: <o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l1
level1 lfo1"><!--[if !supportLists]--><span lang="EN-US"><span
style="mso-list:Ignore">1.<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]-->add
some more inventory data (oracle client installed version),<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:107.4pt;text-indent:-18.0pt;mso-list:l1
level2 lfo1"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:"Courier
New""><span style="mso-list:Ignore">o<span
style="font:7.0pt "Times New Roman""> </span></span></span><!--[endif]-->that
means extending Fusion Inventory<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">à</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"> yes, right, I did it successfully with your
tips yesterday (thanks again for the hint)</span></p>
</div>
</blockquote>
<br>
Great<br>
<br>
<blockquote
cite="mid:4C440E0F5145424D85E1B63868366FB2AB6A49AF71@HE113506.emea1.cds.t-internal.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l1
level1 lfo1"><!--[if !supportLists]--><span lang="EN-US"><span
style="mso-list:Ignore">2.<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]-->store
that data in Rudder, <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:107.4pt;text-indent:-18.0pt;mso-list:l1
level2 lfo1"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:"Courier
New""><span style="mso-list:Ignore">o<span
style="font:7.0pt "Times New Roman""> </span></span></span><!--[endif]-->that
needs extending the stored inventory information and add the
logic to know how to handle them<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:53.4pt"><span
style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">à</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"> I think so, (I will try to understand the
code) – At the moment I’m new in scala, I nahve perl,
bash, C(++) and Java Knowledge (but I try to learn scala,
too </span><span
style="font-size:11.0pt;font-family:Wingdings;color:#1F497D"
lang="EN-US">J</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">)<br>
</span></p>
</div>
</blockquote>
<br>
<br>
For now, nothing is built-in for easy extension, so when you feel
like you are ready to start that, don't hesitate to ask for help
and description of Rudder internals .<br>
</blockquote>
<br>
Another idea would be to create have a module in fusion inventory
that add <b>oracle-client</b> in the <SOFTWARE> section of
the inventory.<br>
<br>
Rudder would be able to handle those information directly, so you
don't have to modify anything in Rudder inventory process.<br>
<br>
At the moment we use only 4 fields in that structure (NAME, VERSION,
COMMENTS, PUBLISHER), that may more limited than what you need.<br>
<br>
Maybe you could use comments to store some other information you
need.<br>
<br>
After that, you would only have to extends the node details to
display the information about the software you want.<br>
<br>
If that approach pleases you, don't hesitate to ask questions :)<br>
<blockquote cite="mid:52960AFD.2000202@normation.com" type="cite"> <br>
<br>
<blockquote
cite="mid:4C440E0F5145424D85E1B63868366FB2AB6A49AF71@HE113506.emea1.cds.t-internal.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:53.4pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><br>
<o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l1
level1 lfo1"><!--[if !supportLists]--><span lang="EN-US"><span
style="mso-list:Ignore">3.<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]--><span
lang="EN-US">be able to query it so that you can know what
nodes have an oracle client installed, and in which
version,<o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:107.4pt;text-indent:-18.0pt;mso-list:l1
level2 lfo1"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:"Courier
New"" lang="EN-US"><span style="mso-list:Ignore">o<span
style="font:7.0pt "Times New Roman""> </span></span></span><!--[endif]--><span
lang="EN-US">that means extendings the data model to know
how to handle queries on Oracle client</span><span
style="color:#1F497D" lang="EN-US"><br>
</span><span style="font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span style="color:#1F497D"
lang="EN-US"> I found out that only a few attributes where
stored in LDP after rudder gets them from FusionInventory<br>
</span><span style="font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span style="color:#1F497D"
lang="EN-US"> I’m looking for a way to extend this, too</span><span
lang="EN-US"><o:p></o:p></span></p>
</div>
</blockquote>
<br>
Same as the previous point :)<br>
<br>
<blockquote
cite="mid:4C440E0F5145424D85E1B63868366FB2AB6A49AF71@HE113506.emea1.cds.t-internal.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l1
level1 lfo1"><!--[if !supportLists]--><span lang="EN-US"><span
style="mso-list:Ignore">4.<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]-->display
that data on node details<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:107.4pt;text-indent:-18.0pt;mso-list:l1
level2 lfo1"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:"Courier
New"" lang="EN-US"><span style="mso-list:Ignore">o<span
style="font:7.0pt "Times New Roman""> </span></span></span><!--[endif]--><span
lang="EN-US">that is an UI extension, using the precedent
steps<o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"> For this I will need a plugin, is that right
?</span></p>
</div>
</blockquote>
<br>
Yep. <br>
<br>
<blockquote
cite="mid:4C440E0F5145424D85E1B63868366FB2AB6A49AF71@HE113506.emea1.cds.t-internal.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">Unfortunatly, as of today, the plugins
possibility are only on UI extension and displaying
existing datas, not storing new datas along with other
inventory one. Or the data "provisionning" need to be also
handled by the plugin (for example, a plugin building it's
own database from API requests to other software, or
whatever). <br>
</span><span style="font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span style="color:#1F497D"
lang="EN-US"> ok I understand<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"><br>
So you need implies some modification of Rudder internals,
and may be hard - or at least involves quite a bit of
Scala coding, plus understanding of Rudder internal
architecture. If you want to go that path, we will help
you as much as we can, and also try to find way to have
your contributions integrated in Rudder. <br>
</span><span style="font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span style="color:#1F497D"
lang="EN-US"> thanks for your help, I will try to
understand the code first, and later I hope that I can
present a way to fit my requirements<br>
</span><span lang="EN-US"><br>
As that may seems a little deceptive, I still have a
workaround for your use case. </span>It seems that what
you are after (in part, at least) is checking Oracle client
installation compliance with some company rules. And that
clearly looks like a job for Rudder!<br>
<span lang="EN-US">So, I'm thinking that a first step, far
easier and shorter than building the full "oracle client
installation plugin", could be to build a Technique whose
goal would be:</span><span style="color:#1F497D"
lang="EN-US"><br>
</span><span style="font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span style="color:#1F497D"
lang="EN-US"> Yes, I think so, too</span><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l0
level1 lfo2"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:Symbol"><span
style="mso-list:Ignore">·<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]-->to
check oracle client installation (perhaps configurable
installation parameters, like path, etc) <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l0
level1 lfo2"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:Symbol"><span
style="mso-list:Ignore">·<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]-->to
check oracle client version (configurable version)<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l0
level1 lfo2"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:Symbol"><span
style="mso-list:Ignore">·<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]-->optionnally,
to correct bad installation or version with a new
installation or update <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l0
level1 lfo2"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:Symbol" lang="EN-US"><span
style="mso-list:Ignore">·<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]--><span
lang="EN-US">optionnaly, well whatever is needed for your
teams. </span><span style="color:#1F497D" lang="EN-US"><br>
</span><span style="font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span style="color:#1F497D"
lang="EN-US"> I will try to write the required techniques,
Is there an example too, where I can start </span></p>
</div>
</blockquote>
<br>
The standard way to build a technique is to look at an existing
one similar to you need and start hacking from that base.<br>
"motd" Technique is what is the more alike an "hello world". For
your case, you could also look to a Technique installing a
package, like openssh one, to see how it is done, or you could
adapt the "install package" (deb or rpm) one to look how the
version check could be done. <br>
<br>
Finally, that page will give you insight about the "metadata.xml"
file content: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.rudder-project.org/foswiki/Development/TechniqueXML">http://www.rudder-project.org/foswiki/Development/TechniqueXML</a>,
but don't hesitate to look to other entries in <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.rudder-project.org/foswiki/Technique/WebHome">http://www.rudder-project.org/foswiki/Technique/WebHome</a><br>
<br>
Well, and don't hesitate to ask for help !<br>
<br>
<br>
<blockquote
cite="mid:4C440E0F5145424D85E1B63868366FB2AB6A49AF71@HE113506.emea1.cds.t-internal.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:71.4pt;text-indent:-18.0pt;mso-list:l0
level1 lfo2"><span lang="EN-US"><o:p></o:p></span></p>
<p style="margin-left:35.4pt">Given that Technique, you could
create Rules to check that a certain version of Oracle
Client is correctly installed on a given group of nodes. And
the integrated Rudder reporting will display node with
uncorrect installation (and if you want handle the
correction automaticaly). <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-family:Wingdings;color:#1F497D" lang="EN-US">à</span><span
style="color:#1F497D" lang="EN-US"> That sounds very good<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"><br>
Hope it helps and allows to see what alternatives are
available!<br>
</span><span style="font-family:Wingdings;color:#1F497D"
lang="EN-US">à</span><span style="color:#1F497D"
lang="EN-US"> </span><span style="color:#1F497D"
lang="FR">Yes, thanks for your help again<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="FR"></span></p>
<br>
</div>
</blockquote>
<br>
<br>
No problem, it's cool to see new things being attempted with
Rudder!<br>
<br>
<br>
<br>
<div class="moz-signature">-- <br>
Francois</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rudder-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a class="moz-txt-link-freetext" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style type="text/css"><!--
a.redlink:link { color: #962322; text-decoration: none; }
a.redlink:visited { color: #962322; text-decoration: none; }
.sig { font-family: sans-serif; font-size: small; }
.sigsmall { font-family: sans-serif; font-size: x-small; }
--></style>
<table border="0" cellpadding="0" cellspacing="2" width="380">
<tbody>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><b><img alt=""
src="cid:part9.05020109.09080601@normation.com"
align="left" height="50" hspace="10" width="50"> <span
class="sig">Vincent Membré</span></b><br>
<span class="sig"><i>Ingénieur R&D</i></span><br>
<span class="sig"><a class="redlink"
href="http://www.normation.com">Normation</a></span> </td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><span class="sigsmall"><b>87 rue de Turbigo,
75003 Paris, France</b></span></td>
</tr>
<tr>
<td><span class="sigsmall">Telephone:</span></td>
<td><span class="sigsmall">+33 (0)1 84 16 06 00</span></td>
</tr>
<tr>
<td><span class="sigsmall">Mobile:</span></td>
<td><span class="sigsmall">+33 (0)6 10 14 76 78</span></td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>