Re: [Puppet Users] Classes in templates

2010-11-24 Thread Dan Carley
On 23 November 2010 19:27, Dan Bode d...@puppetlabs.com wrote: This is unfortunately true. It's possible that this may work in a future version. It's described by this ticket: http://projects.puppetlabs.com/issues/3049 Which you might want to add yourself as a watcher to, Alaric. -- You

[Puppet Users] browsing puppet file server

2010-11-24 Thread Arnau Bria
Hi all, I'm wondering if there is some way for browsing puppet file server. Sometimes I get the Could not retrieve information from source and I get crazy looking for typos in paths. If not, how do you check path sanity? Cheers, Arnau -- You received this message because you are subscribed

[Puppet Users] file content

2010-11-24 Thread Arnau Bria
Hi all, I have a problem when adding content to a file. I know this sound basic, but I don't know what I'm doing wrong... my server runs puppet-server-2.6.3-0.4.el5 and client puppet-2.6.1-0.6.el5. I firs defined a file like: file { 'default_dns': name= '/etc/resolv.conf', content =

Re: [Puppet Users] file content

2010-11-24 Thread Mohit Chawla
Hi, On Wed, Nov 24, 2010 at 5:02 PM, Arnau Bria arnaub...@pic.es wrote: SO I tried the example from http://docs.puppetlabs.com/references/stable/type.html#file like In that example, a define is being used, called resolve. There is no extra curly bracket, the formatting of the documentation

Re: [Puppet Users] file content

2010-11-24 Thread Ohad Levy
Hi, You probably have a File statement somewhere (like site.pp) which has a default source or target attributes. Ohad On Wed, Nov 24, 2010 at 2:06 PM, Arnau Bria arnaub...@pic.es wrote: On Wed, 24 Nov 2010 17:27:23 +0530 Mohit Chawla wrote: Hi, On Wed, Nov 24, 2010 at 5:02 PM, Arnau

Re: [Puppet Users] Initial data population

2010-11-24 Thread Ashley Penney
On Tue, Nov 23, 2010 at 6:41 PM, Daniel Pittman dan...@rimspace.net wrote: Ashley Penney apen...@gmail.com writes: As an example of the kind of thing we're talking about we use a product called Sonatype Nexus that relies on a bunch of on disk data in /srv/sonatype-nexus/. When installing

Re: [Puppet Users] Initial data population

2010-11-24 Thread Ashley Penney
On Tue, Nov 23, 2010 at 2:30 PM, Patrick kc7...@gmail.com wrote: 1) So are the Puppet clients (Nexus servers) supposed to be modifying the data in /srv/sonatype-nexus like a database or is it used read-only like a file server? They modify data in that directory. I explained further in

[Puppet Users] Re: Class inheritance

2010-11-24 Thread jcbollinger
On Nov 23, 2:22 pm, Chris C mazzy...@gmail.com wrote: I'm trying to establish a simple inheritance Although people new to Puppet seem to like to try that, especially when they have a programming background, it's usually not a very good idea. For one thing, inheritance in Puppet doesn't work

[Puppet Users] Parsing files at nodes

2010-11-24 Thread Nicolas Arias
Hi, i want to check if the nodes are forwarding logs to a syslog server. At this moment i cant just push a new syslog.conf file to the nodes, so, i want to know if its possible to tell the nodes to parse the syslog.conf files and fail the run or something like that if a specific line is not found.

[Puppet Users] Re: file content

2010-11-24 Thread jcbollinger
On Nov 24, 6:17 am, Ohad Levy ohadl...@gmail.com wrote: You probably have a File statement somewhere (like site.pp) which has a default source or target attributes. Right. And if you do then it is certainly wrong, because default source or target just does not make sense. If that's not it,

[Puppet Users] Re: file content

2010-11-24 Thread jcbollinger
On Nov 24, 6:17 am, Ohad Levy ohadl...@gmail.com wrote: You probably have a File statement somewhere (like site.pp) which has a default source or target attributes. Or, it could be because you have written name = where you want path =. Or you could omit both and simply title your resource

[Puppet Users] Re: file content

2010-11-24 Thread jcbollinger
On Nov 24, 5:32 am, Arnau Bria arnaub...@pic.es wrote: [...] I tried the example fromhttp://docs.puppetlabs.com/references/stable/type.html#filelike $srt=search mydomain.com \nnameserver 192.168.1.1 \ \nnameserver192.168.1.2 file { 'default_ntp': name= '/etc/ntp.conf',

[Puppet Users] Documenting an infrastructure with Puppet

2010-11-24 Thread Ryan Y. Coleman
Hello All, I've been thinking recently about how one could use Puppet to aid in the process of documenting infrastructure for other administrators, managers and so forth. Puppetdoc gets me somewhat close, since I can add content above my class definitions and have that content associated

Re: [Puppet Users] Re: Class inheritance

2010-11-24 Thread Chris C
Thanks for the reply! I was able to get override to work correctly. My classes are inheriting each other. prac inherits all_hosts_redhat which inherits all_hosts. I cleaned up some unnecessary duplicate checks like chmod and own. I changed the definition to the overided file to File['/etc/motd']

