Re: [Puppet Users] Re: apache 2.4 support in puppetlabs/apache

2013-07-24 Thread Pete Brown
Hi, I did fork the repo and submitted a pull request but I don't think it has been merged yet. My for is here if that helps. https://github.com/rendhalver/puppetlabs-apache I have been pretty busy lately and I haven't had a chance to chase up what is happening. On 24 July 2013 00:09, Pawel

Re: [Puppet Users] Re: 3.2.2 on CentOS 6.3, and Did not receive certificate

2013-07-24 Thread Keith Burdis
When having problems like this it is often a good idea to shut down the Apache web server and run: # puppet master --debug from a console instead. If that works then your Puppet setup is okay and you should look at your web server and passenger config. - Keith On 18 Jul 2013 20:21, Forrie

Re: [Puppet Users] Debugging Puppetmaster with Apache/Rack/Passenger

2013-07-24 Thread Keith Burdis
I believe the --debug in config.ru sends output to syslog so either look in /var/log/messages (or similar) or specify a log destination filename like: ARGV --logdest /var/log/puppet/puppet-master.log - Keith On 23 Jul 2013 09:15, Christian Flamm christian.le.fl...@gmail.com wrote: Hi,

Re: [Puppet Users] Debugging Puppetmaster with Apache/Rack/Passenger

2013-07-24 Thread Christian Flamm
Did what you posted. Strange thing happened: nothing appears in the specified logdest. Instead: the (wanted) debug output it now sent to apache's error log! I have no idea what's going on - but at least I have the output I was looking for :-/ Thanks, Christian Am Mittwoch, 24. Juli 2013

[Puppet Users] Re: node_aws installation problem

2013-07-24 Thread Piotr Jasiulewicz
Hi, tried to play around with the RUBYLIB env var but doesn't seam to help in any way. Any ideas? Thanks, Piotr W dniu wtorek, 23 lipca 2013 17:10:55 UTC+1 użytkownik Piotr Jasiulewicz napisał: Hi, got the whole list root@ip-10-55-86-66:/home/ubuntu# gem list *** LOCAL GEMS ***

Re: [Puppet Users] Debugging Puppetmaster with Apache/Rack/Passenger

2013-07-24 Thread Christian Flamm
Debug output is sent to Apache error log, because of missing permissions to write to the defined logdest. So - bottom line - thanks for your reply, --logdest is necessary. Without it debug output is (per default) not sent to /var/log/messages. Am Mittwoch, 24. Juli 2013 09:59:40 UTC+2 schrieb

[Puppet Users] PE3 on physical server...how to carve up the filesystems?

2013-07-24 Thread Stephen Wallace
Hey all, I need to configure a 1 x physical server, with RHEL6 + PE3. The following questions relate to this. I'm wondering if it's generally considered to be a good idea to set up a separate filesystem for the Puppet (Enterprise 3) filebucket. I would imagine that this could grow fairly

[Puppet Users] Re: Array use as loop-type construct?

2013-07-24 Thread Bret Wortman
For completeness, I solved this myself by using a template instead of trying to do this all within a manifest: #!/bin/sh % databases.each do |db| -% %= mysqldump --user admin #{db} | gzip mysql-#{db}-`date +%Y%m%d`.gz % % end -% % remote_dest.each do |rd| -% %= rsync -arzv #{bkp_dest} #{rd} %

Re: [Puppet Users] updating package and all dependency updates with puppet

2013-07-24 Thread Marcelo Roccasalva
Hello Brian, Yum should solve dependencies (unless you tell it not to). So puppet is skipping dependencies on package updates? On Tue, Jul 23, 2013 at 12:02 PM, Brian Mathis brian.mat...@betteradmin.com wrote: You are relying on the functionality of 'yum' to pull in the dependencies, which

[Puppet Users] Re: puppet module upgrade dilemma with Subversion

2013-07-24 Thread Nic Waller
I also have my puppetmaster files in Subversion, and I'm running into the same problem with upgrading modules from Puppet Forge. This question on Stack Exchange (http://stackoverflow.com/q/5664666/190298) doesn't have any fancy solutions either. Here are some of the ideas I've come up with so

