Class Symbiosis::ConfigFiles::Prosody
In: xmpp/lib/symbiosis/config_files/prosody.rb
Parent: Symbiosis::ConfigFile
Array Utmp EventMachine::Connection ApacheLogger StandardError CrontabFormatError Enumerable IPAddr ::IPAddr Host Range Domain ConfigFile Prosody Tinydns Apache Webalizer Directory IPListDirectory TemplateDirectory Domains Alert Crontab CrontabRecord StateDB Check Runner TCPConnection Test Process BlacklistDB Template Logtail Pattern Ports Blacklist Monitor ConfigFiles Utils Firewall Symbiosis dot/f_0.png

Methods

disable   enable   enabled?   ok?   ssl_config  

Public Instance methods

This disables a site whose configuration is contained in fn. This function makes sure that the site is enabled, before disabling it.

This enables a site by symlinking the self.filename to fn.

If fn is not specified, then self.filename is used, with conf.avail changed to conf.d.

If the force flag is set to true, then any file in the way is removed first.

This checks a site has its config file linked into the conf.d directory. If no filename has been specified, it defaults to self.filename with "conf.avail" transformed to "conf.d".

This function returns true if self.filename is symlinked to fn.

Check config with luac.

Returns the certificate, key, and bundle configuration lines.

This does not have an explicit validation step. That should be handled elsewhere.

[Validate]