[Puppet Users] Up and running with puppet

2011-08-31 Thread AJ
I am just getting started with Puppet, went through the install on a SuSE Linux (11.1) system. I wanted to use the web console but run into this error: "Ruby on Rails application could not be started" "Permission denied - /opt/puppet/share/puppet-dashboard/config/ database.yml" I've checked the pe

[Puppet Users] Re: known modules repositories

2008-09-09 Thread AJ
Thanks for updating the page. The Koumbit one doesn't work for me.. Regards, AJ On 10/09/2008, at 3:48 AM, The Anarcat <[EMAIL PROTECTED]> wrote: > So it seems a few people have developped a good few modules on their > own, something I clumsily complained about earlier...

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread Aj
You'll definitely be wanting to setup reporting, even just the log type to get your clients puppet logs back on the master. On 18/09/2008, at 7:31 AM, josh <[EMAIL PROTECTED]> wrote: > > With almost 700 nodes this isn't an option. The whole point of > installing puppet in the first place was

[Puppet Users] Re: Multiple Service[named] resources not conflicting ??

2008-09-22 Thread Aj
You'll want to have one inherit the parent (named) and use the overide syntax on the resources. class named::hpc inherits named { Service['named'] { enabled => false } } Regards, Aj On 23/09/2008, at 3:25 AM, "Chad Huneycutt" <[EMAIL PROTECTED]> wrot

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

2008-10-10 Thread Aj
Are you using Webrick? If so, use Mongrel! There's a wiki page on it (UsingMongrel iirc). I'd recommend nginx as your proxy loadbalancer. On 11/10/2008, at 12:3 AM, "Kenneth Holter" <[EMAIL PROTECTED]> wrote: > > Hello list. > > > We're running puppet version 0.24.4, and are having trouble

[Puppet Users] Re: The puppet equivalent of mkdir -p

2008-10-11 Thread Aj
full path into an array of resources to be managed, to cut down on typing/repetition. I recall Paul Lathrop was working on upwards recursion a while back.. There's a ticket open with some details in Redmine. Regards, AJ On 12/10/2008, at 4:47 AM, Peter Meier <[EMAIL PROT

[Puppet Users] Re: Removing a user from a group

2008-10-12 Thread Aj
Check the type ref, there is a membership => param that'll do this. On 13/10/2008, at 4:03 PM, "Brian Mathis" <[EMAIL PROTECTED]> wrote: > > How does one remove a user from a group? > > An example would be that I have user "joe" defined like this: >@user { "joe": >ensur

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

2008-10-14 Thread Aj
Interesting, thanks. How does it scale compared to say Munin? On 15/10/2008, at 8:42 AM, Mark Plaksin <[EMAIL PROTECTED]> wrote: > > Thanks to Luke for giving us permission to send our super-rad press > release to his list! > > Since our system was written with sysadmins in mind we thought you

[Puppet Users] Re: Have a good workaround for network service on Fedora?

2008-10-17 Thread Aj
Not really valid for the network/networking (debian) service - there is no daemon, unless you count dhcpcd / networkmanager & friends. As to the original question, I ship a modified version of the init scripts for Ubuntu to do some $(ip link) parsing, also one-count pings to the default gat

[Puppet Users] Re: RHEL4 = Use "yum"

2008-10-28 Thread Aj
If I understand ya, you probably want: Package { provider => 'yum' } To set the defaults for all packages. On 29/10/2008, at 8:37 AM, "Tiago Cruz" <[EMAIL PROTECTED]> wrote: > Hello guys, > > I would like to configure my puppet to use "yum" instead > "up2date" (default RHEL4). > > How can

[Puppet Users] Re: How to duplicate the 'parameter absent' behavior of user

2008-11-03 Thread Aj
Can't undef only be used with the inheritance syntax? The closest we have to initializing to undefined is an empty string ('') - you can compare this quite easily in .6 - check the language tut - but you need to do a case/selector for comparism pre-.6 E.g.; case $uid { '': { user {

[Puppet Users] Re: Reference array values

2008-11-04 Thread Aj
It's not a bug - $name is only set by defines. On 5/11/2008, at 4:23 AM, Marcin Owsiany <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 04, 2008 at 04:01:06PM +0100, Thomas Bellman wrote: >> >> Marcin Owsiany wrote: >> >>> On Tue, Nov 04, 2008 at 06:03:24AM -0800, Jeff wrote: How do I reference

