[Puppet Users] Errors on both client and server when setting up initial puppet infrastructure

2011-11-27 Thread Tim Uckun
Hey all. I am trying to set up puppet for the first time and I am having the following issues. On the client when I run it I get this error. Running puppet agent it should configure itself now /usr/local/lib/ruby/gems/1.9.1/gems/facter-1.6.3/lib/facter/util/config.rb:7: Use RbConfig instead of

Re: [Puppet Users] Starting out with puppet and capistrano

2011-11-09 Thread Tim Uckun
Oh what about the SSL directory? Should I attempt to manage that or just let puppet manage it. Also does it make more sense to keep that in /etc/puppet or /var/lib/puppet? Cheers. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

Re: [Puppet Users] Starting out with puppet and capistrano

2011-11-09 Thread Tim Uckun
Thanks Jacob. I will give this a go and see what happens. Cheers. On Thu, Nov 10, 2011 at 11:18 AM, Jacob Helwig wrote: > On 2011-11-09 13:38 , Tim Uckun wrote: >> Hey guys. >> >> I am starting out with puppet and am in the process of writing a >> bootstrap s

[Puppet Users] Starting out with puppet and capistrano

2011-11-09 Thread Tim Uckun
Hey guys. I am starting out with puppet and am in the process of writing a bootstrap script for the clients and a capistrano recipe for the server. I have the client bootstrap done which installs ruby, puppet, sets a host name, and then points the client at the puppet server and now I am in the pr

[Puppet Users] Re: Puppet client running into an error but not reporting it.

2009-09-25 Thread Tim Uckun
> you can also parse the client log files, but I usually get a notification > (or see it in Foreman) when a client did not send a report in the last XX > minutes, than I can look into the client and see whats wrong. I was thinking I would might like to write my own report "engine" but I can't se

[Puppet Users] Puppet client running into an error but not reporting it.

2009-09-24 Thread Tim Uckun
I have a situation where there is a problem with one of my manifests. The puppet client throws up an error but does not report. I don't get an email notification of the problem even though I have all: setting on the tagmail and I don't see any trace of a report on the syslog either. This is the o

[Puppet Users] Re: A couple of persistent errors I can't seem to get rid of.

2009-09-14 Thread Tim Uckun
> I've seen the same; I saw somewhere (but can't find again) comments from the > puppet devs that if you don't have plugins > to sync, you should turn of pluginsync otherwise you'll get this error > message.  The fix would be so convoluted as to be > ridiculous.  Or something like that.  Damn, w

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Tim Uckun
> > which kind of graphs? something like how many servers are X or Y etc? Things like memory usage, free disk space etc. Actually since zabbix can be configured to accept, graph, and alert on just about anything you can do things like number of postgres connections, the size of a table, the size

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Tim Uckun
> > What do you mean by over WAN? for facts? reports or both? Neither I think. I mean kick start a machine outside of the local LAN. I have numerous data centers in different countries. My puppermaster is sitting in one country, I want to kick off a new server in another country. Both are behind

[Puppet Users] A couple of persistent errors I can't seem to get rid of.

2009-09-14 Thread Tim Uckun
The puppetmaster reports the following error. err: Report store failed: Invalid group puppet on setting . Valid groups are service. What is it trying to tell me? I have the following set. storeconfigs=true dbadapter = sqlite3 dblocation = /var/puppet/storeconfigs.sqlite tagmap=/etc/puppet/tagma

[Puppet Users] Re: Controlling the frequency of different tasks.

2009-09-14 Thread Tim Uckun
> Are you perhaps looking for the "schedule" meta-parameter: > http://reductivelabs.com/trac/puppet/wiki/TypeReference#available-metaparameters Yea!. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Controlling the frequency of different tasks.

2009-09-14 Thread Tim Uckun
I know that the puppet client runs the entire catalog at the frequency you decide but... I do think it would be nice to be able a little more fine grained approach to this. For example I might want to ensure that my package => latest is only run once a day or that some other task is run every fiv

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Tim Uckun
On Tue, Sep 15, 2009 at 5:37 AM, Richard Wurman wrote: > > I'm new to puppet in general - I just have a minimal node.pp defined > for 2 clients so far. Before I reinvent the wheel ... is there a good > web UI to facter that everyone uses? I've looked over foreman and I > figure since it's new, it

[Puppet Users] Re: Configuration parse testing

2009-09-14 Thread Tim Uckun
> Be great if these other suggestions made it onto the wiki too. > Done. http://reductivelabs.com/trac/puppet/wiki/Recipes/SubversionCommitHooks I am not the most eloquent person in the world so feel free to modify it as you wish. --~--~-~--~~~---~--~~ You recei

[Puppet Users] Re: modifying a client's config file

2009-09-13 Thread Tim Uckun
>        augeas {"/boot/grub/grub.conf": >                context => "/files/boot/grub/grub.conf", >                changes => [ "set timeout 3", >                        ], >                require => File["/usr/share/augeas/lenses/grub.aug"] >                } > > Because of a bug in the current

[Puppet Users] Re: Configuration parse testing

2009-09-13 Thread Tim Uckun
> Try some of the tips at: > > http://reductivelabs.com/trac/puppet/wiki/PuppetVersionControl > One thing you should be careful of is that the syntax check will not catch all mistakes. For example let's say you have an entry like this. file { "dir_colors" : path => "/etc/DIR_COLORS",

