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

2013-06-03 Thread Marek Dohojda
On Saturday, June 1, 2013 1:59:36 PM UTC-6, Stefan Schulte wrote: On Fri, 31 May 2013 15:56:30 -0700 (PDT) Marek Dohojda chr...@gmail.com javascript: wrote: 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

[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] testing puppet with rhn serial key

2012-08-20 Thread Marek Dohojda
Hello everyone. Quick question, I am wondering if someone else is using puppet to ensure that a server is a part of a correct RHN channel. I know that I can set it up so that every time puppet runs it tests to ensure that the repository is correct, however that seems rather dirty to me. What I

Re: [Puppet Users] hiera environmentss question

2012-05-02 Thread Marek Dohojda
I can attest to the fact that it works fine here is my: :yaml: :datadir: '/etc/puppet/env/%{environment}/hieradata' I am having no issues with that. On Wed, May 2, 2012 at 2:57 PM, Guy Matz gm...@matz.org wrote: Hi! I am using environments in my puppet setup, and would like to do

[Puppet Users] template arrays

2012-04-12 Thread Marek Dohojda
Sorry if this has been asked, but Google has failed me and I haven't been able to find an answer. With a source one can declare array so that if file exist puppet will pull it out first, if not move to the next file in this fashion: source = [puppet:///conf/httpd_$hostname.conf,

Re: [Puppet Users] template arrays

2012-04-12 Thread Marek Dohojda
://puppetlabs.com/blog/the-problem-with-separating-data-from-puppet-code/) to see ways that you can specify that piece of data entirely separate from your puppet code. On Thu, Apr 12, 2012 at 9:42 AM, Marek Dohojda chro...@gmail.com wrote: Sorry if this has been asked, but Google has failed

Re: [Puppet Users] template arrays

2012-04-12 Thread Marek Dohojda
data from code ( http://puppetlabs.com/blog/the-problem-with-separating-data-from-puppet-code/) to see ways that you can specify that piece of data entirely separate from your puppet code. On Thu, Apr 12, 2012 at 9:42 AM, Marek Dohojda chro...@gmail.comwrote: Sorry if this has been asked

Re: [Puppet Users] environments and import

2012-02-29 Thread Marek Dohojda
Not sure that this is what you are looking for. however I think better way is to set your environment in puppet.conf. Like this: [prod] manifest=$confdir/$enironment/site.pp That way you have it all defined, and seperated. Also modules can be defined that way. Disclaimer not in front of

Re: [Puppet Users] Yaml server facts, weird message: id00

2012-02-15 Thread Marek Dohojda
PS... is there any way to revert it back to the old behavior? (I am not seeing this on RHEL5 with older Ruby). -Original Message- From: Marek Dohojda Sent: Tuesday, February 14, 2012 10:11 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Yaml server facts, weird

Re: [Puppet Users] Yaml server facts, weird message: id00

2012-02-15 Thread Marek Dohojda
are using, and we can check if there is some unexpected corruption going on or something. If you are not, and were reading it as some sort of textual content without doing the full YAML decoding pass, then stop. Use a YAML reader. :) On Wed, Feb 15, 2012 at 07:44, Marek Dohojda chro...@gmail.com

Re: [Puppet Users] Yaml server facts, weird message: id00

2012-02-15 Thread Marek Dohojda
? This is a semi-loaded question ... call me curious :-). On Wed, Feb 15, 2012 at 9:55 PM, Marek Dohojda chro...@gmail.com wrote: :: sigh ::: Back to the ol' drawing board.  LOL. Well I guess that's what I get  by assuming that it will remain text, and not use macros.  Silly me. Thank you so much

Re: [Puppet Users] Yaml server facts, weird message: id00

2012-02-14 Thread Marek Dohojda
The problem I am having is that I am using this to pull inventory from the puppet server. I don't want to use mcollective since when server is down I can't get inventory. I been using this for a long time, without an issue. Not sure if this is RHEL6 issue or what? So how can I read the

Re: [Puppet Users] Re: Variables not inheriting

2011-12-12 Thread Marek Dohojda
Now thats wierd. I did. Different title, different body...how did it flag my quetion to an old thread? jcbollinger john.bollin...@stjude.org wrote: Please do not hijack existing threads. Create a new thread for a new question. John -- You received this message because you are subscribed

[Puppet Users] Fw: Variables not inheriting

2011-12-12 Thread Marek Dohojda
? -Original Message- From: Marek Dohojda Sent: Saturday, December 10, 2011 9:53 PM To: Puppet Users Subject: Re: Variables not inheriting PS. When I put the variables for testing in the class, the variable is working fine. -Original Message- From: Marek Dohojda Sent: Saturday

[Puppet Users] Variables not inheriting

