Tommy, Line 57 of yaml_import.php from the link you provided appears to wipe out the array $yaml_file_array that was populated on line 54. I commented line 57 out and everything worked. Thanks for the hard work. Ernie On Sep 13, 2010, at 11:35 AM, Tommy Botten Jensen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi > > I did an implementation of this using puppets[1] facter[2] for info > gathering. It is sort of limited to fetching objects and importing them. > I haven't had time to implement diff/modification yet. > > http://racktables.svn.sourceforge.net/viewvc/racktables/contribs/yaml_import/ > > If you don't like the yaml/puppet format you still might be able to use > the methods and framework for importing your own lists. > > Best regards, > > Tommy Botten Jensen > > [1] http://www.puppetlabs.com/ > [2] http://www.puppetlabs.com/puppet/related-projects/facter/ > > On 09/13/2010 07:38 PM, abdelmounhim@xxxxxxx wrote: >> Hi all, >> We are using in my entreprise racktables since few months, and this product >> is really great. We would like to add directly (by script) several objects >> (for example servers that are in fact virtual machines). Has someone succeed >> to do this, or do you insert your servers in racktables one by one ? >> >> What would be also great is to be able to update or to delete servers >> automatically. >> >> For information, i tried some sql queries, but it seems not so easy. >> >> Thanks for help > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iF4EAREKAAYFAkyObtwACgkQVJc0NliB5JtvrAD+KoIMP+beEs+hJV2dPKrKrkDg > +Yekao8CoD6PyzeSAMkA/1jRi5BWEA2XbcDtrJWtEcVC5ZzurqRgz+pSosn7wawH > =TrGy > -----END PGP SIGNATURE----- >