[Puppet Users] Re: Puppet status reporting

2009-09-13 Thread Tim Uckun
> Hi, >        I'd like to have some sort of "status report" GUI for my puppet > installation.  Specifically, I would like to see > a) Any nodes that haven't reported in for a while > b) Any recent instances of having to make unexpected changes (restart a > stopped service, resetting some import

[Puppet Users] Re: Puppet / EC2 noob question

2009-09-12 Thread Tim Uckun
> Mean while the script on the puppet master is waiting for the signing > request from X, and as soon as it gets it, it signs it. > Hope that helps. > On Fri, Sep 11, 2009 at 8:07 AM, Chris wrote: Presuming your script was using wget or something similar to install the puppet client why don't y

[Puppet Users] Re: What happens if puppet fails half way into processing a catalog?

2009-09-12 Thread Tim Uckun
On Sat, Sep 12, 2009 at 8:20 AM, Larry Ludwig wrote: > > I think you are alluding to transactions.  This feature does not exist > currently in Puppet. > Sometimes I think system administration is like Make as in "In order to create file X go through these steps". Sometimes I think it's like a

[Puppet Users] What happens if puppet fails half way into processing a catalog?

2009-09-10 Thread Tim Uckun
If puppet fails half way into processing a catalog the system might be in an unusable state right? For example if it installs a package but not the one that follows it or can't set up the config file for whatever reason it doesn't know how to "undo " the catalog does it? --~--~-~--~~

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-10 Thread Tim Uckun
>> >> I put the bindir into the PATH. Kind of hacky but it works. >> > > What exactly do you mean here? Can you elaborate? I mean I did at export PATH=/usr/local/lib/ruby/gems/1.8/gems/puppet-0.25.0/sbin/;$PATH I suppose an alias would have worked just as well to start with. --~--~-~--~

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-10 Thread Tim Uckun
> Perhaps someone who likes gems can dive in there and propose a patch > since upstream doesn't have much time for it? You know the more I think about this the more I am convinced creating a yum or apt repository is a better way to go. Right now on ubuntu I can do a apt-get install puppet and

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-09 Thread Tim Uckun
> > There is a problem with how Gems handle binaries - Puppet has binaries > in the bin and sbin directories in line with the FHS.  Gems do not > understand the concept of a binary directory other than "bindir" > (usually "bin").  So binaries in the sbin directory are not installed. >  I am workin

[Puppet Users] New 2.5 gem does not create entries into /usr/sbin

2009-09-09 Thread Tim Uckun
Just a heads up. If you do a gem install puppet it does not create the entries into the proper directories. Running install.rb from the tar file does. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Re: /etc puppet or some of the directories can't be symlinks.

2009-09-09 Thread Tim Uckun
> > Is this really that big of a deal?  You can use puppet.conf to > configure where the directories will be, so at worst you have a single > file in /etc/puppet/puppet.conf, or you can start your daemons with -- > config /my/puppet.conf. No it's not a big deal and I have done just that. I just

[Puppet Users] Re: reporting and err tag. [was Silent failure]

2009-09-09 Thread Tim Uckun
> I'm still a little confused, though -- how do you know you're getting > an error if you're not getting any error reports anywhere? I am running the puppetmaster and the puppet non deamonized. In any case I have developed a workaround for this problem by calling the --compile on all my nodes in

[Puppet Users] Re: reporting and err tag. [was Silent failure]

2009-09-07 Thread Tim Uckun
I hate to bump my own post but Can anybody point me in the direction of how to make the "err:" tag mailing work. I can get the "all:" tag working but when I force an error the "err:" tag doesn't fire. See my previous email about the way I have set up the configuration. Thanks. --~--~---

[Puppet Users] Re: Silent failure

2009-09-07 Thread Tim Uckun
On Mon, Sep 7, 2009 at 6:53 PM, Andrew Shafer wrote: > > If you turn off pluginsync = true, does it work? or you just don't get > that message? The error about plugins go away but the "from_s" debug messages remain. > What version of Ruby are you running? > > whatever apt-get gives me. I am p

[Puppet Users] reporting and err tag. [was Silent failure]

2009-09-06 Thread Tim Uckun
>> > As long as you are on a recent version there is an 'err' tag, which you > can use in conjunction with tagmail to mail you any  errors. I send mine > to a distribution group that ends up going to my team mates. > I am trying to implement this but I am not getting any logging or reporting at a

[Puppet Users] Re: Silent failure

2009-09-06 Thread Tim Uckun
> If you are running with --noop, puppet shouldn't do anything. > > I'd also delete 'ensure => file,', which might be confusing things as well. > > Try running with --no-daemonize which will explicitly give you logs on > stdout. That will at least give us the output when the file resource > is eva

[Puppet Users] /etc puppet or some of the directories can't be symlinks.

2009-09-06 Thread Tim Uckun
For development purposes I have set up /etc/puppet to be a symlink to /home/me/puppet/etc. Every time I run puppetmasterd the link id destroyes and the directory gets created from scratch. This also happens if I create a /etc/puppet and create symlinks for the manifests directory So far it hasn

[Puppet Users] Re: Silent failure

2009-09-06 Thread Tim Uckun
>> > As long as you are on a recent version there is an 'err' tag, which you > can use in conjunction with tagmail to mail you any  errors. I send mine > to a distribution group that ends up going to my team mates. > I didn't see anything in the documentation about this but I'll see if I can trac