Coder Social home page Coder Social logo

mattermost's Introduction

mattermost's People

Contributors

liger1978 avatar gguillotte avatar

Stargazers

 avatar Dawid Warpas avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

mattermost's Issues

Cannot set SMTPPort ('number' must be 'string')

Hi,
it is not possible with your current setup in config.json.erb set the override_options => EmailSettings => SMTPPort.

When setting this value to 25 it's handled as an number and therefore saved w/o quotes in json. But mattermost expects string here.
Adding the quotes explicitly doesn't work as well, since then they are added twice.

Can't configure SMTPPort because of Data Type

Hello liger1978

I wanted to try your module and I had problems by configuring the SMTPPort in my manifest with the override_option. It seems that augeas wants to have a String there but the Data Type is Number if i want to configure port 25. Can you help me?

Output from error by puppet:
_Debug: Augeas/opt/mattermost-2.0.0/config/config.json: sending command 'set' with params ["/files/opt/mattermost-2.0.0/config/config.json/dict/entry[ . = 'EmailSettings']/dict/entry[ . = 'SMTPPort']", "SMTPPort"]
Debug: Augeas/opt/mattermost-2.0.0/config/config.json: sending command 'set' with params ["/files/opt/mattermost-2.0.0/config/config.json/dict/entry[ . = 'EmailSettings']/dict/entry[ . = 'SMTPPort']/number", "25"]
Debug: Augeas/opt/mattermost-2.0.0/config/config.json: /augeas/files/opt/mattermost-2.0.0/config/config.json/error/lens = /opt/puppetlabs/puppet/share/augeas/lenses/dist/json.aug:41.15-.56:
Debug: Augeas/opt/mattermost-2.0.0/config/config.json: /augeas/files/opt/mattermost-2.0.0/config/config.json/error/message = Failed to match

<>
with tree
{ "string" } { "number" = "25" }
Debug: Augeas/opt/mattermost-2.0.0/config/config.json: Closed the augeas connection
Error: /Stage[main]/Mattermost::Config/Augeas[/opt/mattermost-2.0.0/config/config.json]: Could not evaluate: Saving failed, see debug_

'conf' is declared more than once in init.pp

Thanks for this module. Running it on puppetserver 2.3.1 throws the following error which can be verified in init.pp.

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: The parameter 'conf' is declared more than once in the parameter list at /etc/puppetlabs/code/environments/production/modules/mattermost/manifests/init.pp:16:3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.