[Puppet Users] puppetdb memory use

2015-01-05 Thread jdt
Hello, I recently upgraded to PuppetDB2.2.0 from 1.6.3 When I was running PuppetDB1.6.3 with Puppet 3.4.3 I could do with 256Mb of heap space for PuppetDB after the upgrade I've increased first to 512Mb and 768Mb but I kept getting Out of Memory, so now I've increased it to 1Gb. When looking at

Re: [Puppet Users] Puppet agent in background causing dependency failure.

2015-01-05 Thread Josh Cooper
On Sun, Nov 16, 2014 at 6:27 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 11/14/2014 10:38 AM, David Schmitt wrote: > > Puppet evaluates which provider to use only once per agent run. > > Hmm, are you sure about that? > > As far as I know, providers *will* become suitable during

Re: [Puppet Users] Re: Puppet applies new file, then reverts it back

2015-01-05 Thread Alex Elman
Josh is correct. The first resource has a character with a different case. Notice the p in the filename. You are managing two different resources from puppet's perspective. C:/LiveServices/LiveObjectWebServer/Plugins/LiveBuilder/LiveBuilderplugin.lsp Versus C:/LiveServices/LiveObjectWebServer/Pl

Re: [Puppet Users] Re: Puppet applies new file, then reverts it back

2015-01-05 Thread Josh Cooper
On Mon, Jan 5, 2015 at 7:49 AM, jcbollinger wrote: > > > On Tuesday, December 30, 2014 7:38:05 AM UTC-6, Nicholas Miller wrote: >> >> Hi All, >> >> I'm having a strange issue with one particular file where puppet applies >> the new file, then reverts back. It does this every time puppet runs, se

[Puppet Users] Puppet Exec Command on XML update

2015-01-05 Thread Pushparaj BS
Hi, I have an XML file that has configuration for IIS Virtual settings for many webservice Applications, and each application is a node in the XML. Based on the XML, I have a Powershell script that can read the respective node and configure the IIS. However, I need to have puppet monitor th

Re: [Puppet Users] Default "Catalog Store" for Puppet 3??

2015-01-05 Thread Drew Decker
Felix, Thanks for the information. This answered my question exactly. storeconfigs is not set and when I run the puppet command that you referenced, it showed that storeconfigs was false, only confirming that I am not using them. Good to know. I wanted to make sure before I configured Pupp

[Puppet Users] Re: puppetdb report processor failed

