[Puppet Users] Re: work on config that does not exist on first run

2018-05-17 Thread jcbollinger
On Wednesday, May 16, 2018 at 7:45:10 AM UTC-5, Jochen Haeberle wrote: > > Hi again, > > as outlined in my last post, I am trying to setup seafile using Puppet > 5.5.1 on Debian 9. > > I am struggling with a script based installation. As a work around, I > tried to separate the steps. I want to

Re: [Puppet Users] python Script with answer file not working

2018-05-17 Thread Karsten Heymann
Am Do., 17. Mai 2018 um 16:07 Uhr schrieb Jochen Haeberle < jochen.haebe...@gmail.com>: > I managed to install seafile by now with a lot of puppet support in three phases: > 1) Puppet: install files, prepare db, generate answer file, print reminder > 2) Manual script run, entering db-password >

Re: [Puppet Users] How to organizing puppet code on the master

2018-05-17 Thread jcbollinger
On Wednesday, May 16, 2018 at 4:51:08 PM UTC-5, Andrew Grimberg wrote: > > I know some folks think this is heresy, but I personally dislike > defining each node in the default manifest. > > I think it's better to drive as much data as possible from hiera as > possible, as such I do it more

Re: [Puppet Users] python Script with answer file not working

2018-05-17 Thread Jochen Haeberle
Hi John, > Am 17.05.2018 um 15:23 schrieb jcbollinger >: > > 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

[Puppet Users] Re: How to create a signal file when the file changes

2018-05-17 Thread jcbollinger
On Wednesday, May 16, 2018 at 10:12:54 PM UTC-5, 程伟 wrote: > > Hi,everyone! > I want to create a signal file when some particular file changes. I find > a syntax called *notify* in puppet docs could realize my need. So I tried > like this: > > file {'target_file': > ensure => 'present', >

Re: [Puppet Users] python Script with answer file not working

2018-05-17 Thread jcbollinger
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

[Puppet Users] Ubuntu 18.04 package

2018-05-17 Thread Angel L. Mateo
Hi, is there any plan to publish puppet-agent package for latest ubuntu 18.04? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 -- You received this

Re: [Puppet Users] python Script with answer file not working

2018-05-17 Thread Jochen Haeberle
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. Greetings Jochen > Am

Re: [Puppet Users] python Script with answer file not working

2018-05-17 Thread Jochen Haeberle
My Bad! While playing around, I produced a typo. The script that should be executed is a .sh, not .py :-( Nevertheless… even on CLI the script does not run with the answer file alone. I have to enter the pw manually, then the automated run continues. Regards Jochen > Am 17.05.2018 um 05:03

Re: [Puppet Users] puppet cert clean cleaning over and over

2018-05-17 Thread Marc Haber
Hi, thanks for helping. I found about puppet cert reinventory a few weeks ago and it solved the issue for me. Sorry for not reporting back any earlier. Greetings Marc On Thu, May 17, 2018 at 02:30:08PM +1000, John Warburton wrote: > These are held in the CA inventory