cookbook 'mattermost', '~> 0.2.2'
mattermost (9) Versions 0.2.2 Follow2
Installs/Configures mattermost http://mattermost.com
cookbook 'mattermost', '~> 0.2.2', :supermarket
knife supermarket install mattermost
knife supermarket download mattermost
mattermost
This cookbook installs and configures Mattermost, the opensource Slack alternative.
Platforms:
The following platforms and versions are tested and supported using test-kitchen
- Ubuntu 14.04
Usage
Using this cookbook is relatively straightforward. It is recommended to create a project or organization specific wrapper cookbook and add the desired recipes to the run list of a node. Adjust any attributes (listed below) as desired.
Attributes
All settings are either sane defaults or default settings that come with a fresh installation. Make sure to review all settings and change whats nessisary.
Server Settings
node['mattermost']['package']['url'] = "https://github.com/mattermost/platform/releases/download/v2.0.0/mattermost.tar.gz"
node['mattermost']['package']['checksum'] = "005687c6a8128e1e40d01933f09d7da1a1b70b149a6bef96d923166bc1e7ce8f"
-
node['mattermost']['config']['install_path'] = "/opt"
# installs to /opt/mattermost node['mattermost']['config']['user'] = "mattermost"
node['mattermost']['config']['group'] = "mattermost"
node['mattermost']['config']['data_dir'] = "/mattermost/data"
-
node['mattermost']['config']['server_name'] = "localhost"
Database Settings
-
node['mattermost']['database']['remote'] = false
# If set to true, a local mysql server is not installed node['mattermost']['database']['mysql_root'] = 'password'
node['mattermost']['database']['hostname'] = '127.0.0.1'
node['mattermost']['database']['port'] = 3306
node['mattermost']['database']['database_name'] = 'mattermost'
node['mattermost']['database']['username'] = 'mattermost'
node['mattermost']['database']['password'] = 'password'
Service Settings
node['mattermost']['app']['ListenAddress'] = ":8065"
node['mattermost']['app']['MaximumLoginAttempts'] = 10
node['mattermost']['app']['SegmentDeveloperKey'] = ""
node['mattermost']['app']['GoogleDeveloperKey'] = ""
node['mattermost']['app']['EnableOAuthServiceProvider'] = false
node['mattermost']['app']['EnableIncomingWebhooks'] = false
node['mattermost']['app']['EnableOutgoingWebhooks'] = false
node['mattermost']['app']['EnableCommands'] = false
node['mattermost']['app']['EnableOnlyAdminIntegrations'] = true
node['mattermost']['app']['EnablePostUsernameOverride'] = false
node['mattermost']['app']['EnablePostIconOverride'] = false
node['mattermost']['app']['EnableTesting'] = false
node['mattermost']['app']['EnableDeveloper'] = false
node['mattermost']['app']['EnableSecurityFixAlert'] = true
node['mattermost']['app']['EnableInsecureOutgoingConnections'] = false
node['mattermost']['app']['SessionLengthWebInDays'] = 30
node['mattermost']['app']['SessionLengthMobileInDays'] = 30
node['mattermost']['app']['SessionLengthSSOInDays'] = 30
node['mattermost']['app']['SessionCacheInMinutes'] = 10
TeamSettings
node['mattermost']['app']['SiteName'] = "Mattermost"
node['mattermost']['app']['MaxUsersPerTeam'] = 50
node['mattermost']['app']['EnableTeamCreation'] = true
node['mattermost']['app']['EnableUserCreation'] = true
node['mattermost']['app']['RestrictCreationToDomains'] = ""
node['mattermost']['app']['RestrictTeamNames'] = true
node['mattermost']['app']['EnableTeamListing'] = false
SQL Settings
node['mattermost']['app']['DriverName'] = "mysql"
node['mattermost']['app']['DataSourceReplicas'] = "[]"
node['mattermost']['app']['MaxIdleConns'] = 10
node['mattermost']['app']['MaxOpenConns'] = 10
node['mattermost']['app']['Trace'] = false
node['mattermost']['app']['AtRestEncryptKey'] = "7rAh6iwQCkV4cA1Gsg3fgGOXJAQ43QVg"
LogSettings
node['mattermost']['app']['EnableConsole'] = true
node['mattermost']['app']['ConsoleLevel'] = "DEBUG"
node['mattermost']['app']['EnableFile'] = true
node['mattermost']['app']['FileLevel'] = "INFO"
node['mattermost']['app']['FileFormat'] = ""
node['mattermost']['app']['FileLocation'] = ""
FileSettings
node['mattermost']['app']['File_Driver_Name'] = "local"
node['mattermost']['app']['Directory'] = "./data/"
node['mattermost']['app']['EnablePublicLink'] = true
node['mattermost']['app']['PublicLinkSalt'] = "A705AklYF8MFDOfcwh3I488G8vtLlVip"
node['mattermost']['app']['ThumbnailWidth'] = 120
node['mattermost']['app']['ThumbnailHeight'] = 100
node['mattermost']['app']['PreviewWidth'] = 1024
node['mattermost']['app']['PreviewHeight'] = 0
node['mattermost']['app']['ProfileWidth'] = 128
node['mattermost']['app']['ProfileHeight'] = 128
node['mattermost']['app']['InitialFont'] = "luximbi.ttf"
node['mattermost']['app']['AmazonS3AccessKeyId'] = ""
node['mattermost']['app']['AmazonS3SecretAccessKey'] = ""
node['mattermost']['app']['AmazonS3Bucket'] = ""
node['mattermost']['app']['AmazonS3Region'] = ""
node['mattermost']['app']['AmazonS3Endpoint'] = ""
node['mattermost']['app']['AmazonS3BucketEndpoint'] = ""
node['mattermost']['app']['AmazonS3LocationConstraint'] = false
node['mattermost']['app']['AmazonS3LowercaseBucket'] = false
EmailSettings
node['mattermost']['app']['EnableSignUpWithEmail'] = true
node['mattermost']['app']['EnableSignInWithEmail'] = true
node['mattermost']['app']['EnableSignInWithUsername'] = false
node['mattermost']['app']['SendEmailNotifications'] = false
node['mattermost']['app']['RequireEmailVerification'] = false
node['mattermost']['app']['FeedbackName'] = ""
node['mattermost']['app']['FeedbackEmail'] = ""
node['mattermost']['app']['SMTPUsername'] = ""
node['mattermost']['app']['SMTPPassword'] = ""
node['mattermost']['app']['SMTPServer'] = ""
node['mattermost']['app']['SMTPPort'] = ""
node['mattermost']['app']['ConnectionSecurity'] = ""
node['mattermost']['app']['InviteSalt'] = "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS"
node['mattermost']['app']['PasswordResetSalt'] = "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL"
node['mattermost']['app']['SendPushNotifications'] = false
node['mattermost']['app']['PushNotificationServer'] = ""
RateLimitSettings
node['mattermost']['app']['EnableRateLimiter'] = true
node['mattermost']['app']['PerSec'] = 10
node['mattermost']['app']['MemoryStoreSize'] = 10000
node['mattermost']['app']['VaryByRemoteAddr'] = true
node['mattermost']['app']['VaryByHeader'] = ""
PrivacySettings
node['mattermost']['app']['ShowEmailAddress'] = true
node['mattermost']['app']['ShowFullName'] = true
SupportSettings
node['mattermost']['app']['TermsOfServiceLink'] = "/static/help/terms.html"
node['mattermost']['app']['PrivacyPolicyLink'] = "/static/help/privacy.html"
node['mattermost']['app']['AboutLink'] = "/static/help/about.html"
node['mattermost']['app']['HelpLink'] = "/static/help/help.html"
node['mattermost']['app']['ReportAProblemLink'] = "/static/help/report_problem.html"
node['mattermost']['app']['SupportEmail'] = "feedback@mattermost.com"
GitLabSettings
node['mattermost']['app']['Enable'] = false
node['mattermost']['app']['Secret'] = ""
node['mattermost']['app']['Id'] = ""
node['mattermost']['app']['Scope'] = ""
node['mattermost']['app']['AuthEndpoint'] = ""
node['mattermost']['app']['TokenEndpoint'] = ""
node['mattermost']['app']['UserApiEndpoint'] = ""
License and Authors
- Author:: Kyle Corupe kyle.corupe@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
apt >= 0.0.0 |
ark >= 0.0.0 |
database >= 0.0.0 |
mysql ~> 8.2.0 |
mysql2_chef_gem >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.2 failed this metric
FC066: Ensure chef_version is set in metadata: mattermost/metadata.rb:1
FC069: Ensure standardized license defined in metadata: mattermost/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.2 passed this metric
Testing File Metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.2 failed this metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.2 failed this metric
FC066: Ensure chef_version is set in metadata: mattermost/metadata.rb:1
FC069: Ensure standardized license defined in metadata: mattermost/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.2 passed this metric
Testing File Metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.2 failed this metric
FC069: Ensure standardized license defined in metadata: mattermost/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.2 passed this metric
Testing File Metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.2 failed this metric
0.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number