Re: [Puppet Users] multiple puppet masters, multiple puppetdb's

2014-06-13 Thread José Luis Ledesma
The problem is that the puppetdb certificate is not for localhost, but for puppetdb hostname. You have two options: 1. Set in /etc/hosts puppetdb as alias of localhost 2. Generate a new certificate for the puppetdb with an alias for local host as valid hostname. I would prefer option 1.

Re: [Puppet Users] Exception LoadErrror with Passenger and Apache httpd

2014-06-13 Thread Felix Frank
Hi, you really ought to try and get rid of that gem. gem clean won't cut it. Try gem uninstall puppet. HTH, Felix On 06/10/2014 07:47 PM, Brian Wilkins wrote: I have been running my puppetmaster with passenger and apache httpd successfully for sometime now. During a recent upgrade to Puppet

Re: [Puppet Users] How's life with 3.6.2?

2014-06-13 Thread Christopher Wood
This was in the dev environment (not vagrant, just a separate set of VMs with their own set of puppetmasters). If things are fine for a few days I'll roll up through staging and production. On Fri, Jun 13, 2014 at 03:37:20PM +1000, Pete Brown wrote: Nice report. Thanks. I have a dev

Re: [Puppet Users] SuSe SLES: error when refreshing puppet yum repository

2014-06-13 Thread Torsten Kleiber
Thanks for this! zypper refresh with this repo is now successful. But now I get another error: myserver:~ # zypper --non-interactive install --repo puppet puppet Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides rubygems needed

Re: [Puppet Users] SuSe SLES: error when refreshing puppet yum repository

2014-06-13 Thread Darin Perusich
rubygem-ruby-shadow is available in the repo so I don't know what could be causing that. I just added that repo to a SLES box, installed puppet and it pulled down the dependencies without issue, the the output below. What the output you get from zypper info rubygem-ruby-shadow and zypper lr -d ?

[Puppet Users] Grant user SELECT on pg_stat_database?

2014-06-13 Thread Chris Miller
How do I grant a user SELECT privileges on the pg_stat_database catalog? Using the normal postgresql::server::database_grant approach just returns: 'ERROR: database pg_stat_database does not exist -Chris -- You received this message because you are subscribed to the Google Groups Puppet

[Puppet Users] Could not find or load main class com.puppetlabs.puppetdb.core

2014-06-13 Thread Darin Perusich
Hello, I'm attempting to build puppetdb-2.0.0 from source and the resulting jar fails to start and errors with Could not find or load main class com.puppetlabs.puppetdb.core. When inspecting the puppetdb.jar it doesn't contain any of the classes so it would appear that 'lein uberhar' is failing

Re: [Puppet Users] Re: Puppet Dashboard port

2014-06-13 Thread Don Dorman
You will find this works great. http://devsops.blogspot.ca/2013/04/installing-puppet-dashboard.html On Thursday, June 5, 2014 2:15:48 PM UTC-4, Don Dorman wrote: I almost have it figured out, and of course I will share the information On Thursday, June 5, 2014 11:55:35 AM UTC-4, Kwame Bahena

Re: [Puppet Users] multiple puppet masters, multiple puppetdb's

2014-06-13 Thread Ken Barber
I'm trying to set up something that will have multiple puppet masters (with one as the CA) and multiple puppet db's (they will be geographically dispersed). The multi-masters stuff all works fine, but I'm struggling with multiple puppet db's. Ideally I'd like puppet db to live on the same

Re: [Puppet Users] Could not find or load main class com.puppetlabs.puppetdb.core

2014-06-13 Thread Ken Barber
I'm attempting to build puppetdb-2.0.0 from source and the resulting jar fails to start and errors with Could not find or load main class com.puppetlabs.puppetdb.core. The way we execute the clojure code has changed, we no longer use AOT compilation so the syntax for invoking PDB from the jar

[Puppet Users] modelling languages puppet

2014-06-13 Thread cheniour ghassen
Hi everyone, I have developed a puppet script for automating openstack configurations. Now i have to make UML diagrams to model my puppet script. I need to make a class diagram. But i didn't figure how because i have modules and not packages, i have defines and not functions... So my question is

[Puppet Users] having issue when trying to install java using rpm

