Re: [Puppet Users] Re: Puppet features

2011-03-03 Thread Douglas Garstang
On Tue, Mar 1, 2011 at 12:52 AM, luke.bigum luke.bi...@fasthosts.co.ukwrote: On Feb 28, 7:50 pm, Luis Miguel Silva luismiguelferreirasi...@gmail.com wrote: Dear all, I'm a software integrator and i'm currently evaluating Puppet to understand how we can potentially integrate our products

Re: [Puppet Users] Updating all packages with Puppet

2011-03-03 Thread Douglas Garstang
On Tue, Mar 1, 2011 at 7:22 PM, Patrick kc7...@gmail.com wrote: On Mar 1, 2011, at 4:58 PM, Giovanni Bordello wrote: Hi folks, I'm very new to Puppet and perhaps what I'm trying to do is a trivial thing. No so much for me though.. I use Puppet 2.6 to manage a bunch of CentOS 5 servers. A

[Puppet Users] Re: Propagating local config changes from a client to the puppetmaster

2011-03-03 Thread donavan
On Mar 2, 5:52 pm, Patrick Connolly patrick.c.conno...@gmail.com wrote: Any thoughts? I like the Git idea, and might pursue that, but wondering if anyone has input :) If you're on EL you may want to look at cft[1]. I thought I saw mention of work to bring ti to Deb based distros as well. I

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.6 - Release Candidate 1 available!

2011-03-03 Thread Stig Sandbeck Mathisen
Jacob Helwig ja...@puppetlabs.com writes: This maintenance release fixes two issues with Puppet 2.6.5. To help with testing on Debian or Ubuntu, I've updated the apt repo at: deb http://people.debian.org/~ssm/repo unstable main deb-src http://people.debian.org/~ssm/repo unstable main --

Re: [Puppet Users] Role-based access in Dashboard

2011-03-03 Thread Owen Smith
Agreed on keeping auth and auth separately pluggable concerns. RADIUS and LDAP are also what I would like for authentication. We'd probably be OK with even an internal authorization system, since that's what our other management apps use. -- O On Mar 2, 2011, at 5:01 PM, Frank Sweetser

Re: Dashboard write API (was Re: [Puppet Users] Role-based access in Dashboard)

2011-03-03 Thread Brian Gupta
We find it frequently useful to be able to set variables from within puppet to communicate information from one module or class to another, or to save state across puppet runs. It also makes cloud management and bootstrapping easier to be able to specify classes/variables from a command line

[Puppet Users] Creating user accounts

2011-03-03 Thread toneee
Hi, I have a small problem, I am creating users with ssh keys and this is working fine, the only problem I have is because i dont set a password and only use sshkeys to login the account created is locked. Is there any way around this? thanks. -- You received this message because you are

[Puppet Users] lsbdistcodename and Debian Squeeze

2011-03-03 Thread FRLinux
Hello all, I use puppetmaster on a Debian Squeeze server (packaged from Debian 2.6.2-4) I am using a template for Debian Servers which works great for Lenny in order to update my sources.list automagically, here goes: deb http://ftp.ie.debian.org/debian %= lsbdistcodename % main contrib

Re: [Puppet Users] Role-based access in Dashboard

2011-03-03 Thread James Bailey
On 2 March 2011 23:59, Trevor Vaughan tvaug...@onyxpoint.com wrote: Beyond what Den pointed out, I would like to see either native (or good instructions) support for authenticating with X.509 PKI certificates. You would need to be able to specify: - The trusted CA chains - The

Re: [Puppet Users] lsbdistcodename and Debian Squeeze

2011-03-03 Thread Nan Liu
On Thu, Mar 3, 2011 at 4:55 AM, FRLinux frli...@gmail.com wrote: Hello all, I use puppetmaster on a Debian Squeeze server (packaged from Debian 2.6.2-4) I am using a template for Debian Servers which works great for Lenny in order to update my sources.list automagically, here goes: deb

Re: [Puppet Users] lsbdistcodename and Debian Squeeze

2011-03-03 Thread Daniel Piddock
On 03/03/11 11:55, FRLinux wrote: Hello all, I use puppetmaster on a Debian Squeeze server (packaged from Debian 2.6.2-4) I am using a template for Debian Servers which works great for Lenny in order to update my sources.list automagically, here goes: deb http://ftp.ie.debian.org/debian %=

[Puppet Users] Darned PSON Message!

2011-03-03 Thread Douglas Garstang
I'm sure it must already be a known bug, but I've been getting this message frequently on the clients: Could not retrieve catalog from remote server: Could not intern from pson: source did not contain any PSON! Happens erratically but it's frequency seems to have increased with my upgrade from