[Puppet Users] Re: How to duplicate the 'parameter absent' behavior of user

2008-11-04 Thread Aj
As my reply soriginally tated, undef is part of the override syntax and as such is only valid in an inherited, overridden resource. I.e.; not a bug. Perhaps a feature request, although I personally believe that empty string assignment is sufficient. On 5/11/2008 at 8:44 AM, Tim Harper <[EM

[Puppet Users] Re: use of arrays with templates

2008-11-05 Thread Aj
search my.domain.tld <% nameserver.each do |n| %> nameserver <%= n %> <% end %> On 6/11/2008, at 7:52 AM, tek-ops <[EMAIL PROTECTED]> wrote: > > no one has dealt with this before? > > On Nov 3, 4:39 pm, tek-ops <[EMAIL PROTECTED]> wrote: >> I appear that this will only work if the array is decla

[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread Aj
This notification will only fire if the managed parameters for the directory are out of sync, e.g. Owner/group/modes/file type (link, file). Subscribe also implies require, FYI =) On 7/11/2008, at 8:38 AM, joe <[EMAIL PROTECTED]> wrote: > > It's a defined file resource without a source para

[Puppet Users] Re: wildcards in file type?

2008-11-06 Thread Aj
s well. > > Is there a way to have puppet monitor files it isn't sourcing? > > On Nov 6, 3:41 pm, Aj <[EMAIL PROTECTED]> wrote: >> This notification will only fire if the managed parameters for the >> directory are out of sync, e.g. Owner/group/modes/file type (link,

[Puppet Users] Re: puppetmasterd taking a lot of memory

2008-11-14 Thread Aj
I've noticed a significant drop in memory usage since disabling storeconfigs (and thus, rails 'n stuff). Previously I'd have to crontab restart the masters. On 15/11/2008, at 9:51 AM, Loobster <[EMAIL PROTECTED]> wrote: > > I installed the blastware packages and then used gary's CSWpuppet >

[Puppet Users] Re: deleting users secondary groups

2008-11-18 Thread Aj
You'll want to use the membership parameter to achieve this, check the type ref. Regards, Aj On 18/11/2008, at 9:57 PM, Arnau Bria <[EMAIL PROTECTED]> wrote: > > On Mon, 17 Nov 2008 17:24:27 -0600 > Luke Kanies wrote: > Hi Luke, > >>> Is delete / recrea

[Puppet Users] Re: disable client runs

2008-11-19 Thread Aj
--no-client (puppetd --help) On 20/11/2008, at 8:23 AM, "Casey Deccio" <[EMAIL PROTECTED]> wrote: > What is the appropriate client setting for runinterval to allow me > to disable client runs? I would like to have the puppetd daemon > running but only have it check in when triggered by anot

[Puppet Users] Re: best practice for keeping keeping puppet up to date?

2008-11-19 Thread Aj
Backport via prevu into a local repository - I recommend reprepro for managing a repo, as it has a plethora of documentation. Micah and Thom have been doing a great job keeping the debian QA up to date with puppet (packages.qa.debian.org) Regards, Aj On 20/11/2008, at 12:14 PM, Paul

[Puppet Users] Re: usage of '+>' ?

2008-11-26 Thread Aj
That behavior was added in .6 Regards, AJ On 26/11/2008, at 9:31 PM, Udo Waechter <[EMAIL PROTECTED] osnabrueck.de> wrote: > > Oh, sorry: > > - puppetmaster is 0.24.5 (Debian etch) > - puppet clients are 0.24.5 (debian), and 0.24.4 (ubuntu hardy) > > Bye, &g

[Puppet Users] Re: usage of '+>' ?

2008-11-26 Thread Aj
That behaviour is used in resource overrides (inheritance) Given: class x { user { test: groups => blah } } Additional values can be added in an override class. class y inherits x { User['test'] { groups +> blah2 } } Regards, AJ On 26/11/2008, at 10:05 PM, Udo

[Puppet Users] Re: Problem starting puppetmasterd with --servertype=mongrel