[Puppet Users] Re: node_aws installation problem

2013-07-24 Thread Piotr Jasiulewicz
Hi, found some of your entries looking around Shivaraj, have you found out the cause of this issue on your CentOS intallation? Thanks, Piotr W dniu środa, 24 lipca 2013 12:19:37 UTC+1 użytkownik Piotr Jasiulewicz napisał: Hi, tried to play around with the RUBYLIB env var but doesn't seam

Re: [Puppet Users] Error: Could not run: failed to allocate memory

2013-07-24 Thread Josh Cooper
On Tue, Jul 23, 2013 at 10:57 PM, Josh D joshuadavid...@gmail.com wrote: I installed Cygwin on some Windows 7 x64 client nodes (v3.2.3) and was in the process of removing it. Because I cannot modify CIFS/SAMBA shares or change the puppet service to run as a domain user, I'm basically reduced

Re: [Puppet Users] updating package and all dependency updates with puppet

2013-07-24 Thread Brian Mathis
On the initial install, yum will resolve and install the dependencies, but we're talking about updates. If a package requires php, and php-5.4.1 is already installed, that will satisfy the requirement, even if php-5.4.2 is available, and the updated package will not be installed. You would need

Re: [Puppet Users] Re: 3.2.2 on CentOS 6.3, and Did not receive certificate

2013-07-24 Thread Forrie
The only response to puppet master --debug in the log is : Info: Could not find certificate for 'ourmachine.domain.com' And there is no reference to this system in the master's content under /var/lib/puppet. So it would seem that whatever mechanism that accepts CA requests and creation is

Re: [Puppet Users] Re: 3.2.2 on CentOS 6.3, and Did not receive certificate

2013-07-24 Thread Forrie
Now this is really strange. I removed /var/lib/puppet on the client side and manually did a puppet agent test while doing a command line puppet test on the master and I got: Info: Could not find certificate for 'ourserver.ourdomain.com' Info: Could not find certificate_request for

Re: [Puppet Users] Re: 3.2.2 on CentOS 6.3, and Did not receive certificate

2013-07-24 Thread Forrie
When I updated the config.ru to what's in GIT for puppet, I get a slew of crap errors that lists the library content for puppet. Here's what is in GIT now: # a config.ru, for use with every rack-compatible webserver. # SSL needs to be handled outside this, though. # if puppet is not in your

[Puppet Users] Problem running rake node:del for Puppet Dashboard databse hosted on RDS

2013-07-24 Thread Felipe Salum
Hi guys, The command below was working when my puppet dashboard mysql database was running in the same machine as the puppet master. rake RAILS_ENV=production -f /usr/share/puppet-dashboard/Rakefile node:del name=my-app-server However now I moved the mysql database to RDS and it doesn't work

[Puppet Users] Geppetto Project doesn't show folder structure

2013-07-24 Thread thinkwell
I'm feeling a bit besieged right now. I'm starting an extended project and I wanted to work in Kate. Kate's syntax highlighting is broken, so I check for an xml file and found one from reductive labs that gives a lovely 404.http://projects.reductivelabs.com/repositories/browse/puppet/ext/kate

[Puppet Users] Re: Geppetto Project doesn't show folder structure

2013-07-24 Thread thinkwell
Ok, the joke's on me. Select the project, right click and Refresh. I said I was feeling besieged... :-| -- 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] Installing PuppetDB on Red Hat 6.4 Postgresql issues

2013-07-24 Thread GregC
Follwed the instructions for installing PuppetDB from pupptlabs url: http://docs.puppetlabs.com/puppetdb/latest/configure.html#using-postgresql After running the following commands to create puppetdb user and puppetdb database I cannot login with the password I provided for puppetdb $ sudo -u

[Puppet Users] Re: Installing PuppetDB on Red Hat 6.4 Postgresql issues

2013-07-24 Thread GregC
I was able to run a psql puppetdb without issue and then saw the creation of the puppetdb database. On Wednesday, July 24, 2013 3:37:10 PM UTC-4, GregC wrote: Follwed the instructions for installing PuppetDB from pupptlabs url:

