Re: [Puppet Users] Foreman 1.19 > Puppet (5.5.6) > Centos 7: "certificate has expired for /CN=Puppet CA".

2022-09-28 Thread Andreas Ntaflos
On 28.09.22 23:52, JB SysAdmin wrote: I followed a combination of what I saw: On puppet master: rm -rf /etc/puppetlabs/puppetdb/ssl puppetserver ca generate --config /etc/puppetlabs/puppet/puppet.conf puppet master --no-daemonize --verbose puppet resource service puppetserver ensure=running pup

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-29 Thread Andreas Ntaflos
On 28.09.19 12:15, Martin Alfke wrote: > Hi Dirk, > > you are including class accounts within node default classification. > The accounts module does not do anything unless you add data to it. > > Please look at https://github.com/puppetlabs/puppetlabs-accounts and check if > the following examp

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Andreas Ntaflos
On 27.09.19 18:11, Dan Crisp wrote: > Thanks for the reply John, > > The issue still persists unfortunately. > > I've ensured that Selinux isn't enforcing on both the server side and > client and then restarted the Puppet service on the master server.  The > server logs whilst running the agent r

[Puppet Users] Re: troubleshooting collected resources, how to.

2018-12-17 Thread Andreas Ntaflos
On Monday, 17 December 2018 21:20:12 UTC+1, Trey Ormsbee wrote: > > I'm having a problem with a node not collecting resources. I have never > really had any issues before so never needed to troubleshoot this and Im > not sure where to look. > > Issue: > I have a node that exports a resource wi

Re: [Puppet Users] Is there a more elegant way of declaring this variable and its value?

