[Puppet Users] Re: how to update solaris packages without keeping local copies

2008-10-15 Thread Ohad Levy
you could create a repository based on pkg-get binary (blastwave). Cheers, Ohad On Thu, Oct 16, 2008 at 7:47 AM, Richard Doty <[EMAIL PROTECTED]> wrote: > > Greetings, > > I have a solaris package stored on a puppet server. I'd like > to be able to maintain the package on a client system withou

[Puppet Users] Re: Templates if/else

2008-10-15 Thread Andrew Shafer
Gary, The templates are using standard ERB, which essentially gives you the ability to do arbitrary conditional logic using ruby. Anything between <% %> is logic code and <%= %> is evaluated and printed. <% if condition %> <%= print_this %> <% else %> default <% end %> Play with ERB, it is very

[Puppet Users] Templates if/else

2008-10-15 Thread Gary Richardson
Hey, I'd like to do something like this in my template: <%= if has_variable?('some_variable') then %><%= some_variable%><% else %>default<% end %> http://reductivelabs.com/trac/puppet/wiki/PuppetTemplating talks about conditionals, but not so much about if/else. Any suggestions? Thanks! --~--

[Puppet Users] how to update solaris packages without keeping local copies

2008-10-15 Thread Richard Doty
Greetings, I have a solaris package stored on a puppet server. I'd like to be able to maintain the package on a client system without having to also keep a copy of the package file on the client system. (think lots and lots of packages) Checksums work okay for noticing changes on the fileserve

[Puppet Users] Re: *nix stats + RRDtool + AJAX = YaketyStats

2008-10-15 Thread Sam Rowe
On Wed, Oct 15, 2008 at 5:21 PM, udo waechter <[EMAIL PROTECTED]> wrote: > AH, what a wonderful tool. > I am interested in Jart: > As I understand it, it uses the RRDs that are created by yaketystats? > If so, it should be possible to rewrite it such that it might be able to use > already-existing

[Puppet Users] Re: *nix stats + RRDtool + AJAX = YaketyStats

2008-10-15 Thread udo waechter
AH, what a wonderful tool. I am interested in Jart: As I understand it, it uses the RRDs that are created by yaketystats? If so, it should be possible to rewrite it such that it might be able to use already-existing munin-rrds? I did not look into the code of Jart, could you give me some start

[Puppet Users] Re: Cron every minute

2008-10-15 Thread Mike Renfro
On 10/15/2008 2:09 PM, Stephen Nelson-Smith wrote: > Can I just do: > > cron { "my-job": > command => "/my/command", > minute => "*", > ensure => "present", > } cron { "my-job": command => "/my/command", ensure => "present", } No minute required. -- Mike Renfro / R&D Engineer, Ce

[Puppet Users] Cron every minute

2008-10-15 Thread Stephen Nelson-Smith
Can I just do: cron { "my-job": command => "/my/command", minute => "*", ensure => "present", } S. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

[Puppet Users] Re: Calling a define multiple times - full

2008-10-15 Thread Evan Hisey
On Mon, Oct 13, 2008 at 7:17 AM, Matt <[EMAIL PROTECTED]> wrote: > Hi Pete, > > I tried that with $myfiles as an array, but as I said, that just executed > the sed command with all of the filenames concatanated. > > I've got a fix at the moment. I've just prefixed multiple execs in the > define m

[Puppet Users] Re: Noob with probs

2008-10-15 Thread Nigel Kersten
I should also add this has been committed upstream. http://projects.reductivelabs.com/issues/show/1649 If you're connected to a large directory service with OS X, you're going to want to grab something newer than puppet 0.24.5, as a pathological performance problem was fixed upstream after this

[Puppet Users] Re: Noob with probs

2008-10-15 Thread Nigel Kersten
On Tue, Oct 14, 2008 at 10:49 PM, Deimos <[EMAIL PROTECTED]> wrote: > > On Aug 29, 6:07 am, "Paul Lathrop" <[EMAIL PROTECTED]> wrote: >> Completely remove all traces of puppet and reinstall. Probably some >> cruft from older versions is sticking around and messing things up. >> Also, use the canon

[Puppet Users] Re: Running multiple puppetmasters with nginx/mongrel

2008-10-15 Thread Brice Figureau
On Wed, 2008-10-15 at 12:15 +0200, Kenneth Holter wrote: > The reply was very helpful. Thank you very much. > > Regarding a separate puppetmaster for test-environments: I thought I'd > do something like the following, and add one or more puppetmasters to > the "puppet-test1" pool: > ser

[Puppet Users] Re: *nix stats + RRDtool + AJAX = YaketyStats

2008-10-15 Thread Mark Plaksin
On Oct 14, 5:49 pm, Aj <[EMAIL PROTECTED]> wrote: > Interesting, thanks. How does it scale compared to say Munin? We haven't run Munin so I'm not sure; maybe you can tell us how it compares? :) We do have this sizing page which describes our setup: http://yaketystats.org/redmine/wiki/yaketystats

[Puppet Users] Re: custom function question

2008-10-15 Thread Brice Figureau
On Fri, 2008-10-03 at 15:32 -0500, Luke Kanies wrote: > On Oct 3, 2008, at 2:02 PM, Grumpus wrote: > > > > > Using puppet 0.24.5 (server and client). I've written a trivial custom > > function: > > > > module Puppet::Parser::Functions > >newfunction(:seq, :type => :rvalue) do |args| > >

[Puppet Users] Re: Running multiple puppetmasters with nginx/mongrel

2008-10-15 Thread Kenneth Holter
The reply was very helpful. Thank you very much. Regarding a separate puppetmaster for test-environments: I thought I'd do something like the following, and add one or more puppetmasters to the "puppet-test1" pool: server { listen 8150; ssl_verify_client on;

[Puppet Users] Re: Puppetmaster and clients running really slow

2008-10-15 Thread Brice Figureau
On Tue, 2008-10-14 at 10:22 -0700, Paul Lathrop wrote: > On Fri, Oct 10, 2008 at 4:39 AM, Kenneth Holter <[EMAIL PROTECTED]> wrote: > > > > Hello list. > > > > > > We're running puppet version 0.24.4, and are having trouble with > > puppetmaster running really slow. The puppetmaster has been runni

[Puppet Users] Re: Running multiple puppetmasters with nginx/mongrel

2008-10-15 Thread Brice Figureau
Hi, Although I don't run puppet behind nginx, I know well nginx (for using it as a proxy for several years, and for contributing a module). On Wed, 2008-10-15 at 11:12 +0200, Kenneth Holter wrote: > I have a simple question about running multiple puppetmasters with > nginx/mongrel. The sample ng

[Puppet Users] Re: Calling a define multiple times - full

2008-10-15 Thread Matt
Paul, You're correct, I did indeed fall in to thinking that defines act similar to functions. I wanted to create a generic definition that basically did a linux 'sed', but the only way I could do it with an array of files was by using the $name array. I was having issues with this as I had multi

[Puppet Users] Running multiple puppetmasters with nginx/mongrel

2008-10-15 Thread Kenneth Holter
Hello list. I have a simple question about running multiple puppetmasters with nginx/mongrel. The sample nginx config file found on the puppet web site defines something like this: upstream puppet-production { server 127.0.0.1:18140; server 127.0.0.1:18141; server 127.0.