Changeset 1118 for opsi


Ignore:
Timestamp:
Nov 12, 2012, 11:43:49 AM (12 years ago)
Author:
slederer
Message:

opsiclient: zwei Methoden hinzugefügt, die vom dassadmin-Opsi-Plugin zum Setzen von Properties genutzt werden

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opsi/server/dass-opsi-tools/usr/bin/opsiclient

    r1117 r1118  
    213213    def getClientProductProperty( self, client, product ):
    214214        return self.rpc.getProductProperties_hash( product, [ client ] )
     215
     216    def setProductPropertiesOnClient( self, dst, product, properties ):
     217        self.rpc.setProductProperties(product,properties,dst)
     218
     219    def setProductPropertyOnClient( self, dst, product, prop, value):
     220        self.rpc.setProductProperty(product,prop,value,dst)
     221
    215222
    216223    def write_client_conf( self, fd, client, properties ):
Note: See TracChangeset for help on using the changeset viewer.