Re: [Puppet Users] ruby issue

2013-05-31 Thread Stuart Cracraft
Hey, good news. All is well. Ruby & related are good. Puppet too. And Red Hat. Also, I've documented/wiki'd the Puppet Master + Client install with respect to bare metal to delivered system for all related aspects and transmitted, fully, disclosed entirely, to staff. Next week, I will be tunin

[Puppet Users] ssh_authorized_key filling /var/log/messages

2013-05-31 Thread Marek Dohojda
Having weird issue that I can't seem to find any solution to: puppet 2.7.21 and 2.6.9 here is my stanza: ssh_authorized_key{ “$name”: ensure => present, name => "$name", key => "$key", type => $type, user => "$name",

[Puppet Users] Problems with puppetdb and SSL

2013-05-31 Thread gen...@allantgroup.com
When I run openssl s_client -host puppet -port 8081 -CAfile /etc/puppet/ssl/certs/puppet.fqdn I get Verify return code: 21 (unable to verify the first certificate). If I run the same command, but use port 8140 to connect to puppet, I get a return code of 19 (which is correct). I believe that

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread joe
You should really reconsider how you are going about things and organizing your resources if you have to do stuff like this. Puppet was never meant to be reactionary in this sense. It's entire purpose is to define the state of the system and enforce that state, not to respond to the state of th

[Puppet Users] Re: Unable to generate certificate on Puppet Agent through Master

2013-05-31 Thread Dan Hyatt
I am running into the same problem and it just dawned on me that Solaris might put it in another directory, the master is redhat, the clients are Solaris. What would change for a solaris certificate? On Tuesday, August 28, 2012 2:08:51 AM UTC-7, Ajeet Raina wrote: > > Hi, > > I have a puppet ma

[Puppet Users] Re: Could not request certificate: Error 405 on SERVER

2013-05-31 Thread Jonathan
I found a solution for this...use an older version of Passenger, specifically Passenger 3.0.21 To do this I uninstalled the Passenger gem: gem uninstall passenger Then installed the older version: gem install passenger --version 3.0.21 Then rebuilt libraries: passenger-install-apache2-module

Re: [Puppet Users] Announce: Puppet 3.2.1 Available

2013-05-31 Thread Josh Partlow
On Friday, May 24, 2013 9:15:47 AM UTC-7, Andreas Ntaflos wrote: > 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 o

Re: [Puppet Users] Re: ruby issue

2013-05-31 Thread Matthaus Owens
I don't have a rhel box handy to enable that repo on, but here's the top google hit. https://access.redhat.com/site/documentation/en-US/Red_Hat_Subscription_Management/1.0/html/Subscription_Management_Guide/entitlements-and-yum.html On Fri, May 31, 2013 at 11:57 AM, Stuart Cracraft wrote: > Can

Re: [Puppet Users] Re: ruby issue

2013-05-31 Thread Stuart Cracraft
Can you copy/paste the repo entry which works for you in reply? On May 31, 2013, at 11:50 AM, Matthaus Owens wrote: > Stuart, > rubygems comes from the redhat optional repo, so you'll need to have > that repo enabled to get the rubygems package. > > On Fri, May 31, 2013 at 10:59 AM, Stuart Crac

Re: [Puppet Users] AD user add to local windows group?

2013-05-31 Thread Trevor Vaughan
This sounds like the other side of the coin to a bug that I filed: https://projects.puppetlabs.com/issues/19414 Not being able to add AD/LDAP users to a local group is a fail. Thanks, Trevor On Fri, May 31, 2013 at 1:19 PM, Josh Cooper wrote: > Hi Vince, > > > On Fri, May 31, 2013 at 8:31 AM

Re: [Puppet Users] Re: ruby issue

2013-05-31 Thread Matthaus Owens
Stuart, rubygems comes from the redhat optional repo, so you'll need to have that repo enabled to get the rubygems package. On Fri, May 31, 2013 at 10:59 AM, Stuart Cracraft wrote: > Okay, things are better but I am getting this error for json and rubygems. > > > [root@ca-sna-pm01 augeas-1.0.0]#

[Puppet Users] Re: ruby issue

2013-05-31 Thread Stuart Cracraft
Okay, things are better but I am getting this error for json and rubygems. [root@ca-sna-pm01 augeas-1.0.0]# gem install json Building native extensions. This could take a while... Successfully installed json-1.8.0 1 gem installed Installing ri documentation for json-1.8.0... Installing RDo

Re: [Puppet Users] ruby issue