Re: [Puppet Users] Re: Installing PuppetDB on Red Hat 6.4 Postgresql issues

2013-07-24 Thread Cory Stoker
Hello: I always seem to not be able to use localhost even with Posgtres bound to all addresses. The command I tend to use is like: psql -h 10.10.10.10 -d puppetdb -U puppetdb -W then enter your password. HTH On Wed, Jul 24, 2013 at 2:01 PM, GregC greg.caldwe...@gmail.com wrote: I was able

[Puppet Users] Re: Problem running rake node:del for Puppet Dashboard databse hosted on RDS

2013-07-24 Thread Felipe Salum
I had a friend helping me to debug and looks like it is taking forever to delete the entries from resource status table (a lot of entries). Is that something we can improve ? On Wednesday, July 24, 2013 11:42:26 AM UTC-7, Felipe Salum wrote: Hi guys, The command below was working when my

Re: [Puppet Users] Re: Problem running rake node:del for Puppet Dashboard databse hosted on RDS

2013-07-24 Thread Ramin K
On 7/24/2013 1:49 PM, Felipe Salum wrote: I had a friend helping me to debug and looks like it is taking forever to delete the entries from resource status table (a lot of entries). Is that something we can improve ? env RAILS_ENV=production rake reports:prune upto=5 unit=day env

Re: [Puppet Users] Re: Problem running rake node:del for Puppet Dashboard databse hosted on RDS

2013-07-24 Thread Felipe Salum
I actually do for 2 weeks. rake RAILS_ENV=production reports:prune upto=2 unit=wk On Wed, Jul 24, 2013 at 2:03 PM, Ramin K ramin-l...@badapple.net wrote: On 7/24/2013 1:49 PM, Felipe Salum wrote: I had a friend helping me to debug and looks like it is taking forever to delete the entries

[Puppet Users] creating a (mac) package from a known good source + local patches

2013-07-24 Thread Clay Caviness
I need to have a way to re-create the installation package we use for facter and puppet, offline, from a known-good source. Often, we have local patches (e.g., backporting certain providers from 3.x to 2.x because our servers are still on 2.x, or patching things not yet released upstream), so our

[Puppet Users] Puppet, Yum, Cassandra, openjdk and --nodeps

2013-07-24 Thread Paul Pham
Hello, puppet n00b here. Trying to install cassandra via puppet. Works great, only caveat is cassandra (dsc12 package) lists openjdk as a dependency. Ironically enough, the datastax guys themselves recommend using Oracle JRE instead of openjdk, and there is even a bug

[Puppet Users] Passenger with Puppet 3.0, problems running under

2013-07-24 Thread Forrie
Since upgrading to 3.x I've had some problems running Puppet under Passenger. I've spent several /days/ debugging this. The first symptoms included a new agent could not get a CA cert from the Puppet Master. I checked my configs, permissions, etc. When I run puppet master in stand-alone

Re: [Puppet Users] Re: Problem running rake node:del for Puppet Dashboard databse hosted on RDS

2013-07-24 Thread Ramin K
Doesn't matter, it's the size of the data and the amount you're deleting. Let's say that your reports:prune upto=2 unit=wk is ultimately going to delete 100k records because you've never pruned the database before. reports:prune upto=2 unit=wk, 100k, time: 3600s By breaking it up,

Re: [Puppet Users] Re: Problem running rake node:del for Puppet Dashboard databse hosted on RDS

2013-07-24 Thread Felipe Salum
I understood, what I wanted to say is that I run a cron job every day for the 2 weeks prune.. and I have less than 2 weeks data in the database right now since I moved it recently to a new server. I'm running a optimize task, the resource_statuses is really big. On Wed, Jul 24, 2013 at 3:21 PM,

Re: [Puppet Users] updating package and all dependency updates with puppet

