On Thursday, May 17, 2018 at 2:17:05 AM UTC-5, Jochen Haeberle wrote:
>
> Thanks! There was an error in the resource. Should be 
> setup-seafile-mysql.sh. (not .py)
>
> But it does not work anyway :-/
>
> even on cli, execution of the script with the answer file stops at the pw 
> enter. After manually entering the pw, the automated execution continues.
>
>
It sounds very much like the script is reading the PW directly from the 
terminal, which is not so uncommon for reading passwords in an interactive 
session.  But it does not play well with non-interactive use.

If it is available, by far the easiest and most robust way to install 
almost any software -- puppet or no puppet -- is via an installation 
package for your system's particular package management system.  I.e. an 
RPM on RedHat-family and some other Linuxes, a DEB on Debian-family 
Linuxes, etc..  Ideally, the package provider puts it in a package 
repository, but there are ways to handle it even if they don't.    It looks 
like there may even be official Debian packages for Seafile 
<http://ftp.debian.org/debian/pool/main/s/seafile-client/> (I googled 
"seafile deb"), so I would definitely look in that direction.

If there is indeed a suitable package or packages, then probably the usual 
package / config [/ service] model for a corresponding Puppet module will 
work just fine.  Any way around, it doesn't sound like you'll be able to 
use the installation script without modification.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1336589d-9c42-4db9-887d-7723d21098e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to