Re: [Puppet Users] Puppet 4.2. and latest Puppet Agent 1.2.1-x64 on Windows 2008 r2 keeps crashing with error 400: Invalid byte sequence in UTF-8

2015-07-16 Thread Peter Huene
On Wed, Jul 15, 2015 at 9:08 AM, Peter Huene wrote: > On Wed, Jul 15, 2015 at 9:04 AM, Josh Cooper wrote: > >> >> >> On Tue, Jul 14, 2015 at 2:13 PM, mst3k wrote: >> >>> Hi, >>> >>> thx for the answer - and sorry for the weird postings. I may need to >>> create a google-account after all to sub

Re: [Puppet Users] Generate an array from PuppetDB

2015-07-16 Thread Ken Barber
> Hello list. > > I'm trying to use PuppetDB to link a webserver cluster to an EJB cluster. > Each webserver host need to reference a comma separated list of IPs provided > by each EJB host > > Exporting and collecting resources works pretty nice but I think this isn't > the better approach. I just

[Puppet Users] Unable to get the ruby-ldap gem working with Puppet 4.x

2015-07-16 Thread Omen Wild
I have a fresh install of Puppet 4.2 on an Ubuntu 14.04 box: root@puppet:~# /opt/puppetlabs/bin/puppetserver -v puppetserver version: 2.1.1 We have a locally written Ruby command to do a LDAP lookup to get UIDs for our users, but with Puppet 4.2 it errors out: - Begin error - root@puppet:

[Puppet Users] Package versions in PuppetDB

2015-07-16 Thread Jer Johnson
Hi! I can run 'puppet resource package' on a node to get a list of installed packages and version numbers. are those version numbers available through a PuppetDB(2.3) API query? the http://localhost:8080/v3/catalogs/${NODE} call shows the desired end-state "type" : "Package", "tit

Re: [Puppet Users] Possible to prevent submission to PuppetDB on certain runs

2015-07-16 Thread Matthew Kennedy
The problem is we want regular runs to submit storeconfigs, with special runs disabling certain functionality (via overridden facts). In our case our application orchestration module uses exported resources and resource collection heavily. Having our puppet masters submit a catalog to puppetdb

[Puppet Users] Announce: PuppetDB 2.3.6 is now available!

2015-07-16 Thread Wyatt Alt
PuppetDB 2.3.6 July 16, 2015 PuppetDB 2.3.6 Downloads Available in native package format in the release repositories at: http://yum.puppetlabs.com and http://apt.puppetlabs.com For information on how to enable the Puppet Labs repos, see: http://docs.puppetlabs.com/gui

Re: [Puppet Users] Error: undefined method `<' for :undef:Symbol at

2015-07-16 Thread Hunter Haugen
On Thu, Jul 16, 2015 at 11:21 AM Fabien Delpierre < fabien.delpie...@gmail.com> wrote: > Hi folks, > First off, let me underline that I'm completely new to Puppet. I'm an > intermediate Chef user but just changed jobs, and the new place is a Puppet > shop and I've never touched Puppet in my life.

Re: [Puppet Users] Re: Keeping a directory clean at top level

2015-07-16 Thread Christopher Wood
On Thu, Jul 16, 2015 at 11:46:41AM -0700, L. Matthew Blancett wrote: >I have this same need. In my case it's yum repo files that I want to >ensure are ONLY what puppet manages (we occasional haven brazen users drop >repo's on boxes, and cause big headaches down that road). Our environme

[Puppet Users] Re: Keeping a directory clean at top level

2015-07-16 Thread L. Matthew Blancett
I have this same need. In my case it's yum repo files that I want to ensure are ONLY what puppet manages (we occasional haven brazen users drop repo's on boxes, and cause big headaches down that road). Our environment is complex enough that repo's don't come from a single file, but from dispar

[Puppet Users] Re: how to export path in bashrc via puppet script

2015-07-16 Thread ayyanar
On Thursday, July 16, 2015 at 11:55:07 PM UTC+5:30, Vince Skahan wrote: > > > On Thursday, July 16, 2015 at 9:58:53 AM UTC-7, ayy...@orzota.com wrote: >> >> exec { file1: >> command => "/bin/echo "export >> JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64"; >> /home/haas/.bash

[Puppet Users] Re: how to export path in bashrc via puppet script

2015-07-16 Thread Vince Skahan
On Thursday, July 16, 2015 at 9:58:53 AM UTC-7, ayy...@orzota.com wrote: > > exec { file1: > command => "/bin/echo "export > JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64"; >> /home/haas/.bashrc", > } > } > > try single quoting the inner or outer pair of quotes ?

[Puppet Users] Error: undefined method `<' for :undef:Symbol at

2015-07-16 Thread Fabien Delpierre
Hi folks, First off, let me underline that I'm completely new to Puppet. I'm an intermediate Chef user but just changed jobs, and the new place is a Puppet shop and I've never touched Puppet in my life. I have not had time to acclimatize to it at all, but today my coworker asked me to make some

Re: [Puppet Users] Generate an array from PuppetDB

2015-07-16 Thread Christopher Wood
On Thu, Jul 16, 2015 at 06:41:26AM -0700, Joao Morais wrote: >Hello list. > >I'm trying to use PuppetDB to link a webserver cluster to an EJB cluster. >Each webserver host need to reference a comma separated list of IPs >provided by each EJB host > >Exporting and collecting re

[Puppet Users] How to append a file in bashrc file.

2015-07-16 Thread ayyanar
cd $HOME/a.sh >> $HOME/.bashrc how to append a.sh file into bashrc file. -- 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

[Puppet Users] how to export path in bashrc via puppet script

2015-07-16 Thread ayyanar
exec { file1: command => "/bin/echo "export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64"; >> /home/haas/.bashrc", } } i try to added java path. facing issue. Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'export'; exp

[Puppet Users] how to export path in bashrc via puppet script

2015-07-16 Thread ayyanar
exec { file1: command => "/bin/echo "export JAVA_HOME=/usr/lib/jvm/java-1. 7.0-openjdk.x86_64"; >> /home/haas/.bashrc", } } i try to added java path. facing issue. Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'export'; exp

Re: [Puppet Users] Modul postgresql cannot handle negative value when writing config files

2015-07-16 Thread Hunter Haugen
On Wed, Jul 15, 2015 at 11:36 PM wrote: > Hi, > > thanks for your feedback. I provided some more information, unfortunately > the suggested quoting did not work. > Oh, I wouldn't recommend quoting numbers; just strings. > > installed software > ## > facter

[Puppet Users] Generate an array from PuppetDB

2015-07-16 Thread Joao Morais
Hello list. I'm trying to use PuppetDB to link a webserver cluster to an EJB cluster. Each webserver host need to reference a comma separated list of IPs provided by each EJB host Exporting and collecting resources works pretty nice but I think this isn't the better approach. I just need a va

[Puppet Users] Windows Unzip Remote Zip file

2015-07-16 Thread Fraser Goffin
For the benefit of others, I contacted the maintainer of the reidmv/unzip module and this was his (very helpful) response :- Hi Fraser, The requirement that the file be local is just a constraint of how the unzip module works right now. This is a very simple module. In practice, that means tha