Node Director
Classes
Package sfi.director.application.scripttask

Classes in this package are expected to be implementations of the ScriptTask interface and will be invoked while executing repository object related events. More...

Classes

class  AppInstallHost
 Install missing applications on a host. More...
class  ApplyDomainTemplate
 Given a domain builder record, slurps the matching template into the database. More...
class  AppRemoveHost
 Remove superfluous applications from a host. More...
class  AppUpgradeHost
 Upgrade applications installed on a host. More...
class  BootStrapDirector
 Install one of the director bootstrap packages on a host. More...
class  BuildDependingDomains
 Given an arbitrary input object search for all domains depending on this object and (re-)build them. More...
class  ChainEvent
 Fire event using the same event environment but only when job becomes runnable. More...
class  ClassMemberApply
 Apply an event to every hosts being member of a host class. More...
class  CollectSysinfo
 Retrieve system information from a host. More...
class  ConfigHost
 config target host respecting sficonfig/sficofigtemplate attributes. More...
class  ConfigureNetwork
 Given a host configures network settings on this host. More...
class  CreateHome
 Create a user's home directory and - optionally - copy in a template. More...
class  CreateHomeDB
 Create user home database. More...
class  CreateReleaseDir
 Create an application release dir. More...
class  CupsDrivers
 List all known CUPS drivers available on a host/group of hosts and write them out into a file. More...
class  D3HostDefine
 Do a Director3 "host_define" for all hosts which have the Director3Managed option set. More...
class  DoAppImport
 Scan a repository for DirectorPackage applications and put them under Director control. More...
class  DoAppInventory
 Retrieve an application inventory from a host. More...
class  DomainBuild
 Build DS domain. More...
class  DomainDepends
 Determine dependencies in a directorDomainBuilder group. More...
class  EmulateRoot
 Temporarily add system root user to the people database and remove it after a few secs. More...
class  FireEvent
 Fire an event. More...
class  FreezeApplication
 Freeze an application. More...
class  GroupOfMembers
 translate memberuid attribute into a member attribute using GroupOfMembers semantics * More...
class  INFAppModules
 Subscribe a host to all applications which are already installed on the host but the host is not subscribed to yet. More...
class  InjectUserSettings
 Inject user settings in .natural/config ... More...
class  PublishApplication
 Publish application packages. More...
class  ReloadService
 Given a host and a Domain Builder record with appropriate domain template configuration, reloads/restarts the corresponding service. More...
class  RemoveUserRef
 Remove user references from Groups or Mailgroups. More...
class  Report
 Generate Report. More...
class  RepositoryScan
 Scan a repository for application packages and update the package database. More...
class  ResolveDependencies
 Change user password in .director/credentials file. More...
class  ScheduleBuildDependingDomains
 Given an arbitrary input object send a "dsupdate" command to the admin server so that it updates all the depending domains. More...
class  SetHostIP
 set vphysicalhost More...
class  SetServerPassword
 Change user password in .director/credentials file. More...
class  SetUserRef
 change membership in mailgroup/unix groups for a given user More...
class  SetVHost
 set vphysicalhost More...
class  Shell
 Run a shell command on a destination host. More...
class  StoreAsDBChoice
 Read a file line by line and store it as a DBChoice object. More...
class  SubscribeApps
 Subscribe a host to all applications which are already installed on the host but the host is not subscribed to yet. More...
class  UpdateDomainsFor
 Update domains for a single host. More...
class  WakeOnLan
 Given a host configures network settings on this host. More...
class  ZoneUpdated
 Given a host and a Domain Builder record with appropriate 'dnszone' template configuration, update the zone serial and reload the server if necessary. More...

Detailed Description

Classes in this package are expected to be implementations of the ScriptTask interface and will be invoked while executing repository object related events.

The sfi.director.application.objevents package implements a simple scripting language describing the actions taken when applying events to objects.

ScriptTask classes implement the atomic functions that can be used in Scripts. The classes in this package are found by EventEnvironment via their class name and package and instantiated during execution of events.