<div dir="ltr">Hi Neils,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 5, 2016 at 4:06 PM, Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Sac,<br>
<br>
I&#39;ve tried to use gdeploy to install Gluster on CentOS and wanted to<br>
setup NFS-Ganesha with it. However I&#39;m stuck with the initial steps that<br>
I would not want to do manually on each of the systems. Could you<br>
explain me how this is can be done with gdeploy?<br>
<br>
In the examples there is package.conf [1] that mentions repositories.<br>
How can I make it do these two steps:<br>
<br>
 1. install the centos-release-gluster RPM<br>
    This RPM contains the YUM .repo file that enables the repository<br></blockquote><div><br></div><div>When you say you have the rpm, is it that you have the rpm file on your disk some where</div><div>or you have the url to rpm? If you have url to the rpm you can provide it in the package </div><div>name.</div><div><br></div>[hosts] </div><div class="gmail_quote">10.70.46.13 </div><div class="gmail_quote">10.70.46.14 </div><div class="gmail_quote">10.70.46.15</div><div class="gmail_quote"><br></div><div class="gmail_quote">[yum1] </div><div class="gmail_quote">action=install </div><div class="gmail_quote">repos= </div><div class="gmail_quote">packages=&lt;url to package&gt;<br><br>[yum2]<br>repos=<br>action=install<br>packages=glusterfs,glusterfs-server, ... <div><br></div><div><br></div><div>Let us say you have the rpmfile on your disk and want to copy to remote nodes and install:</div><div><br></div><div><div class="gmail_quote">[hosts] </div><div class="gmail_quote">10.70.46.13 </div><div class="gmail_quote">10.70.46.14 </div><div class="gmail_quote">10.70.46.15</div><div class="gmail_quote"><br></div><div class="gmail_quote">[update-file] </div><div class="gmail_quote">action=copy </div><div class="gmail_quote">src=&lt;file on your disk&gt;</div><div class="gmail_quote">dest=/tmp/</div><div class="gmail_quote"><br></div><div class="gmail_quote">[shell1]<br>action=execute<br></div></div><div class="gmail_quote">command=yum install -y /tmp/rpmname --enablerepo=repoidglob</div><div> </div><div>-sac</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
 2. install glusterfs-server from the newly added YUM repo<br>
<br>
 3. install nfs-ganesha-gluster from the (disabled by default)<br>
    centos-gluster38-test repository (also in the .repo file from 1.)<br>
<br>
<br>
Also, is there any progress on packaging gdeploy for Fedora and the<br>
Storage SIG?<br>
<br></blockquote><div><br></div><div>Anoop CS answered this :-)</div><div><br></div><div>-sac</div></div></div></div>