Giter VIP home page Giter VIP logo

puppet-mediawiki's People

Contributors

aimonb avatar

Watchers

 avatar  avatar  avatar

puppet-mediawiki's Issues

MySQL passwords containing spaces don't work

In my site.pp, I put

db_root_password => 'my awesome diceware password',

I got

Notice: /Stage[main]/Main/Node[hg-mediawiki.ncl.ac.uk]/Mediawiki::Instance[my_wiki1]/Exec[my_wiki1-install_script]/returns: Check the host, username and password and try again.
Error: /usr/bin/php install.php my_wiki1 admin --pass puppet --email [email protected] --server http://test-mediawiki --scriptpath /my_wiki1 --dbtype mysql --dbserver localhost --installdbuser root --installdbpass my awesome diceware password --dbname wiki1 --dbuser wiki1_user --dbpass super_long_password --db-prefix wk --confpath /etc/mediawiki/my_wiki1 --lang en returned 1 instead of one of [0]
Error: /Stage[main]/Main/Node[hg-mediawiki.ncl.ac.uk]/Mediawiki::Instance[my_wiki1]/Exec[my_wiki1-install_script]/returns: change from notrun to 0 failed: /usr/bin/php install.php my_wiki1 admin --pass puppet --email [email protected] --server http://test-mediawiki --scriptpath /my_wiki1 --dbtype mysql --dbserver localhost --installdbuser root --installdbpass my awesome diceware password --dbname wiki1 --dbuser wiki1_user --dbpass super_long_password --db-prefix wk --confpath /etc/mediawiki/my_wiki1 --lang en returned 1 instead of one of [0];

When I replaced with

db_root_password => 'my.awesome.diceware.password',

the wiki installed as expected.

directory name and module name don't match

https://docs.puppet.com/puppet/latest/reference/modules_fundamentals.html#example explains that the module name, folder name, and manifests/init.pp class name must all be identical. When I download the module from Puppet Forge, the directory name I get is nexusis_mediawiki instead of mediawiki. This stops the module from working, but renaming the directory to mediawiki stops puppet module from managing the module. A workaround is to symlink the directory name to the class name as follows:

cd /etc/puppetlabs/code/environments/production/modules
ln -s nexusis_mediawiki/ mediawiki

however, the proper solution is to change the directory name in this repo.

failure with unset smtp variables

In instance.pp, having the $smtp_* variables unset didn't work with my Puppet 4 installation, giving:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Mediawiki::Instance[my_wiki1]:
expects a value for parameter 'smtp_auth'

and similar lines. Making all those entries be false (without quotes) fixed it. I am currently finding out whether I am allowed to publish patches written at work: if I am, I'll submit one.

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.