Bringing this back to the list... Volkan,
Yes. You should be able to tar the directory from your system and then use the import to put it into a new one. Just put the new files into the right places in the barclamp. It's just files. Chef places the files in the right places based on the cookbooks. If you want to place files then update the cookbook. Here's the path where the eqlx.py file is currently maintained in the Cinder barclamp: https://github.com/crowbar/barclamp-cinder/tree/master/chef/cookbooks/cinder/files/default Once again - please consider getting this change back into upstream so you can get more help on it. Rob From: Satirtav, Volkan Sent: Monday, July 01, 2013 2:49 PM To: Hirschfeld, Rob Subject: RE: How to export a barclamp? Hi Rob, So I can just tar the /opt/dell/barclamps/nova directory and use it later on? There is a functionality called import barclamp under utilities on the crowbar gui, so If I upload that tar file I can use that barclamp there right? Also one other question, there are some library files I copied to the openstack controller node in order for my functions to work in "eqlx.py". Is there any way to integrate that library files in to that tar file as well. Is there any kind of script that could run and copy those libraries to openstack controller node library? Thanks Volkan From: Hirschfeld, Rob Sent: Sunday, June 30, 2013 3:52 PM To: Satirtav, Volkan Subject: RE: How to export a barclamp? Volkan, Nicely done! Assuming you made those changes in the /opt/dell/barclamps/nova directory, then you've got all the files in the right place. You can simply tar them up. I would suggested cloning the nova barclamp from github and making the edits against that. If that looks good, you can submit a pull. If you do that, then your changes could become part of the normal install and you'd get the benefit of other people checking the code. Ideally, the devtool would be the best way to integrate all that. However, you could do it against just the barclamp. Github Barclamp: https://github.com/crowbar/barclamp-nova Devtool: https://github.com/crowbar/barclamp-crowbar/blob/master/doc/devguide/devtool-build.md Rob From: Satirtav, Volkan Sent: Friday, June 28, 2013 2:23 PM To: Hirschfeld, Rob Subject: RE: How to export a barclamp? Rob, I just changed the one of the source files of nova barclamp called "eqlx.py". It was using the ssh to connect to the equallogic array. I changed that so that now it uses snmp commands. In addition to that I have added some new library files to the controller node under /lib. It worked. Now I want to export that new nova barclamp so that I can automate the installation of that new nova barclamp with its changed "eqlx.py" file and additional libraries. How can I do that? Thanks Volkan From: Hirschfeld, Rob Sent: Friday, June 28, 2013 3:14 PM To: Satirtav, Volkan; crowbar Subject: RE: How to export a barclamp? Volkan, What are you trying to accomplish? Are you looking for the Chef/Automation contents or information about the infrastructure or the logs? Some more background would be helpful. Rob From: crowbar-bounces On Behalf Of Satirtav, Volkan Sent: Friday, June 28, 2013 1:43 PM To: crowbar Subject: [Crowbar] How to export a barclamp? Does anybody know how to export a barclamp with all of its files? Thanks Volkan Satirtav
_______________________________________________ Crowbar mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/crowbar For more information: http://crowbar.github.com/
