[Puppet Users] Re: Using Augeas type to update sshd_config's AllowGroups

2009-03-04 Thread AJ Christensen
hing which can > only be considered as a rival, seems somehow not quite right > > Paul > > 2009/3/4 AJ Christensen > > Hi David, > > Not sure if you looked at it, but I'm one of the developers of Chef; > an alternate ruby-based configuration management / system

[Puppet Users] Re: Using Augeas type to update sshd_config's AllowGroups

2009-03-04 Thread AJ Christensen
7;s the > case. > > Gaining knowledge from this group, to work on something which can > only be considered as a rival, seems somehow not quite right > > Paul > > 2009/3/4 AJ Christensen > > Hi David, > > Not sure if you looked at it, but I'm one of the

[Puppet Users] Re: Using Augeas type to update sshd_config's AllowGroups

2009-03-04 Thread AJ Christensen
Hi David, Not sure if you looked at it, but I'm one of the developers of Chef; an alternate ruby-based configuration management / systems integration framework. What work is involved in getting a functional Augeas resource? I'm not sure we want to expose the level of functionality of Augea

[Puppet Users] Re: problem changing group membership for linux users

2009-03-01 Thread AJ Christensen
I believe you can only use git:// through an HTTP proxy when it supports the CONNECT method. It may be possible to clone via HTTP, but push operations are only possible over HTTP to DAV. Regards, AJ On 2/03/2009, at 7:10 PM, Sebastian Krueger wrote: > > Hi everyone, > > so I'm trying to

[Puppet Users] Re: directory creation - difference in operation between RHEL5 and Solaris

2009-02-24 Thread AJ Christensen
You probably wanna use ensure => directory, as it implies present, and ensure present will make a file IIRC On 25/02/2009, at 6:27 PM, chakkerz wrote: > > The following code, >file >{ "/var/log/sysinfo": >owner => root, >

[Puppet Users] Re: Solaris SSL error

2009-02-12 Thread AJ Christensen
Is there any particular reason you're copying the certificates and whatnot by hand instead of using the built in mechanisms? Regards, AJ On 13/02/2009, at 11:12 AM, chakkerz wrote: > > i've copied the ca.pem from the master to the client. Now i'm back to > the familar: > > r...@puppetsun:/va

[Puppet Users] Re: What is an "external node tool"

2009-01-19 Thread AJ Christensen
Woops, forgot this page too: http://reductivelabs.com/trac/puppet/wiki/ExternalNodes Has an example script which spits out some YAML. Regards, AJ On 20/01/2009, at 3:53 PM, kevin wrote: > > I've been a bit confused by this terminology: What exactly is such a > tool? What purpose does it se

[Puppet Users] Re: What is an "external node tool"

2009-01-19 Thread AJ Christensen
An external node tool provides classes and parameters (variables) for nodes. It's a cool way of getting data from external sources onto your nodes. iClassify - https://wiki.hjksolutions.com/display/IC/Home Regards, AJ On 20/01/2009, at 3:53 PM, kevin wrote: > > I've been a bit confused by

[Puppet Users] Re: some ideas for facts

2009-01-08 Thread AJ Christensen
How about check_puppet.rb in ext/ ? This one runs on the clients =) Regards, AJ On 9/01/09 3:16 AM, "Helmut Lichtenberg" wrote: > > James Turnbull schrieb am 07. Jan 2009 um 22:03:03 CET: >> windowsrefund wrote: >>> I've got a check defined in nagios that allows me to determine if a >>> pup

[Puppet Users] Re: inherit and override?

2009-01-06 Thread AJ Christensen
class x inherits y { Resource["name"] { parameter => "newvalue" } } http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#id6 Regards, AJ On 7/01/09 3:18 PM, "Ben Beuchler" wrote: > > I'm fairly certain I encountered the preferred pattern for inheriting > from a class

[Puppet Users] Re: Could not request certificate: Certificate does not match private key

