If you are using PostgreSQL version < 9.3, you may need to adjust the shmmax and shmall kernel parameters to configure the shared memory. Any feedback you can provide regarding the PostgreSQL support will be greatly appreciated. OwnCloud with PostgreSQL may not work properly on some platforms. Warning: When PostgreSQL is used, the database root password will still remain unencrypted in the node attribute due to limitations of the postgresql cookbook. Read the chef-encrypted-attributes gem documentation to learn how to read them. This will create the following encrypted attributes: Include_recipe ' encrypted_attributes::users_data_bag ' This feature is disabled by default, but can be enabled setting the node attribute to true. This cookbook can use the encrypted_attributes cookbook to encrypt the secrets generated during the Chef Run. Then you must proceed with update in the web interface and the system will be updated. If new owncloud version is released and you has notified in web user interface about update available, then you must re-run chef-client on owncloud server.Ĭookbook recipes will download latest release version and install it to server. Examples Basic ownCloud Roleĭescription ' Install ownCloud with a custom SSL certificate from file ' But a remote SMTP server can be used changing node to smtp and setting up the rest of the mail configuration attributes (see example below). If not set, node will be used instead.īy default ownCloud cookbook relies on a local Postfix installation to send emails. The attribute node should be set to the domain name used by the ownCloud installation. When using Chef Solo, these passwords need to be set manually. node (Only when using MySQL or PostgreSQL).On the first run, several passwords will be automatically generated and stored in the node: Database type can be set on node, supported values are mysql, pgsql and sqlite. The back-end database will be MySQL by default, but PostgreSQL and SQLite databases can also be used. OwnCloud package names array for PostgreSQL.Īdd recipe to your node's run list or role, or include it in another cookbook. Surely you want to change them if you want to support new platforms or want to improve the support of some platforms already supported. Some cookbook attributes are used internally to support the different platforms. Whether to encrypt ownCloud attributes containing credential secrets. MySQL root password to access a database instance. Refer to mysql cookbook platform support section. MySQL version to install by the mysql_service LWRP. MySQL database instance name to run by the mysql_service LWRP from the mysql cookbook. Set this to true when using NFS synced folders. Whether to skip settings the permissions of the ownCloud directory. Password to use for sendmail mail, depends on mail_smtpauth if this is used. Username to use for sendmail mail, depends on mail_smtpauth if this is used. Whether authentication is needed to send mail, depends on mail_smtpmode if this is used.Īuthentication type needed to send mail, depends on mail_smtpmode if this is used. SMTP connection prefix or sending mail, depends on mail_smtpmode if this is used. SMTP server timeout in seconds for sending mail, depends on mail_smtpmode if this is used. Port to use for sending mail, depends on mail_smtpmode if this is used. Host to use for sending mail, depends on mail_smtpmode if this is used. Mode to use for sending mail, can be 'sendmail', 'smtp', 'qmail' or 'php'. Prefix for the ownCloud tables in the database. Port the ownCloud database is running at. Password to access the ownCloud database. Type of database, can be 'sqlite', 'mysql' or 'pgsql'. Whether ownCloud should accept requests through TLS. You should set to 'false' if you use NFS or SMB mounts. Whether to enable sendfile on web server. Whether to install Postfix when a local MTA is needed. Sets the server name aliases for the ownCloud virtual host. Sets the server name for the ownCloud virtual host. Root directory defined in the web server where web documents are stored.ĭirectory where ownCloud will be installed.ĭirectory where ownCloud data will be stored. Whether ownCloud should be deployed from the git repository. URL from where ownCloud will be downloaded. You can use the selinux::disabled recipe for that. On RedHat based platforms, you need to disable or configure SELinux correctly. Please, let me know if you use it successfully on any other platform. The following platforms are tested with Test Kitchen: Platform Chef cookbook to install and configure ownCloud, an open source personal cloud for data and file sync, share and view.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |