<div dir="ltr">The current setup would have each individual configure custom boxes to suit their needs. If there was a fairly common setup for location of source code and mount options we could update the source boxes or create a set of boxes designed for mounting by default to make spinning up easier.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 4, 2019 at 4:58 PM Dennis Kliban <<a href="mailto:dkliban@redhat.com">dkliban@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Brian! This looks like exactly what we need. <br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 4, 2019 at 4:54 PM Brian Bouterse <<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>pulplift itself relies heavily on "forklift" which itself has some good docs. Take a look at these docs and see if it generates new questions.</div><div><br></div><div><a href="https://github.com/theforeman/forklift#using-sshfs-to-share-folders" target="_blank">https://github.com/theforeman/forklift#using-sshfs-to-share-folders</a></div><div><a href="https://github.com/theforeman/forklift#adding-custom-boxes" target="_blank">https://github.com/theforeman/forklift#adding-custom-boxes</a></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 4, 2019 at 4:49 PM Dennis Kliban <<a href="mailto:dkliban@redhat.com" target="_blank">dkliban@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>We currently use Vagrant directly to create our development environment[0]. I would like to be able to use pulplift to create a development environment for Pulp 3. Our current Vagrantfile uses SSHFS to mount source code on the host onto the vagrant box[1]. This allows developers to make changes locally on their laptop and the same code to run inside the vagrant box. <br></div><div><br></div><div>pulplift already provides boxes named 'pulp3-source-*'. These boxes use a playbook[2] from ansible-pulp3 repo to perform the installation. By default, this playbook assumes that the vagrant box has pulp source code at <span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-s"><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-pds">"</span>/home/vagrant/devel/pulp<span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-pds">". However, without the synced folders, the  source code is not there and the install fails. <br></span></span></div><div><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-s"><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-pds"><br></span></span></div><div><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-s"><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-pds">I would like to extend pulplift to use synced folders for the source install boxes. However, I am not sure where to add such directives for vagrant. <br></span></span></div><div><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-s"><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-pds"><br></span></span></div><div><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-s"><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-pds">Eric, can you point me in the right direction?<br></span></span></div><div><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-s"><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-pds"><br></span></span></div><div><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-s"><span class="gmail-m_-4410176735005761555gmail-m_-2377162943106830606gmail-m_-7792641787673315613gmail-pl-pds"><br></span></span></div><div></div><div>[0] <a href="https://github.com/pulp/devel/blob/master/Vagrantfile.example" target="_blank">https://github.com/pulp/devel/blob/master/Vagrantfile.example</a></div><div>[1] <a href="https://github.com/pulp/devel/blob/master/Vagrantfile.example#L8" target="_blank">https://github.com/pulp/devel/blob/master/Vagrantfile.example#L8</a><br></div><div>[2] <a href="https://github.com/pulp/ansible-pulp3/blob/master/source-install.yml" target="_blank">https://github.com/pulp/ansible-pulp3/blob/master/source-install.yml</a><br></div><br></div></div></div></div>
_______________________________________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-dev</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>