2011-12-10 Thread Marek Dohojda
I am having a weird problem on a new (rhel6) puppet server. I can not seem to be able to define custom variable. Neither template nor class is able to use this variable. Puppet version: 2.7.9 server: RHEL 6.1 here is snippet of what I am doing: node 'something' inherits env_prod {

[Puppet Users] Re: Variables not inheriting

2011-12-10 Thread Marek Dohojda
PS. When I put the variables for testing in the class, the variable is working fine. -Original Message- From: Marek Dohojda Sent: Saturday, December 10, 2011 9:51 PM To: Puppet Users Subject: Variables not inheriting I am having a weird problem on a new (rhel6) puppet server. I can

[Puppet Users] puppet is killing me today!

2011-12-10 Thread Marek Dohojda
So first my variable problem and now mcollective hates me. system RHEL6.1 (default EPEL and PuppetLabs RPMs) I am running mcollective 1.2.1 when I do mco I get this: The Marionette Collective version 1.2.1 /usr/bin/mco: command (options) Known commands: I.E. no application are being

Re: [Puppet Users] Puppet considered harmful?

2011-12-04 Thread Marek Dohojda
Like most things with Computers... it depends. If you use it just to control single files and such puppet uses very little in terms of resources; however if you are planning on checking directory with recursive, well, don't. I wouldn't worry however, in most cases your Java app is not going

Re: [Puppet Users] Weird passenger problem

2011-09-02 Thread Marek Dohojda
and compare, then diff if necessary On Thu, Sep 1, 2011 at 5:06 PM, Marek Dohojda chro...@gmail.com wrote: I have multiple server (rhel5.3) running puppet server. 2 of these servers are also running passenger. However on the third server I am running into a weird problem: Could not retrieve

Re: [Puppet Users] Weird passenger problem

2011-09-02 Thread Marek Dohojda
, Sep 2, 2011 at 2:28 AM, Denmat tu2bg...@gmail.com wrote: Check the ownership of the config.ru. Can't remember if it has to be puppet or apache, but the puppet docs should tell you. Cheers Den On 02/09/2011, at 17:04, Marek Dohojda chro...@gmail.com wrote: Actually I just copied

[Puppet Users] Weird passenger problem

2011-09-01 Thread Marek Dohojda
I have multiple server (rhel5.3) running puppet server. 2 of these servers are also running passenger. However on the third server I am running into a weird problem: Could not retrieve catalog from remote server: No format match the given format name or mime-type (text/html The puppetmaster

Re: [Puppet Users] Dashboard rhel5 problems

2011-08-15 Thread Marek Dohojda
if there is anything I can do without upgrading Ruby, since I prefer to stay consistent with the versions present due to further patching considerations. On Fri, Aug 12, 2011 at 3:07 PM, Craig White craig.wh...@ttiltd.com wrote: On Aug 12, 2011, at 1:13 PM, Marek Dohojda wrote: Hello I have

[Puppet Users] Dashboard rhel5 problems

2011-08-12 Thread Marek Dohojda
Hello I have a running puppet and passenger (2.6.8) running on RHEL5. I installed dashboard and configured it, and all that is working as well. However I don't want to run webrick I want to put dashboard under passenger with apache. I have done the conf change to add virtual host, and changed

Re: [Puppet Users] Re: Using puppet to import database on client side

2011-07-15 Thread Marek Dohojda
Personally I don't think using puppet for this would not be the best solution. However here is what I would do. Write a shell script to do what you need, and than use puppet's EXEC statement to launch this command as needed. You could also use custom Fact for this. For instance have you

Re: [Puppet Users] Re: Puppet Class is applied but is not executed

2011-06-24 Thread Marek Dohojda
I agree it is almost certainly a syntax error. Do this on your class: puppet --parseonly class name this will do a quick sanity check. If you want to do more you can also run puppet with nodeamonize mode and debug to see what's wrong.. but I have a feeling that syntax checking will solve

Re: [Puppet Users] High CPU usage puppet 2.6.6

2011-06-03 Thread Marek Dohojda
. On Fri, Jun 3, 2011 at 7:12 AM, Sirtaj Singh Kang sirtaj.k...@gmail.comwrote: On 31-May-11, at 10:33 PM, Marek Dohojda wrote: Hi I recently upgrade my puppet from .25 to 2.6.6. The actual upgrade process was trivial, but now I am seeing issues. Puppetmaster is running at very high CPU

[Puppet Users] High CPU usage puppet 2.6.6

2011-05-31 Thread Marek Dohojda
Hi I recently upgrade my puppet from .25 to 2.6.6. The actual upgrade process was trivial, but now I am seeing issues. Puppetmaster is running at very high CPU usage. Prior to the upgrade my load average was at around 2 ( this server is doing more stuff than just puppet ), but now I am hitting

Re: [Puppet Users] Re: Should @user with managehome also track the actual home directory?

2011-04-07 Thread Marek Dohojda
One workaround is to also is to set user first to absent that will delete the user. Once that is done, create the user with ensure - present and that will create user with correct home directory. Keep in mind that above doesn't delete a home directory either so all you really loose is the time

Re: [Puppet Users] Managing directories, recursively?

2011-03-31 Thread Marek Dohojda
First of all it isn't a great idea to use recursive if there are a lot of files/directories. Puppet does a pretty bad job on that, and it will eat your CPU. It is better to launch external program such as: rsync to perform this function. However if you only have few directories or files this is

[Puppet Users] mccollective

2011-03-14 Thread Marek Dohojda
I hope that someone can help me here. in mcollective server.cfg I have following: identity = fqdn When I do mc-inventory (or any other function) the host name says: fqdn. If i put hostname itself in it than that works, however that would mean I have to fill in that field on every server. Of

Re: [Puppet Users] mccollective

2011-03-14 Thread Marek Dohojda
D'OH! That worked like a champ! thank you. On Mon, Mar 14, 2011 at 11:25 AM, Sergey Zhuga sergey.zh...@gmail.comwrote: Hi, You can don't specify this parameter. It will be taken from system configuration. On 14.03.2011 19:08, Marek Dohojda wrote: I hope that someone can help me here

[Puppet Users] ERB Parsing xml

2011-01-07 Thread Marek Dohojda
Hi I am wondering if erb templates can parse an xml document, and input a valid variable from within it? Could someone please point me in the right direction? Thank you kindly -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-25 Thread Marek Dohojda
Personally I kinda hope that Puppet can change the versioning system. So that it is easier to know which version is major and which minor. As far as how far back support should go, I would say that client/server should be at least 1 major version behind.

Re: [Puppet Users] ERROR OpenSSL::SSL::SSLError: tlsv1 alert unknown ca

2010-11-13 Thread Marek Dohojda
/site_ruby/1.8/puppet/application.rb:217:in `run' /usr/sbin/puppetmasterd:66 I am hitting my head against the wall. I have no clue what I am missing. I removed everything, and recreated everything from scratch and still nothing. On Thu, Nov 11, 2010 at 9:21 PM, Marek Dohojda chro...@gmail.com

Re: [Puppet Users] ERROR OpenSSL::SSL::SSLError: tlsv1 alert unknown ca

2010-11-13 Thread Marek Dohojda
, at 4:48 PM, Marek Dohojda wrote: further research on this: I think the issue is with the certificates. Although I have no idea what. I removed /var/lib/puppet/ssl directory and recreated it. When a client tries to get catalog I get the following error: [2010-11-13 19:31:22] ERROR

[Puppet Users] ERROR OpenSSL::SSL::SSLError: tlsv1 alert unknown ca

2010-11-11 Thread Marek Dohojda
Puppet 0.25.3-2 I accidentally removed puppet (didn't notice that removing ruby also removes puppet, yes stupid). And I re-installed. All the files are the same. That includes classes and configuration. However I can't seem to get things working again. here is what I done removed

Re: [Puppet Users] ERROR OpenSSL::SSL::SSLError: tlsv1 alert unknown ca

2010-11-11 Thread Marek Dohojda
new SSL has been created I confirmed it and tested it. From: Teyo Tyree Sent: Thursday, November 11, 2010 9:09 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] ERROR OpenSSL::SSL::SSLError: tlsv1 alert unknown ca On Thu, Nov 11, 2010 at 4:56 PM, Marek Dohojda chro

Re: [Puppet Users] /var/lib/puppet/clientbucket

2010-10-29 Thread Marek Dohojda
Thank you so much! That works great. I do not need a backup at all. From: Nigel Kersten Sent: Wednesday, October 27, 2010 8:41 AM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] /var/lib/puppet/clientbucket On Tue, Oct 26, 2010 at 11:30 PM, Marek Dohojda chro...@gmail.com

[Puppet Users] /var/lib/puppet/clientbucket

2010-10-27 Thread Marek Dohojda
Hello everyone I looked online, but didn't see any solution to the problem of /var/lib/puppet/clientbucket filling up. After a while that directory is getting very big, 3-4gigs. I have to shutdown puppet and remove everything. Is there a way to either limit the size of this directory, or

Re: [Puppet Users] best way to include a variable in many modules ?

2010-09-24 Thread Marek Dohojda
I accomplish this with a Environment variable. First you define environments like PROD/PRE and then for each machine in an environment you simply define that one variable (which for me is gather from an app definition). Than I setup a template for each environment.

[Puppet Users] Environmental Variables

2010-09-07 Thread Marek Dohojda
Hi Everybody, I been looking through google for better part of the day but I haven't been able to find an answer to my problem. I need an environmental variable to be present in puppet, so that yum works correctly. However after reboot puppet doesn't read /etc/profile and starts without this

[Puppet Users] User Password

2010-06-17 Thread Marek Dohojda
Hello Is there any way to have a user with two different passwords. I have a user that is present in our prod and non prod environments. However the password for non-prod is different than prod. Anyway I can arrange that in puppet? -- You received this message because you are subscribed

Re: [Puppet Users] httpd automatically enabled

2010-06-15 Thread Marek Dohojda
Hmm, maybe I am just going insane. I will go through everything again to be sure that this isn't happening. On Tue, Jun 15, 2010 at 11:30 AM, Peter Meier peter.me...@immerda.chwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi default HTTPD is enabled by default, even though none of