Re: [Puppet Users] lsbdistcodename and Debian Squeeze

2011-03-03 Thread FRLinux
On Thu, Mar 3, 2011 at 6:41 PM, Daniel Piddock dgp-g...@corefiling.co.uk wrote: Update your lsb-release package to at least version 3.2-23.2squeeze1. That was it, turns out the upgrade hadn't finished properly hence left a few packages pending updates. Thanks for the reply and sorry for the

[Puppet Users] postfix module problems

2011-03-03 Thread Tim Dunphy
hello list!! I am having some trouble with a postfix module I am attempting to implement. as always, your input is extremely valuable and would be appreciated here's what's going on: ## errors err: //postfix/Package[postfix-pflogsum.x86_64]/ensure: change from absent to present failed: Could

Re: Dashboard write API (was Re: [Puppet Users] Role-based access in Dashboard)

2011-03-03 Thread James Turnbull
Brian Gupta wrote: We find it frequently useful to be able to set variables from within puppet to communicate information from one module or class to another, or to save state across puppet runs. It also makes cloud management and bootstrapping easier to be able to specify classes/variables

[Puppet Users] Integer comparison in Puppet Templates

2011-03-03 Thread Michel
Hello; Is it possible to include integer comparison in Puppet templates? An example node 'testy' { $foo = 5 if ( $foo 4 ) { include users::four } include files::motd } class files::motd { file { /etc/motd: content = template(files/motd.conf.erb) } Template mord.conf.erb %if

Re: Dashboard write API (was Re: [Puppet Users] Role-based access in Dashboard)

2011-03-03 Thread Brian Gupta
On Thu, Mar 3, 2011 at 12:27 PM, Randall Hansen rand...@puppetlabs.comwrote: On Mar 3, 2011, at 9:20 AM, Brian Gupta wrote: Also, going forward, it would be very helpful for the API to be an equal citizen of the GUI. I agree, Brian. While we plan to improve Dashboard's GUI for those who

Re: Dashboard write API (was Re: [Puppet Users] Role-based access in Dashboard)

2011-03-03 Thread Brian Gupta
On Thu, Mar 3, 2011 at 4:25 PM, James Turnbull ja...@puppetlabs.com wrote: Brian Gupta wrote: We find it frequently useful to be able to set variables from within puppet to communicate information from one module or class to another, or to save state across puppet runs. It also makes

[Puppet Users] NFS mount problem

2011-03-03 Thread Forrie
I'm trying to get a simple NFS mount to work with Puppet, using this: [ init.pp ] class myclass { mount { /home/directory: device = server.domain.com:/exportdir/directory, fstype = nfs, ensure = mounted, options =

Re: Dashboard write API (was Re: [Puppet Users] Role-based access in Dashboard)

2011-03-03 Thread James Turnbull
Brian Gupta wrote: Yes it will also make it possible to integrate with Ubuntu's cloud-init framework, which has quickly become the standard for cloud-based post-spinup node customization and configuration, with CentOS and other distro support included. Amazon has even adopted it now. That

Re: Dashboard write API (was Re: [Puppet Users] Role-based access in Dashboard)

2011-03-03 Thread James Turnbull
Brian Gupta wrote: We'll definably check it out. I'm wondering right now who's version we should start testing, and where we install it? Also does it interface directly with dashboard, or is everything proxied through the puppetmaster? Brian Use Luke's (lak). It's largely a CLI for

Re: [Puppet Users] Updating all packages with Puppet

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 12:11:23AM -0800, Douglas Garstang wrote: to make sure a specific version of an RPM is installed. I don't think that's actually documented. RPM is listed as versionable at http://docs.puppetlabs.com/references/latest/type.html#package so it is documented there

Re: [Puppet Users] Creating user accounts

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 09:09:59AM -0800, toneee wrote: I have a small problem, I am creating users with ssh keys and this is working fine, the only problem I have is because i dont set a password and only use sshkeys to login the account created is locked. Is there any way around this? What

Re: [Puppet Users] Integer comparison in Puppet Templates

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 01:26:19PM -0800, Michel wrote: In this eaxmple the users::four is included in the node. When it goes to the motd.conf.erb file though it complains that I am trying to compare a string to an integer. Puppet internally presents that as a string. If you change it to:

Re: [Puppet Users] NFS mount problem

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 03:11:40PM -0800, Forrie wrote: I'm trying to get a simple NFS mount to work with Puppet, using this: [snip] atboot = true, Missing a (: -- Ben Hughes || http://www.puppetlabs.com/ -- You received this message because you are subscribed to the Google

Re: Dashboard write API (was Re: [Puppet Users] Role-based access in Dashboard)

2011-03-03 Thread Randall Hansen
On Mar 3, 2011, at 1:40 PM, Brian Gupta wrote: Absolutely. I'll keep your name on my list, and we'll make our plans in public. Any sense on a timeframe? Not at all. I don't like that answer either, but it's the only truth we have. We'll have a better idea when our roadmap for Dashboard

[Puppet Users] Re: NFS mount problem

2011-03-03 Thread Forrie
I caught that, thank you -- I've wiped my glasses thoroughly ;-) One other issue I'm running into is I would like the client to *create* (mkdir) the mountpoint with the correct permissions if it doesn't exist. I don't see a way that can be done within the mount {} construct... is there a clever

Re: [Puppet Users] Re: NFS mount problem

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 05:49:58PM -0800, Forrie wrote: I caught that, thank you -- I've wiped my glasses thoroughly ;-) (: One other issue I'm running into is I would like the client to *create* (mkdir) the mountpoint with the correct permissions if it doesn't exist. I don't see a way

[Puppet Users] Trying to write a visudo checker

2011-03-03 Thread Rich Rauenzahn
This visudo checker I've written (based on some examples from the web and puppet training materials) causes a dependency loop -- but only when I include the unless = diff It seems someone got clever and decided to look at exec's and look for managed filenames in argument lists and create

[Puppet Users] Exported resources origin

2011-03-03 Thread Atha Kouroussis
Hi all, I'm trying to find a way to collect exported resources based not only on a tag but also based on the originating node. Currently exported resources can't collected using more than one criteria, but I can get around that by wrapping the resource in a define and exporting that. I can't

[Puppet Users] Re: NFS mount problem

2011-03-03 Thread Forrie
I'm trying to figure out how to manage the NFS mounts, then 'unmanage' them when we're done -- ie: remove the NFS mount (ensure = absent) and make sure the mount point on the client is removed. I thought for the mount{} portion of this and loop over it. But it's not a big deal, I don't mind

Re: [Puppet Users] Re: NFS mount problem

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 07:38:28PM -0800, Forrie wrote: So are you saying for the absent items, we'll need to include a file{} directive to remove the mount point, too? The mount handler won't go around deleting directories for you, thankfully. (: Do you create the mount point before you

[Puppet Users] Re: Darned PSON Message!

2011-03-03 Thread Jed
Hi doug, I've been getting this as well , someone suggested searching the entire filesystem on the client for a directory called .puppet and delete any found. I haven't tried this yet though On Mar 3, 2:36 pm, Douglas Garstang doug.garst...@gmail.com wrote: I'm sure it must already be a known

[Puppet Users] Re: postfix module problems

2011-03-03 Thread Ramin K
postfix-pflogsumm.x86_64, it's summ not sum. source = puppet:///postfix/aliases.db; --- I don't think you need the ; anywhere. You've got a a few of them. Ramin On Mar 3, 1:14 pm, Tim Dunphy bluethu...@gmail.com wrote: hello list!! I am having some trouble with a postfix module I am

[Puppet Users] class + each do

2011-03-03 Thread aleksey_k
Hi. i have keys class where I copy some files from puppet server. Example: #cat keys.pp class keys { $users=[user1,user2,user3] % users.each do |u| -% file { /etc/file/keys/%= u %_keys: owner = %= u %, group = root,

Re: [Puppet Users] class + each do

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 09:39:02PM -0800, aleksey_k wrote: Hi. i have keys class where I copy some files from puppet server. You're trying to do ERB templating in a manifest. You can't do that. You could use the ruby DSL, or in puppet language, try the following: define userkey() { file {

[Puppet Users] Re: class + each do

2011-03-03 Thread aleksey_k
On 4 мар, 11:00, Ben Hughes b...@puppetlabs.com wrote: On Thu, Mar 03, 2011 at 09:39:02PM -0800, aleksey_k wrote: Hi. i have keys class where I copy some files from puppet server. You're trying to do ERB templating in a manifest. You can't do that. You could use the ruby DSL, or in puppet

Re: [Puppet Users] Re: class + each do

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 11:20:38PM -0800, aleksey_k wrote: But puppet client don't copy file from puppet server :( Anything in the output or logs at all? Stop the client and run: # puppet agent --test and that should give you more information as to why. -- Ben Hughes ||

[Puppet Users] Re: class + each do

2011-03-03 Thread aleksey_k
On 4 мар, 12:23, Ben Hughes b...@puppetlabs.com wrote: On Thu, Mar 03, 2011 at 11:20:38PM -0800, aleksey_k wrote: # puppet agent --test puppetmaster: #grep -i keys node/test-nodes.pp include keys puppetclient: #puppetd --version 2.6.2 #puppetd --test info: Caching catalog for test-node info: