nextcloud
: Manage NextCloud
nextcloud::base
: Manage Nextcloud base confignextcloud::config
: Manage Nextcloud configurationnextcloud::database
: Manage Nextcloud databasenextcloud::dependencies
: Manage Nextcloud dependenciesnextcloud::wrapper
: Manage Nextcloup wrapper
nextcloud::htaccess
: A short summary of the purpose of this defined type.nextcloud::occ::exec
: Run Nextcloud CLI tool
Nextcloud::Iso3166_1_alpha_2
: ISO 3166-1 alpha-2 codes https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2Nextcloud::Iso639_1
: ISO 639-1 codes https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
app_install
: Install an applicationapp_list
: List appsapp_update
: Update all apps without confirmationapp_update_check
: Show available updates for appsdeploy
: Deploy Nextcloudmaintenance
: Turn on/off maintenance modeocc
: Execute custom occ commandupdate_check
: Check if an update is available usingocc update:check
user_invite
: Invite a user
Manage NextCloud
The following parameters are available in the nextcloud
class:
hostname
database_password
php_version
database_username
database_name
user
group
log_level
trashbin_retention
services_to_restart_after_upgrade
default_language
default_phone_region
Data type: Stdlib::Fqdn
The hostname of the instance
Data type: String[20]
Password for the database
Data type: String[3,3]
Version of PHP to use
Data type: String[1]
Username for the database
Default value: 'nextcloud'
Data type: String[1]
Name of the database
Default value: 'nextcloud'
Data type: String[1]
Owner of the instance files
Default value: 'nextcloud'
Data type: String[1]
Group of the instance files
Default value: $user
Data type: Integer[0, 4]
Log level
Default value: 2
Data type: String[1]
Retention mode for the trash
Default value: 'auto'
Data type: Array[String[1]]
A list of services to notify on update
Default value: []
Data type: Optional[Nextcloud::Iso639_1]
Default language
Default value: undef
Data type: Optional[Nextcloud::Iso3166_1_alpha_2]
Defaulte phone region
Default value: undef
A short summary of the purpose of this defined type.
The following parameters are available in the nextcloud::htaccess
defined type:
Data type: String[1]
Owner of the .htacess file
Data type: String[1]
Group of the .htacess file
Data type: Stdlib::Absolutepath
Path to the .htaccess file
Default value: $name
Run Nextcloud CLI tool
nextcloud::occ::exec { 'enable maintenance mode':
args => 'maintenance:mode --on',
path => '/srv/www/nextcloud.example.com',
user => 'nextcloud',
group => 'nextcloud',
}
The following parameters are available in the nextcloud::occ::exec
defined type:
Data type: Stdlib::Absolutepath
Data type: String[1]
Data type: String[1]
Default value: $user
Data type: String[1]
Default value: $title
Data type: Boolean
Default value: false
Data type: Optional[String[1]]
Default value: undef
ISO 3166-1 alpha-2 codes https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Alias of Pattern[/\A[A-Z][A-Z]\z/]
ISO 639-1 codes https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Alias of Pattern[/\A[a-z][a-z]\Z/]
Install an application
Supports noop? false
Data type: String
Application name to install
List apps
Supports noop? false
Data type: Boolean
Show core Nextcloud apps too
Update all apps without confirmation
Supports noop? false
Show available updates for apps
Supports noop? false
Deploy Nextcloud
Supports noop? false
Data type: String[1]
The version to deploy
Turn on/off maintenance mode
Supports noop? false
Data type: Optional[Enum[on,off]]
Target maintenance mode
Execute custom occ command
Supports noop? false
Data type: String[1]
OCC command
Check if an update is available using occ update:check
Supports noop? false
Invite a user
Supports noop? false
Data type: String[1]
Username used to connect to Nextcloud
Data type: Optional[String[1]]
Display name
Data type: Optional[String[1]]
Group (e.g. 'admin')
Data type: String[1]