2013-07-24 Thread Marcelo Roccasalva
I get it... but, if you have a module for zend and there is a new version of zend that _yum_ depends on the new version of php, then both zend and php get updated? On Wed, Jul 24, 2013 at 1:00 PM, Brian Mathis brian.mat...@betteradmin.comwrote: On the initial install, yum will resolve and

Re: [Puppet Users] creating a (mac) package from a known good source + local patches

2013-07-24 Thread Moses Mendoza
Hi Clay, I totally see your use case. We're currently looking to revisit the way we build apple packages to make things more sane. In the meantime, there is a workaround workflow, which still uses git/github but allows you to keep things offline after you download them. As noted in the ticket,

Re: [Puppet Users] updating package and all dependency updates with puppet

2013-07-24 Thread Brian Mathis
I have not tested that myself, so I'm not sure what Puppet would do in this case. I'm pretty sure yum would also install the updates, but only if the main (rpm/deb) package specifically requires the newer version. Given the original poster's request, it can be assumed that the package does not

Re: [Puppet Users] Error: Could not run: failed to allocate memory

2013-07-24 Thread Josh D
Yeah, definitely some combination of reading the entire file into memory and me not disabling backups. I disabled backups globally per your suggestion and voted on the issue you linked. Thanks, Josh On Wednesday, July 24, 2013 9:52:29 AM UTC-6, Josh Cooper wrote: On Tue, Jul 23, 2013 at

[Puppet Users] Puppet loading class that is not included?

2013-07-24 Thread Jakov Sosic
Hi, I have noticed a very strance problem with my current puppet setup on one of the nodes. This is very peculiar problem indeed. I have class php which looks like this: # Class: php$major # # This module manages php$major installation for CentOS 5 # class php ( $major =

Re: [Puppet Users] Puppet loading class that is not included?

2013-07-24 Thread Jakov Sosic
On 07/25/2013 02:13 AM, Jakov Sosic wrote: I was pretty cautious in specifying top scope in numeros occasions when including or requiring classes, but this time I thing that 'inherits' bit me... Nah, I've found it... It seems that I missed one require in another class, system::foobar, which

Re: [Puppet Users] Puppet loading class that is not included?

2013-07-24 Thread Jakov Sosic
On 07/25/2013 02:13 AM, Jakov Sosic wrote: Hi, Also, just in case some else stumbles upon something like this... generating grahps, and opening .dot file in text editor and searching for incriminating classes and it's relationships really solved it for me. So that's my advice to future

[Puppet Users] mcollective puppet module: not pulling in specified parameters

2013-07-24 Thread Brad
Is it okay to ask questions about the mcollective puppet module by puppetlabs here? If so, I'm getting this error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template mcollective/server.cfg.erb: Filepath:

[Puppet Users] Not collecting exported resources without storeconfigs

2013-07-24 Thread Larry Long
# cat /etc/redhat-release CentOS release 6.4 (Final) # puppet --version 3.2.3 # rpm -q puppetdb puppetdb-1.3.2-1.el6.noarch I am now receiving Not collecting exported resources without storeconfigs for my opsview module. It was working fine on puppet 2.7 with Activerecord/MySQL. I am still new

[Puppet Users] operatingsystemrelease fact on windows

2013-07-24 Thread Luis Fernández Álvarez
Hi everyone, I've revisited one of the old facter issues for the windows hosts: implementing the 'operatingsystemrelease' (http://projects.puppetlabs.com/issues/7621). The current version is returning the kernel release, but in the windows world, a kernel release (like 6.2) can refer to

[Puppet Users] is there any way to see what are the resources exported by a node?

2013-07-24 Thread watchman
Hello folks, Is there any way to see what are the resources exported by a node when using puppetdb and exported resources. I am running puppet 2.7.22 and puppetdb 1.3 on Ubuntu 10.4. I have tried to use e API and its not working for me(see

[Puppet Users] Re: puppetdb v2 node api

2013-07-24 Thread watchman
Hey mate, It looks liek you got this v2 API working. How did you setup that? I spend so much time to get this working but no luck. Whenever I try the url I get 404 error in puppetdb log... If you could help me then that would be great! Thanks Watchman On Monday, April 22, 2013 1:09:08 PM