2015-01-05 Thread jdt
Hello, at first sight nothing special. A bunch of replace facts, replace catalogs, store reports. Occasionally I see INFO [o.a.h.i.c.DefaultHttpClient] I/O exception (java.net.SocketException) caught when connecting to the target host: Network is unreachable 2015-01-05 09:44:49,748 INFO [o.

Re: [Puppet Users] puppetdb report processor failed

2015-01-05 Thread jdt
Hello, thx for the help, I think it was related to new Package allow_virtual. I've added a section to the manifest/site.pp to set this for puppet agents running 3.6.1 or higher and now I do get reports into PuppetDB. So that problem seems to be solved now. I'm only using the production environme

[Puppet Users] not able to run Linux command through puppet

2015-01-05 Thread Spriya
Hi, I am trying to run linux command through puppet. when i run the same command in the command line it is working fine. But when i placed it in the puppet it is throwing me an error. Here is the code: *Facter.add('unknownjava') do* * setcode do* *%x(`/usr/bin/diff <(/bin/sort /h

[Puppet Users] Re: Puppet master on Windows

2015-01-05 Thread Chris Price
On Monday, December 29, 2014 1:52:41 PM UTC-8, Alejandro del Castillo wrote: > > Hello, > > We are looking at the different options out there to build a System > Management solution for embedded systems. I am encouraged by the fact that > puppet support opkg and it's already in use by OpenWRT (we

Re: [Puppet Users] puppetdb can't delete reports in the future

2015-01-05 Thread Ryan Anderson
Wow, thanks, this worked great for me. In case it helps others, here are the commands in more detail: # Connect to postgresql psql -h localhost -d puppetdb -U puppetdb -W # The psql prompt puppetdb=> delete from reports where end_time > current_timestamp; # Disconnect puppetdb=> \q On Wednesday,

[Puppet Users] Re: Announcing Tiny Puppet

2015-01-05 Thread jcbollinger
On Friday, January 2, 2015 3:49:25 AM UTC-6, Alessandro Franceschi wrote: > > Hi all, > with some hardly hidden pride and excitement I'd like to announce the > first release of Tiny Puppet > ("Yet Another Puppet Abstraction Layer"), a Puppet module that

[Puppet Users] Re: How to preserve original timestamp when copying a file?

2015-01-05 Thread staceytian4321
I means the second (the file's last modification timestamp (mtime) as recorded in its file metadata in the file system). OK, thanks anyway for the clarification. On Monday, January 5, 2015 9:10:55 AM UTC-5, jcbollinger wrote: > > > > On Friday, January 2, 2015 2:48:00 PM UTC-6, staceyt...@gmail.

[Puppet Users] Re: Open source Signing Puppet master & Agent cerificates

2015-01-05 Thread jcbollinger
On Sunday, January 4, 2015 7:44:05 PM UTC-6, roopchand yanamadala wrote: [...] > Error: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect > returned=1 errno=0 state=SSLv3 read server certificate B: certificate > verify failed: [self signed certificate in certificate chain for /CN=

[Puppet Users] Re: Puppet applies new file, then reverts it back

2015-01-05 Thread jcbollinger
On Tuesday, December 30, 2014 7:38:05 AM UTC-6, Nicholas Miller wrote: > > Hi All, > > I'm having a strange issue with one particular file where puppet applies > the new file, then reverts back. It does this every time puppet runs, see > below: > [...] That is very strange. Puppet should ne

[Puppet Users] Re: Package (postfix) is not reconfigured if the preseed file is changed

2015-01-05 Thread jcbollinger
On Monday, December 29, 2014 7:58:28 AM UTC-6, na...@hu.inter.net wrote: > > I've implemented a similar solution to generate a preseed file for postfix > as describe in > http://projects.puppetlabs.com/projects/1/wiki/debian_preseed_patterns. > > The basic difference is that I created a puppet

Re: [Puppet Users] puppetdb report processor failed

2015-01-05 Thread Ken Barber
> I recently upgraded from puppetdb 1.6 to 2.2 but now it seems like I'm > having issues with the puppetdb report processor. > I keep getting the errors below: > puppet-master[23130]: Report processor failed: Environment is nil, unable > to submit report. This may be due a bug with Puppet. Ensure

Re: [Puppet Users] Reading configuration from UI.

2015-01-05 Thread jcbollinger
On Friday, December 26, 2014 3:40:07 AM UTC-6, glos...@gmail.com wrote: > ---In my setup, there are two applications (applnA and applnB) running on > the same host. My requirement is to configure applnB. >The configuration values are input to UI and the UI is part of applnA > only. > >

[Puppet Users] Re: Puppet - packages long runtime

2015-01-05 Thread kaustubh chaudhari
Also you might want to run puppet agent with the below parameters for details: # puppet agent --evaltrace -td -HTH Kaustubh On Monday, January 5, 2015 9:20:52 AM UTC-5, kaustubh chaudhari wrote: > > Depends on which package you are installing ... also as mentioned in the > mail trail you need

[Puppet Users] Re: Puppet - packages long runtime

2015-01-05 Thread kaustubh chaudhari
Depends on which package you are installing ... also as mentioned in the mail trail you need to check the manual time or installation. # time yum -y pkg On Monday, January 5, 2015 1:50:17 AM UTC-5, Royee Tager wrote: > > Hello all, > > New CentOS 6.5 clients which run Puppet for the first time h

[Puppet Users] Re: How to preserve original timestamp when copying a file?

2015-01-05 Thread jcbollinger
On Friday, January 2, 2015 2:48:00 PM UTC-6, staceyt...@gmail.com wrote: > > Hi guys, > > I am wondering if there was an option to preserve the original timestamp > when copying a file? Right now the timestamp is updated every time the file > is recopied. I don't want that. > > I am using open

[Puppet Users] Re: puppetdb report processor failed

2015-01-05 Thread kaustubh chaudhari
what dose puppetdb.log says ? -Kaustubh On Sunday, January 4, 2015 5:40:22 PM UTC-5, jdt wrote: > > Hello, > > I recently upgraded from puppetdb 1.6 to 2.2 but now it seems like I'm > having issues with the puppetdb report processor. > I keep getting the errors below: > puppet-master[23130]: Re

Re: [Puppet Users] How to solve $concat_basedir not defined error?

2015-01-05 Thread Pete Brown
I just had a look at the docs and pluginsync needs to be set to true in the [main] of Both the master and the client. https://docs.puppetlabs.com/guides/plugins_in_modules.html#enabling-pluginsync It is on by default in puppet 3+ The default was false in earlier versions. On 15 December 2014 at 2

Re: [Puppet Users] Puppet - packages long runtime

2015-01-05 Thread Christopher Wood
On Mon, Jan 05, 2015 at 11:07:12AM +0100, Martin Alfke wrote: > Hi, > On 05 Jan 2015, at 07:50, Royee Tager wrote: > > > Hello all, > > > > New CentOS 6.5 clients which run Puppet for the first time have many > > packages to install. > > As you can see below the total runtime is 355.0697 sec. >

[Puppet Users] Pupept User Group @ FOSDEM

2015-01-05 Thread Johan De Wit
Hi Puppet User Group Organisers, FOSDEM has approved the stand for this year. If you want to represent your PUG, you are very welcome to join us at the stand. Like previous year, I would like to ask every PUG, to write a little piece in English or your native language to present your PUG to

[Puppet Users] Re: Issues with RHEL7

2015-01-05 Thread Saxon Mailey
Hi Guys, There appears to be a typo in the subscription-manager example (its missing the s from rpms) The command should be: subscription-manager repos --enable rhel-7-server-optional-rpms This fixed the problem for me. Thanks :) On Saturday, 14 June 2014 03:49:44 UTC+10, Arkandel wrote: > >

Re: [Puppet Users] Puppet - packages long runtime

2015-01-05 Thread Martin Alfke
Hi, On 05 Jan 2015, at 07:50, Royee Tager wrote: > Hello all, > > New CentOS 6.5 clients which run Puppet for the first time have many packages > to install. > As you can see below the total runtime is 355.0697 sec. > The package part takes 262.6 sec. > Is it somehow possible to reduce that tim