2013-05-31 Thread Matthaus Owens
Stuart, You need to have either EPEL or our dependencies repo enabled to get ruby-augeas, rubygem-json, and ruby-shadow. ruby-rgen is only available in our dependencies repo currently. The dependencies repo can be added to yum with the following repo definition (assuming you have the gpg key insta

[Puppet Users] ruby issue

2013-05-31 Thread Stuart Cracraft
Hi, I am having problems installing Puppet Server. My gem list follows and then the attempt to install puppet-server. The specific errors are: Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs) Requires: ruby-augeas Error: Package: hiera-1.2.1-1.el6.noarch (p

Re: [Puppet Users] AD user add to local windows group?

2013-05-31 Thread Josh Cooper
Hi Vince, On Fri, May 31, 2013 at 8:31 AM, VinceH wrote: > Pardon my noobness to this, but is anyone able to get around this > issue > ? > > group {'testgroup': > > ensure => present, > members => 'DOMAIN\user', > name => 'test' > > } > > Yields

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread John Naggets
Thanks guys for your input. That's correct I am looking to act upon another file's nonexistence... I will go with facter. On Friday, May 31, 2013 2:57:56 PM UTC+2, Matthias Saou wrote: > > Hi, > > Indeed, I had missed that John was mentioning two different files > ("config.php" vs. "autoconfig.

[Puppet Users] AD user add to local windows group?

2013-05-31 Thread VinceH
Pardon my noobness to this, but is anyone able to get around this issue ? group {'testgroup': ensure => present, members => 'DOMAIN\user', name => 'test' } Yields OLE error code:8007056B in Active Directory A member could not be added to or

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread Nan Liu
On Fri, May 31, 2013 at 1:00 AM, Matthias Saou wrote: > There are other ways. None are nice and clean, but a custom fact just > for this seems overkill. > > Here's a quick example of how I've implemented creating a default > ~/.gitconfig for users if it doesn't exist, but not modify it if it's >

Re: [Puppet Users] Re: What data on the server can a compromized host read

2013-05-31 Thread Vladimir Brik
Nick, Thank you very much for the detailed explanation! Vlad On 05/30/13 20:09, Nick Fagerlund wrote: Hi Vlad, This is all more or less dictated by the auth.conf file, although the implications can take a little while to chase down. You can see http://docs.puppetlabs.com/guides/rest_auth_conf

[Puppet Users] Re: Dashboard showing "newline" character

2013-05-31 Thread Thomas Dahlberg
Me too have the same issue, did you find any solution? On Wednesday, May 22, 2013 7:48:52 PM UTC+2, Jordan Hayes wrote: > > I am having this exact same issue. > I installed Puppet this past April, from the PuppetLabs repository on a > Debian Wheezy box. > I see these new line characters under the

[Puppet Users] Re: Dashboard showing "newline" character

2013-05-31 Thread Thomas Dahlberg
I found the solution. Dashboard does not play well with ruby 1.9.3. I will try the rails3 branch and see if it works better. /Thomas On Wednesday, May 22, 2013 7:48:52 PM UTC+2, Jordan Hayes wrote: > > I am having this exact same issue. > I installed Puppet this past April, from the PuppetLabs re

Re: [Puppet Users] Packages for Ubuntu 13.04 Raring

2013-05-31 Thread Vlad
The release package is indeed present, but it's the only one in the Raring pool (http://apt.puppetlabs.com/dists/raring/main/binary-amd64/Packages; http://apt.puppetlabs.com/pool/raring/main/). My bootstrap scripts installed the repo successfully, but, to my surprise, the puppet and facter packa

[Puppet Users] Re: augeas for hosts.allow

2013-05-31 Thread Raphink
To anyone interested, this thread has been duplicated (and answered) on https://www.redhat.com/archives/augeas-devel/2013-May/msg00028.html Raphaël On Wednesday, May 29, 2013 4:35:30 PM UTC+2, kashif wrote: > > > Hi > > I am trying to configure hosts.allow using augeas with puppet. I can add a

Re: [Puppet Users] Issue with Puppet & Packages which are installed multiple times

2013-05-31 Thread Chuck
The installation of both i386 and x86_64 packages is a YUM configuration issue in RHEL 5. This is not the default behavior in RHEL 6. http://serverfault.com/questions/77122/rhel5-forbid-installation-of-i386-packages-on-64-bit-systems On Friday, May 31, 2013 3:06:49 AM UTC-5, bjoern pohl wro

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread Matthias Saou
Hi, Indeed, I had missed that John was mentioning two different files ("config.php" vs. "autoconfig.php"). In that case, my only bit of (useless) advice is : You're not using puppet in the way it's most efficient, as it's not meant to manage nodes based on changes it doesn't make itself. Custom f

Re: [Puppet Users] Packages for Ubuntu 13.04 Raring

2013-05-31 Thread Ashley Penney
I think they already are? If you grab http://apt.puppetlabs.com/puppetlabs-release-raring.deb and install that you should be able to get all the latest packages for raring. On Thu, May 30, 2013 at 7:22 PM, Vlad wrote: > When packages for Ubuntu 13.04 Raring going to be released? > > -- > You r

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread Dan White
That is an excellent example, but I think you miss the original point: Your example deals with only one file resource - the dot-gitconfig file Suppose you only wanted to perform this action if git was installed on the system, and do nothing if it was not ? This additional requirement puts it clo

Re: [Puppet Users] Grouping hosts within environments

2013-05-31 Thread Nikola Petrov
Yes you can just tag them from there: accounts::users::accounts: sysadmin: ensure: present home: /home/sysadmin managehome: "true" shell: /bin/bash uid: 4000 gid: sysadmin comment: Systems Admin tags aren't special in any way - th

Re: [Puppet Users] Issue with Puppet & Packages which are installed multiple times

2013-05-31 Thread bjoern pohl
Hi Nan, thanks a lot. Perhaps I'll get around that issue by specifying the arch while installing. I just was a bit surprised why installing and uninstalling (with the same options: none :) ) leaves the system in a different state than before. -- You received this message because you are subsc

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread Matthias Saou
There are other ways. None are nice and clean, but a custom fact just for this seems overkill. Here's a quick example of how I've implemented creating a default ~/.gitconfig for users if it doesn't exist, but not modify it if it's already there or has been modified. $gitconfig_user_name = $my