Re: [Puppet Users] Re: file content

2010-11-24 Thread Arnau Bria
On Wed, 24 Nov 2010 07:22:11 -0800 (PST) jcbollinger jcbollinger wrote: On Nov 24, 6:17 am, Ohad Levy ohadl...@gmail.com wrote: Hi ! I'm getting a little crazy with this... I'll paste some code and see if you see what's happening... You probably have a File statement somewhere (like

Re: [Puppet Users] Re: file content

2010-11-24 Thread Arnau Bria
On Wed, 24 Nov 2010 07:39:09 -0800 (PST) jcbollinger jcbollinger wrote: On Nov 24, 6:17 am, Ohad Levy ohadl...@gmail.com wrote: You probably have a File statement somewhere (like site.pp) which has a default source or target attributes. Or, it could be because you have written name =

Re: [Puppet Users] Parsing files at nodes

2010-11-24 Thread Nigel Kersten
On Wed, Nov 24, 2010 at 7:13 AM, Nicolas Arias nicoar...@gmail.com wrote: Hi, i want to check if the nodes are forwarding logs to a syslog server. At this moment i cant just push a new syslog.conf file to the nodes, so, i want to know if its possible to tell the nodes to parse the syslog.conf

[Puppet Users] using define of different moule's manifest

2010-11-24 Thread sanjiv.singh
hi all, I had defined a module like this .. modulea -- ---manifest -- ---myclassa.pp # i have declared number defines..like define defile1

[Puppet Users] What is Puppet capable of?

2010-11-24 Thread Adam Nielsen
Hi all, I've been reading up on Puppet but there are a few things I am unsure of, and I'm hoping someone here can advise. As I understand it the idea behind Puppet is to describe how a machine should be configured in a single place, and then let Puppet handle the actual set up of the

[Puppet Users] Puppet Daemontools

2010-11-24 Thread Romain Pelisse
Hi there, I've been playing with puppet for a couple of weeks (So, I'm still quite a newbie at it) and there is something I just can't seem to be able to fix. I'm trying to have puppet manage daemontools service. Following the documentation http://docs.puppetlabs.com/guides/types/service.html, I

Re: [Puppet Users] Parsing files at nodes

2010-11-24 Thread Nicolas Arias
Thanks Nigel!!, i will give it a try later! On Wed, Nov 24, 2010 at 1:41 PM, Nigel Kersten ni...@puppetlabs.com wrote: On Wed, Nov 24, 2010 at 7:13 AM, Nicolas Arias nicoar...@gmail.com wrote: Hi, i want to check if the nodes are forwarding logs to a syslog server. At this moment i cant just

Re: [Puppet Users] What is Puppet capable of?

2010-11-24 Thread Patrick
On Nov 23, 2010, at 4:53 PM, Adam Nielsen wrote: Hi all, I've been reading up on Puppet but there are a few things I am unsure of, and I'm hoping someone here can advise. As I understand it the idea behind Puppet is to describe how a machine should be configured in a single place, and

Re: [Puppet Users] The puppet model

2010-11-24 Thread Gabriel Filion
Hello, On 11/23/2010 12:34 PM, Dan Bode wrote: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Internals The model in puppet is implemented as a directed acyclic graph (DAG). The vertices of the graph are resoures, the edges are the relationships (order dependencies) between

Re: [Puppet Users] The puppet model

2010-11-24 Thread Nigel Kersten
On Wed, Nov 24, 2010 at 10:46 AM, Gabriel Filion lelu...@gmail.com wrote: Hello, On 11/23/2010 12:34 PM, Dan Bode wrote: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Internals The model in puppet is implemented as a directed acyclic graph (DAG). The vertices of the graph are

[Puppet Users] Re: puppetdoc and wrong comparison

2010-11-24 Thread Chris C
Has there been any update to this issue? Iam seeing the same thing in my environment. redhat el 5.5 2.6.18-194.11.3.el5 rhel - ruby-1.8.5-5.el5_4.8 epel - puppet-dashboard-1.0.4-1 epel - puppet-server-2.6.0-1 epel - puppet-2.6.0-1 Thanks, /Chris C -- You received this message because you

Re: [Puppet Users] Re: file content

2010-11-24 Thread Stefan Schulte
On Wed, Nov 24, 2010 at 05:03:45PM +0100, Arnau Bria wrote: On Wed, 24 Nov 2010 07:22:11 -0800 (PST) jcbollinger jcbollinger wrote: On Nov 24, 6:17 am, Ohad Levy ohadl...@gmail.com wrote: Hi ! I'm getting a little crazy with this... I'll paste some code and see if you see what's

Re: [Puppet Users] What is Puppet capable of?

2010-11-24 Thread Daniel Pittman
Patrick kc7...@gmail.com writes: On Nov 23, 2010, at 4:53 PM, Adam Nielsen wrote: I've been reading up on Puppet but there are a few things I am unsure of, and I'm hoping someone here can advise. As I understand it the idea behind Puppet is to describe how a machine should be configured in

Re: [Puppet Users] using define of different moule's manifest