2015-10-06 Thread Andreas Ntaflos
On 2015-10-05 17:51, Fabien Delpierre wrote: > Hey folks, > I have something like this in a manifest: > > class foo( > $python_pips = { > pbr => { ensure => '1.3.0', install_args => ['-I'] }, > linecache2 => { ensure => '1.0.0', install_args => ['-I'] }, > elasticsearch => { ensure

Re: [Puppet Users] Access to apt.puppetlabs.com slow for some IP addresses

2014-08-09 Thread Andreas Ntaflos
On 2014-08-06 11:11, Johannes Grassler wrote: > Hello, > > we are currently creating and tearing down lots of VMs in our lab > environment. This includes retrieving and installing Puppet from the > Puppetlabs repository at apt.puppetlabs.com. Not an answer to your question directly, but for lab

Re: [Puppet Users] Puppet 3.6.2: force manifests reload

2014-07-26 Thread Andreas Ntaflos
On 2014-07-26 18:46, Sergey Arlashin wrote: > Hi! > I'm using webrick based puppetmaster. After upgrading to 3.6.x I noticed that > when I alter some of my manifests or templates puppet continues to apply the > old set of manifests. Puppet agents behave like there are no changes at all. > It usu

Re: [Puppet Users] Facter resolved to an invalid value

2014-05-13 Thread Andreas Ntaflos
On 2014-05-13 16:34, Viktor Jevdokimov wrote: > On some CentOS servers we started to receive an error: > > Fact resolution fact='env', resolution='' resolved to an > invalid value: Expected prod to be one of [Integer, Float, TrueClass, > FalseClass, NilClass, String, Array, Hash], but was Symbol

Re: [Puppet Users] Hiera.yaml not interpolate variables

2014-05-10 Thread Andreas Ntaflos
On 2014-05-08 17:21, Israel Calvete wrote: > Hi, > > This is my hiera config. > > /---/ > /:backends: - yaml/ > /:hierarchy: - %{::environment}/ > /- common/ You must use double quotes when you want interpolation to work. See http://docs.puppetlabs.com/hiera/1/variables.html#interpol

Re: [Puppet Users] Overriding specific values within a Hiera hash

2014-05-02 Thread Andreas Ntaflos
On 2014-05-03 00:40, Matthew Burgess wrote: > On 2 May 2014 23:04, Andreas Ntaflos <mailto:d...@pseudoterminal.org>> wrote: > > Sound like you want to install deep-merge (packaged by Puppetlabs for > Debian as "ruby-deep-merge" and for RedHat as "ruby

Re: [Puppet Users] Overriding specific values within a Hiera hash

2014-05-02 Thread Andreas Ntaflos
On 2014-05-02 23:57, Matthew Burgess wrote: > Hi all, > > This is probably a real newbie question, but I'm having trouble > overriding a value in Hiera that is defined in my common.yaml in a more > specific role-based yaml file: > [...] > > Is it possible to only override the size parameter of t

Re: [Puppet Users] How to check a text file for a certain line?

2014-04-21 Thread Andreas Ntaflos
On 2014-04-22 00:10, Joachim Schrod wrote: > On 04/21/14 19:42, Kenton Brede wrote: >> Look into using "file_line," it's part of stdlib. >> >> https://forge.puppetlabs.com/puppetlabs/stdlib > > Hmm, I don't detect any documentation of file_line at that URL. > > Could you post another link with do

Re: [Puppet Users] Re: Can ERB templates be used to process hashes of arbitrary depth?

2014-04-08 Thread Andreas Ntaflos
John, thank you very much for the most informative reply. On 2014-04-08 16:31, jcbollinger wrote: > Actually, no, sorting the keys is a primary concern because otherwise > the computed content may not be stable, which could cause Puppet to > needlessly update the file. By that statement I meant

[Puppet Users] Can ERB templates be used to process hashes of arbitrary depth?

2014-04-07 Thread Andreas Ntaflos
Hi list, I am in the process of writing a module to manage strongSwan, an IKE keying daemon for IPsec VPNs on Linux [1]. The strongSwan daemon's (charon) configuration file is basically formatted like a hash, with sections containing key-value pairs that may themselves contain further sections [2]

Re: [Puppet Users] Announce: Facter 2.0.1

2014-04-02 Thread Andreas Ntaflos
On 2014-04-02 11:02, DjE wrote: > The issue (-d does not provide more informations) : > facter -p > undefined method `puppetversion' for Facter:Module Something like this can also happen when you have a custom fact (or function?) that calls the Facter API in a now defunct way. For example, we had

Re: [Puppet Users] Puppet require - failure handling

2014-01-05 Thread Andreas Ntaflos
On 2014-01-05 11:37, Jose Luis Ledesma wrote: There is not after or before when puppet applies a manifest if there are not dependencies explicitly declared. In the example you have written mysql and apache will be applied in no particular order between them, but will be implemented both before

Re: [Puppet Users] Puppet and scripts.

2013-11-21 Thread Andreas Ntaflos
On 2013-11-21 19:08, Daniel Lyons wrote: > We've got a decently complicated .sh script used to set up oracle > database, inlcuding partioning and the like. If I attempt to run it > through puppet the script will end after 300 seconds as timed out. To > test a simpler case I just made a little scrip

Re: [Puppet Users] Re: puppetdb, foreman, one particular node has a problem

2013-10-16 Thread Andreas Ntaflos
On 2013-10-16 10:07, Steve Wray wrote: > It turned out that there was an update to the foreman package which > completely broke Puppets ability to enroll new nodes. > > Call me old fashioned, I've been a Debian sysadmin for over 10 years, > but on a 'stable' system an apt-get upgrade is not suppos

Re: [Puppet Users] Re: Packages for Ubuntu 13.04 (raring)

2013-06-14 Thread Andreas Ntaflos
On 2013-06-14 01:49, Vlad wrote: > Any news about the packages for Raring? I've opened a bug report for this: http://projects.puppetlabs.com/issues/21242 No feedback yet. Andreas signature.asc Description: OpenPGP digital signature

[Puppet Users] Packages for Ubuntu 13.04 (raring)

2013-06-10 Thread Andreas Ntaflos
It seems there are no packages available for Ubuntu 13.04. There is a puppetlabs-release package for raring, but except for that the directory http://apt.puppetlabs.com/pool/raring/main/p/ is empty. I see no packages anywhere else for 13.04, only the ones in the official Ubuntu repos. This doe

Re: [Puppet Users] Puppet 3.2.1 default log level change?

2013-05-27 Thread Andreas Ntaflos
On 27/05/13 11:20, Matthias Saou wrote: Hi, The replies to the 3.2.1 release announcement seem to indicate I'm not the only one to have been bitten by the change. I've opened an issue for this: http://projects.puppetlabs.com/issues/20919 Andreas -- You received this message because you are s

Re: [Puppet Users] Announce: Puppet 3.2.1 Available

2013-05-24 Thread Andreas Ntaflos
On 24/05/13 11:43, Paul Tötterman wrote: Did something change in the way Puppet outputs messages? Until this morning we used the following to run Puppet from Cron on all our nodes: But as of 3.2.1 this produces output on every Puppet agent run and that output is mailed out, resu

Re: [Puppet Users] Announce: Puppet 3.2.1 Available

2013-05-23 Thread Andreas Ntaflos
On 2013-05-22 21:54, Matthaus Owens wrote: > Puppet 3.2.1 is a bugfix release for the 3.x series of Puppet. Did something change in the way Puppet outputs messages? Until this morning we used the following to run Puppet from Cron on all our nodes: cron { 'puppet_agent': ensure => 'present'

Re: [Puppet Users] Puppet agent exit code for monitoring script

2012-12-04 Thread Andreas Ntaflos
On 04/12/12 16:40, Felix Müller wrote: > Hello, > > I would like to build a script, which notifies me, when a production > host notices, that there change on a host, based on the Puppet exit > codes without executing it. Probably easier and more effective to examine /var/lib/puppet/state/last_run

Re: [Puppet Users] How to setup puppet 0.25.5-1 client in UBUNTU12.04 64 bit

2012-11-06 Thread Andreas Ntaflos
On 06/11/12 12:24, WhiteB wrote: > > How to setup puppet 0.25.5-1 in ubuntu12.04, the normal updates > taking me to higher version of puppet client. Puppet 0.25 has not been supported for a long time now and its use is not recommended. You will not find official packages for this very old vers

Re: [Puppet Users] Upgrading puppet 2.7.19 to 3.0.1

2012-10-30 Thread Andreas Ntaflos
On 2012-10-31 03:01, thinkwell wrote: > So now I have puppet 3.0.1 installed from the puppetlabs debian repo and > I thought I'd fought my way through the thicket, but I've hit a wall > with this error When running puppet agent on the clients. I get the > following error: > > > Ruby (Rack) app

Re: [Puppet Users] How to set DNS on Ubuntu 12.04 clients?

2012-09-11 Thread Andreas Ntaflos
On 11/09/12 16:00, Sandra Schlichting wrote: > Hi all =) > > Does anyone know of a module that can configure the DNS on Ubuntu 12.04 > clients? > > This module works for CentOS and Ubuntu < 12.04 > > http://forge.puppetlabs.com/saz/resolv_conf > > but in Ubuntu 12.04 you can't just overwrite th

Re: [Puppet Users] Module critique

2012-09-06 Thread Andreas Ntaflos
On 2012-09-04 17:26, Bai Shen wrote: > I've gotten an install of solr working, but it's pretty much a hack job > at the moment. If y'all could give me your thoughts on how to improve > my setup, I'd appreciate it. apache-tomcat is an rpm of Tomcat 7 that > references the oracle jdk instead of ope

[Puppet Users] Facter 1.6.9 complains about "No LSB modules are available."

2012-05-18 Thread Andreas Ntaflos
Hi, it seems that Facter 1.6.9 complains that "No LSB modules are available." on every run. This is on Ubuntu 10.04 and 12.04, probably others as well. This message (on stderr) usually comes from calling "lsb_release -v" when no additional LSB modules are installed. Facter apparently calls "lsb_re