2008-11-19 Thread AJ Christensen
Make --server (client) match --certname (master) Regards, AJ 2008/11/20 sprock <[EMAIL PROTECTED]> > > hello, > > I've just added a new client to an existing configuration but cannot > get it recognised. Both client and server are running 0.24.5, > installed on gentoo linux using portage. > > T

[Puppet Users] Re: Puppet for password management

2008-10-03 Thread AJ Christensen (Fujin)
I wrote a parser func that relies on mkpasswd on the master ages ago: http://pastie.org/pastes/222996 ## mkpasswd("password", "12345678") # needs an 8-char salt *always* module Puppet::Parser::Functions newfunction(:mkpasswd, :type => :rvalue) do |args| %x{/usr/bin/mkpasswd -H MD5 #{args[0]

[Puppet Users] Re: something wrong with puppet client or Server

2008-09-30 Thread AJ Christensen
Best. Non-idempotent. Exec. Ever. unless => "/bin/grep 'my line' /etc/vfstab" in your exec{}. Regards, AJ 2008/10/1 Andrew Shafer <[EMAIL PROTECTED]> > Exec is not going to be idempotent unless you add the logic. > > You told Puppet to run that script every time, which adds the line. > > > On T

[Puppet Users] Re: external node trouble

2008-09-28 Thread AJ Christensen
[EMAIL PROTECTED] /tmp$ irb -ryaml irb(main):001:0> classes = [ "baseserver", "stg2server" ] => ["baseserver", "stg2server"] irb(main):002:0> puts classes.to_yaml --- - baseserver - stg2server => nil AFAIK, Puppet uses YAML.load / YAML.dump for object manipulation. "claseses: [baseserver, stg2ser

[Puppet Users] Re: external node trouble

2008-09-28 Thread AJ Christensen
gt; ruby_obj = YAML::load(yaml_obj) => ["baseserver", "stg2server"] irb(main):006:0> classes == ruby_obj => true 2008/9/29 AJ Christensen <[EMAIL PROTECTED]> > [EMAIL PROTECTED] /tmp$ irb -ryaml > irb(main):001:0> classes = [ "baseserver", "

[Puppet Users] Re: Using git to manage puppet manifests.

2008-09-18 Thread AJ Christensen
I use a rake task: desc "Install your manifests" task :install => [ :update, :test ] do sh %{git push} sh %{ssh #{MASTER} 'cd /etc/puppet; sudo git pull'} end 2008/9/19 Leah <[EMAIL PROTECTED]> > > I've set up puppet and had it running, but never bothered to set up an > version control. I've

[Puppet Users] Re: Managing SSH keys

2008-09-11 Thread AJ Christensen
You'll need to generate keys for distribution, automating this somehow by calling out to ssh-keygen I presume. Regards, AJ 2008/9/12 Kenneth Holter <[EMAIL PROTECTED]> > > I've gotten Puppet to distribute server A's public SSH key on some of the > nodes in the network. For password-less login to

[Puppet Users] Re: README example

2008-09-08 Thread AJ Christensen
That repo (git://oppermannen.com/modules/git.git/) doesn't work for me either, Git 1.5.6.GIT Regards, AJ 2008/9/9 Blake Barnett <[EMAIL PROTECTED]> > > You are most likely using a version of Git that is too far out of sync > with the repository. 1.5.x is

[Puppet Users] Re: Timeout after stored state

2008-09-07 Thread AJ Christensen
my original email before coffee ;) Regards, AJ 2008/9/8 Adam Jacob <[EMAIL PROTECTED]> > Perhaps an overloaded puppet master? > > The stack trace is showing that your client can't reach the puppet master > via http.. > > Adam > > > On Sun, Sep 7, 2008 at 7:05

[Puppet Users] Timeout after stored state

2008-09-07 Thread AJ Christensen
So, I'm currently scratching my noodle regarding the following unhelpful stack trace from `puppetd -t --no-noop --trace --debug`: debug: //File[/var/lib/puppet/modules]: Autorequiring User[root] debug: //Node[gatekeeper]/monitoring/munin::client/munin::plugins::linux/munin::plugins::interfaces/Muni