2010-11-24 Thread Nigel Kersten
On Wed, Nov 24, 2010 at 9:32 AM, sanjiv.singh sanjiv.si...@impetus.co.in wrote: hi all, I had defined  a module  like this .. modulea -- ---manifest -- ---myclassa.pp                                                                   # i have

[Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-24 Thread Nigel Kersten
I mentioned this in an earlier thread, but here's a dedicated one. We made a big change between 0.24.x and 0.25.x where we moved from XMLRPC to REST. How do people feel about us dropping all XMLRPC support from 2.7.x, such that it only supported Puppet clients 0.25.x and higher? -- Nigel

Re: [Puppet Users] Parsing files at nodes

2010-11-24 Thread Gary Law
On 24 November 2010 15:13, Nicolas Arias nicoar...@gmail.com wrote: Is this possible?, if it's possible, any hint? Custom fact that tells you where the syslog is going. Custom facts, in general, are your friend. :) -- Gary Law Email/Chat googletalk/messenger: gary@gmail.com

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-24 Thread Gary Law
On 24 November 2010 23:50, Nigel Kersten ni...@puppetlabs.com wrote: I mentioned this in an earlier thread, but here's a dedicated one. We made a big change between 0.24.x and 0.25.x where we moved from XMLRPC to REST. How do people feel about us dropping all XMLRPC support from 2.7.x, such

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-24 Thread Daniel Pittman
Gary Law gary...@garylaw.net writes: On 24 November 2010 23:50, Nigel Kersten ni...@puppetlabs.com wrote: I mentioned this in an earlier thread, but here's a dedicated one. We made a big change between 0.24.x and 0.25.x where we moved from XMLRPC to REST. How do people feel about us

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-24 Thread Nigel Kersten
On Wed, Nov 24, 2010 at 4:35 PM, Daniel Pittman dan...@rimspace.net wrote: Gary Law gary...@garylaw.net writes: On 24 November 2010 23:50, Nigel Kersten ni...@puppetlabs.com wrote: I mentioned this in an earlier thread, but here's a dedicated one. We made a big change between 0.24.x and

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-24 Thread Ryan Dooley
I'd be in favor of only maintaining one rev behind for compatibility (2.7.x will support 2.6.x but not earlier). Cheers, Ryan On Nov 24, 2010, at 4:57 PM, Nigel Kersten wrote: On Wed, Nov 24, 2010 at 4:35 PM, Daniel Pittman dan...@rimspace.net wrote: Gary Law gary...@garylaw.net writes:

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-24 Thread Daniel Pittman
Nigel Kersten ni...@puppetlabs.com writes: On Wed, Nov 24, 2010 at 4:35 PM, Daniel Pittman dan...@rimspace.net wrote: Gary Law gary...@garylaw.net writes: On 24 November 2010 23:50, Nigel Kersten ni...@puppetlabs.com wrote: I mentioned this in an earlier thread, but here's a dedicated one.

[Puppet Users] vim syntax highlight link broken?

2010-11-24 Thread ston8r
I'm trying to grab a syntax file for vim - but it appears this link is just a website served as plaintext. Can anyone else access this link and get a proper download link? http://www.puppetlabs.com/downloads/puppet/puppet.vim Cheers, Ston -- You received this message because you are subscribed

Re: [Puppet Users] vim syntax highlight link broken?

2010-11-24 Thread Nigel Kersten
On Wed, Nov 24, 2010 at 5:08 PM, ston8r dri...@gmail.com wrote: I'm trying to grab a syntax file for vim - but it appears this link is just a website served as plaintext. Can anyone else access this link and get a proper download link? http://www.puppetlabs.com/downloads/puppet/puppet.vim

Re: [Puppet Users] facter fact catalog?

2010-11-24 Thread Paul Nasrat
On 21 November 2010 15:55, Nick oinksoc...@letterboxes.org wrote: Hi, A problem I've run into during my first attempts at writing manifests, is knowing what possible facts are available, and for a given fact, what values my manifest might encounter. A classic one is the possible values of

Re: [Puppet Users] Facter: My vision -- crazy?

2010-11-24 Thread Paul Nasrat
On 19 November 2010 01:54, Nathan n4th4nr...@gmail.com wrote: Hi, You guys may remember me as the dude at puppet camp who suggested in the facter meeting about having facts return unknown for example, or have a default set of facts. This, oddly to me, seemed to not go over well. Let me

Re: [Puppet Users] Dependencies between custom facts

2010-11-24 Thread Paul Nasrat
On 20 November 2010 16:42, Nigel Kersten ni...@puppetlabs.com wrote: On Fri, Nov 19, 2010 at 12:56 PM, Steve Atwell satw...@google.com wrote: I need to write a custom fact that depends on the value of another custom fact in a different file.  For example: # foo.rb Facter.add(foo) do    

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-24 Thread Patrick
On Nov 24, 2010, at 3:50 PM, Nigel Kersten wrote: I mentioned this in an earlier thread, but here's a dedicated one. We made a big change between 0.24.x and 0.25.x where we moved from XMLRPC to REST. How do people feel about us dropping all XMLRPC support from 2.7.x, such that it only