2014-06-13 Thread Supriya Uppalapati
Hi, I am getting the issue when i modifyied the code like this class java_rpm::install { $version = hiera(javaversion) package { $version: provider = rpm, source = puppet:///development/java_rpm/files/$version, ensure = installed, } } MY file is here: pwd

[Puppet Users] Issues with RHEL7

2014-06-13 Thread Arkandel
Hey folks, I'm having some issues installing puppet on a brand new RHEL7 server VM and I was wondering if any of you has ran into the same kinds of issues. This is what I'm getting: - yum install puppet Loaded plugins: langpacks, product-id, subscription-manager epel/x86_64/metalink

[Puppet Users] Upper case Key in hiera hash

2014-06-13 Thread RG
Hi, Can i have upper case key in hiera? I have a setenv_sh class that will take a key:value defined in hiera and put it in setenv.sh file test.yaml: class::subclass1::setenv_sh: INSTALL_SCRIPT: value: '/opt/install.sh' Thanks, RG -- You received this message because you are

Re: [Puppet Users] SuSe SLES: error when refreshing puppet yum repository

2014-06-13 Thread Torsten Kleiber
Could it be related to the fact, that I'm on patchset 1 or that old puppet 2.6 seems to exist in one of the other repositories? Here is the outpput: myserver:~ # zypper info rubygem-ruby-shadow Loading repository data... Reading installed packages... Information for package

Re: [Puppet Users] Upper case Key in hiera hash

2014-06-13 Thread Garrett Honeycutt
On 6/13/14, 2:06 PM, RG wrote: Hi, Can i have upper case key in hiera? I have a setenv_sh class that will take a key:value defined in hiera and put it in setenv.sh file test.yaml: class::subclass1::setenv_sh: INSTALL_SCRIPT: value: '/opt/install.sh' Thanks, RG Hi,

Re: [Puppet Users] SuSe SLES: error when refreshing puppet yum repository

2014-06-13 Thread Torsten Kleiber
BTW: I try to install via following command, because of the double puppet in another repository: zypper --non-interactive install --repo puppet puppet -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop

Re: [Puppet Users] Upper case Key in hiera hash

2014-06-13 Thread RG
For some reason its not working, puppet debug message saying it got created but i don't see it in setnv.sh file Hiera[class::subclass1::setenv_sh]/class::subclass1::Setenv_sh[INSTALL_SCRIPT]/Ini_setting[/opt/application/setenv.sh/INSTALL_SCRIPT]/ensure: created On Friday, June 13, 2014

[Puppet Users] Re: Issues with RHEL7

2014-06-13 Thread Arkandel
Answering my own question. :) libselinux-ruby seems to not be distributed with libselinux. However it's found in the server-optional channel. subscription-manager repos --enable rhel-7-server-optional-rpm fixes this. On Friday, June 13, 2014 1:49:44 PM UTC-4, Arkandel wrote: Hey folks, I'm

[Puppet Users] puppetlabs_spec_helper 0.5.x breaks puppet-lint's ignore_paths ?

2014-06-13 Thread treydock
Version 0.5.x of puppetlabs_spec_helper seems to make it impossible to add additional paths to be ignored using PuppetLint.configuration.ignore_paths. If I pin my module to ~ 0.4.0 for puppetlabs_spec_helper, the ignore_paths defined in my Rakefile are respected. Commit

Re: [Puppet Users] puppetlabs-java: installing oracle-jdk on ubuntu trusty 14.04

2014-06-13 Thread Milan Simonović
Hi Dirk, thank you for confirming. Guess I should submit a but to puppetlabs-java.. Anyway, here's a simple class that installs it from ppa:webupd8team: class java { $package = 'oracle-java7-installer' file { '/tmp/java.preseed': content = 'oracle-java7-installer

Re: [Puppet Users] modelling languages puppet

2014-06-13 Thread Henrik Lindberg
On 2014-13-06 18:36, cheniour ghassen wrote: Hi everyone, I have developed a puppet script for automating openstack configurations. Now i have to make UML diagrams to model my puppet script. I need to make a class diagram. But i didn't figure how because i have modules and not packages, i have

[Puppet Users] Question on directory environments and environment.conf - Puppet Version 3.6.2

2014-06-13 Thread Peter
Hi List, I am starting to play with directory environments on a test box. I am using puppet apply (without a master) to get a feel for how it all comes together. Key files: puppet.conf