search for: add_property

Displaying 4 results from an estimated 4 matches for "add_property".

2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
...+ + def get_login_user + return "ovirtadmin" + end +end + + +class Ovirt + + TABLE_ID = 1 + + def initialize(agent, logger) + + @agent = agent + @logger = logger + + @ovirt_class = Qmf::SchemaObjectClass.new("org.ovirt.ovirt", "Ovirt") + @ovirt_class.add_property(Qmf::SchemaProperty.new("version", Qmf::TYPE_SSTR, :access => Qmf::ACCESS_READ_CREATE, :desc => "Ovirt version string")) + + method = Qmf::SchemaMethod.new("create_vm_def", :desc => "Define a new virtual machine definition.") + method.add_argum...
2008 Mar 05
0
Overloaded has_many_polymorphs method is still being called
I have a has_many_polymorphs class called Property. For the various classes that are polymorphs, i''ve written a module with methods relating to Property, that they can all include. One of my methods is called ''add_properties'': it creates some new associations, but also does a couple of other things (such as update the object''s ferret index, and return a
2011 Aug 09
1
HP-UX user resource and shared homedir
Hi, on HP-UX we want some users to have the same homedir. Homedir is managed by puppet as file resource. We now want to move the users to another primary group. useradd.sam complains: err: /User[XXX]/gid: change from 3 to 0 failed: Could not set gid on user[XXX]: Execution of ''/usr/sam/lbin/usermod.sam -F -g 0 XXX'' returned 45: Cannot modify user ''XXX'':
2005 Aug 04
12
Sortable table
...;beds" size="8"></td> <td><input type="text" id="baths" name="baths" size="8"></td> </tr> <tr><td colspan="3" align="right"><input type="button" onClick="add_property()" /></td></tr> </tbody> </table> LJ Kyser