2009-01-04 Thread Aj
The Mongrel gem. Regards, AJ On 5/01/2009, at 8:05 AM, windowsrefund wrote: > > Does anyone know what I'm missing? > > Starting puppetmaster: /usr/lib/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `gem_original_require': no such file to load > -- mongrel (Miss

[Puppet Users] Timeout after stored state

2008-09-07 Thread AJ Christensen
/lib/ruby/1.8/net/http.rb:1035:in `request' from /usr/lib/ruby/1.8/net/http.rb:992:in `post2' ... 38 levels... from /usr/lib/ruby/1.8/puppet/network/client/master.rb:254:in `run' from /usr/lib/ruby/1.8/sync.rb:230:in `synchronize' from /usr

[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] Re: README example

2008-09-08 Thread AJ Christensen
That repo (git://oppermannen.com/modules/git.git/) <http://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 > w

[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 ne

[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: 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: 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: 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 eve

[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

[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 pre

[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 nag

[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

[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 p

[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 fam

[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: 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

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

2009-03-04 Thread AJ Christensen
onality of Augeas entirely, but perhaps expose it through limited resources, that is unless we can lock it down a little. There are ruby bindings, yes? Regards, AJ On 4/03/2009, at 5:55 PM, David Lutterkort wrote: > > On Wed, 2009-03-04 at 12:46 +1100, Avi Miller wrote: >> Hi David,

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

2009-03-04 Thread AJ Christensen
No. Regards, AJ On 5/03/2009, at 12:18 AM, paul matthews wrote: > I could be out of line in saying this but rather than developing an > alternate to Puppet, would your efforts not be better served > producing something that is complementary. The puppet equivalent o

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

2009-03-04 Thread AJ Christensen
To clarify; if you're upset by my behavior - this was meant to be an off-list reply. I apologies if I've offended anyones sensibilities. Puppet tends to gather some of the smartest minds around architecture. Regards, AJ On 5/03/2009, at 12:18 AM, paul matthews wrote: > I co

[Puppet Users] Announce: puppet-client-tools (PuppetDB CLI) 1.0.1 is available!

2016-06-28 Thread AJ Roetker
puppet-client-tools 1.0.1 (PuppetDB CLI) - 2016-06-28 Installation Please see the PuppetDB documentation for installation and usage instructions. <

[Puppet Users] Re: Problems with new PE 2016.4 install

2016-11-03 Thread AJ Johnson
Hi Jonathan - Can you run facter -p (interested in what mountpoints is) and `mount`, and paste the output. Also can you run: puppet apply -e 'notify { "${::mountpoints}": }; notify { "${::mountpoints["/"]}": }' Thanks, -aj On Thursday, Novemb

[Puppet Users] [announce] The PuppetDB module master branch (5.x) gets breaking changes

2015-05-21 Thread AJ Roetker
The upcoming release of the PuppetDB module, `puppetlabs-puppetdb`, will be getting some breaking changes to prepare for the release of `PuppetDB 3.0.0`. We will be creating a`stable` branch in the module's Github repo that will function as the module's `4.x` branch. **Any configuration currentl

[Puppet Users] [ANN] "puppetlabs-puppetdb" module v5.0.0 released

2015-07-09 Thread AJ Roetker
“puppetlabs-puppetdb” v5.0.0 has been released! https://github.com/puppetlabs/puppetlabs-puppetdb/blob/5.0.0/CHANGELOG v5.0.0 - 2015/07/09 This is a major release to provide default support for PuppetDB 3.0.0, so lots of changes have been introduced. Ensure you read the upgrade guide provided

[Puppet Users] Announce: PuppetDB 3.0.2 is available!

2015-08-04 Thread AJ Roetker
PuppetDB 3.0.2 - August 4, 2015 PuppetDB 3.0.2 Downloads Available in native package format as part of Puppet Collection 1 (PC1). More information on the PC1 repositories is available here: http://bit.ly/1HQJDNb Binary tarball: http://downloads.puppetlabs.com/puppetdb/

[Puppet Users] Announce: puppet-client-tools (PuppetDB CLI) 1.0.0 is available!

2016-04-07 Thread AJ Roetker
puppet-client-tools 1.0.0 (PuppetDB CLI) - 2016-04-07 Summary Today we released the initial release of puppet-client-tools which for includes subcommands for querying and administering PuppetDB. The PuppetDB CLI is inte

[Puppet Users] Re: Announce: puppet-client-tools (PuppetDB CLI) 1.0.0 is available!

2016-04-07 Thread AJ Roetker
On Thu, Apr 7, 2016 at 5:20 PM, AJ Roetker wrote: > puppet-client-tools 1.0.0 (PuppetDB CLI) - 2016-04-07 > <https://github.com/puppetlabs/puppetdb-cli/blob/stable/CHANGELOG.md#summary> > Summary > > Today we released the initial release of puppet-client-tools which for &

[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]