tohuwabohu / puppet-roundcube Goto Github PK
View Code? Open in Web Editor NEWPuppet module for installing and managing the Roundcube webmail application
License: Apache License 2.0
Puppet module for installing and managing the Roundcube webmail application
License: Apache License 2.0
The is annoying and causes unecessary noise
/etc/cron.daily/roundcube-cleandb:
0 records deleted from 'contacts'
0 records deleted from 'contactgroups'
0 records deleted from 'identities'
I can see the following error in the log file
[01-Sep-2015 10:55:00 Europe/Berlin] PHP Fatal error: Cannot redeclare _PEAR_call_destructors() (previously declared in /opt/roundcubemail-1.1.2/vendor/pear-pear.php.net/PEAR/PEAR.php:735)
in /opt/roundcubemail-1.1.2/vendor/pear/pear-core-minimal/src/PEAR.php on line 777
Digging into the details of composer install --no-dev -vvv
...
- Installing pear/pear-core-minimal (v1.9.5)
Loading from cache
Extracting archive
REASON: pear/mail_mime 1.9.0 requires pear/pear-core-minimal * -> satisfiable by pear/pear-core-minimal[dev-master, v1.10.0alpha2, v1.9.5].
- Installing pear/mail_mime (1.9.0)
Loading from cache
Extracting archive
REASON: Required by root: Install command rule (install pear/mail_mime 1.8.9|install pear/mail_mime 1.9.0|install pear/mail_mime dev-master)
and
- Installing pear-pear.php.net/pear (1.9.5)
Loading from cache
Cleaning up
REASON: pear-pear.php.net/Net_Sieve 1.3.4 required pear-pear.php.net/pear >=1.0.0.0 -> satisfiable by pear-pear.php.net/PEAR[1.9.5, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9.0, 1.9.0RC4, 1.9.0RC3, 1.9.0RC2, 1.9.0RC1, 1.8.1, 1.8.0, 1.8.0RC1, 1.8.0alpha1, 1.7.2, 1.7.1, 1.7.0, 1.7.0RC2, 1.7.0RC1, 1.6.2, 1.6.1, 1.6.0, 1.5.4, 1.5.3, 1.5.2, 1.5.1, 1.5.0, 1.5.0RC3, 1.5.0RC2, 1.5.0RC1, 1.5.0a1, 1.4.11, 1.4.10, 1.4.10RC1, 1.4.9, 1.4.8, 1.4.7, 1.4.6, 1.4.5, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.4.0RC2, 1.4.0RC1, 1.4.0b2, 1.4.0b1, 1.3.6, 1.4.0a12, 1.4.0a11, 1.4.0a10, 1.4.0a9, 1.4.0a8, 1.4.0a7, 1.4.0a6, 1.4.0a5, 1.4.0a4, 1.4.0a3, 1.4.0a2, 1.4.0a1, 1.3.5, 1.3.4, 1.3.3.1, 1.3.3, 1.3.1, 1.3, 1.3b6, 1.3b5, 1.3b3, 1.3b2, 1.3b1, 1.2.1, 1.2, 1.2b5, 1.2b4, 1.2b3, 1.2b2, 1.2b1, 1.1, 1.0.1, 1.0, 1.0b3, 1.0b2, 1.0b1].
So composer installs two pear distributions which work fine until you try to click submit to send an email.
Looking at the roundcubemail-1.1.2-complete archive, I do see a vendor/pear-pear.php.net/PEAR/
directory but no vendor/pear/pear-core-minimal/
. Also the version of pear/mail_mime
shipped by the archive is 1.8.9 which doesn't have the dependency on pear-core-minimal
.
I've recently started getting errors on puppet run:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: Do not run Composer as root/super user! See https://getcomposer.org/root for details
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: In PluginManager.php line 769:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: roundcube/plugin-installer contains a Composer plugin which is blocked by y
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: our allow-plugins config. You may add it to the list if you consider it saf
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: e.
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: You can run "composer config --no-plugins allow-plugins.roundcube/plugin-in
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: staller [true|false]" to enable it (true) or disable it explicitly and supp
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: ress this exception (false)
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: See https://getcomposer.org/allow-plugins
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
Error: 'composer install --no-dev' returned 1 instead of one of [0]
Error: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: change from 'notrun' to ['0'] failed: 'composer install --no-dev' returned 1 instead of one of [0] (corrective)
Would it be possible to run the composer commands with a different user. Probably something like www-data or nobody, and preferably configurable.
Any plans to make this module compatible with current version of concat? Thanks!
i get the following error:
Could not find dependency File[/opt] for Archive[/var/cache/puppet/archives/roundcubemail-1.3.6-complete.tar.gz] at /tmp/vagrant-puppet/modules-c39541f238d7892abe5b5fd1f6535899/roundcube/manifests/install.pp:20
i cannot find the file resource anywhere in the module, is it missing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.