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

2018-05-16 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 .../puppet/ssl/ca/inventory.

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

2018-05-16 Thread John Warburton
These are held in the CA inventory .../puppet/ssl/ca/inventory.txt See https://ask.puppet.com/question/25818/how-to-manage-size-of-inventorytxt/ for a discussion about cleaning it up, but essentially - delete your test host entries here John On 23 April 2018 at 00:32, Marc Haber wrote: > Hi, >

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

2018-05-16 Thread 程伟
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', source => 'puppet:///files/target_file', path => '/opt/target_file', notify => Fil

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

2018-05-16 Thread Red Cricket
Notice what your error message is ... /opt/seafile/test/seafile-serv er-6.2.5/setup-seafile-mysql.py: Permission denied make sure that /opt/seafile/test/seafile-server-6.2.5/setup-seafile-mysql.py is executable On Wed, May 16, 2018 at 7:50 PM, 程伟 wrote: > > > 在 2018年5月16日星期三 UTC+8下午8:31:53,Joc

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

2018-05-16 Thread 程伟
在 2018年5月16日星期三 UTC+8下午8:31:53,Jochen Haeberle写道: > > Hi, > > I am trying to install seafile with Puppet. Puppet 5.5.1 on Debian 9. > > seafile is installed with an interactive shellscript calling a python > script. I prepared an answer file, which is interactively working fine, up > until wher

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

2018-05-16 Thread Andrew Grimberg
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 like this. I define a node definition that does a hiera lookup to determine what role to a

[Puppet Users] Re: augeas, ntp.conf and iburst

2018-05-16 Thread David Lutterkort
On Tuesday, May 15, 2018 at 2:17:58 PM UTC-7, badmeischter wrote: > > This is an old thread, however I was desperate to find an answer for the > same question and would like to share what I found out > > Am Donnerstag, 13. März 2014 11:04:36 UTC+1 schrieb zerozer...@gmail.com: >> >> On Wednesday

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

2018-05-16 Thread jeffster
John, Arnau -- hank you for your responses. I feel more confident about how to approach organizing my code and how modules are used. cheers! JF -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receivin

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

2018-05-16 Thread jcbollinger
On Tuesday, May 15, 2018 at 4:17:58 PM UTC-5, jeffster wrote: > > Good day all, > > Newbie looking for some insight on how to organize manifests on puppet > master. Simple setup with only a couple of machines to manage. One of my > main sticking point is that according to the literature I've se

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

2018-05-16 Thread Jochen Haeberle
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 prepare an answer file for the setup script, run that and adjust the config on the se

[Puppet Users] python Script with answer file not working

2018-05-16 Thread Jochen Haeberle
Hi, I am trying to install seafile with Puppet. Puppet 5.5.1 on Debian 9. seafile is installed with an interactive shellscript calling a python script. I prepared an answer file, which is interactively working fine, up until where the db password is asked for. The input there is handled differe

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

2018-05-16 Thread Arnau
Hi, my opinion: create modules for everything, even if it's a single file copy. But create something that you can expand in the future. It's quite easy to create a puppet module ( http://fullstack-puppet-docs.readthedocs.io/en/latest/puppet_modules.html) so it will take you 5 minutes to write you

Re: [Puppet Users] converting Hiera v3 to v5 - :merge_behavior: deeper option?

2018-05-16 Thread du
Thanks all for your responses On a closer inspection, it turns out that deep merger indeed works out of the box on v5 without any additional tweaks. (@Henrik - your regex suggestion also works and I can no longer see errors) We are not looking to stick with v3 forever, just wanted to minimise