[Puppet-dev] Re: RFC: Nodify: A simple external nodes app

2008-04-02 Thread David Schmitt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 02 April 2008, Paul Lathrop wrote: Hi Luke, Comments inline: On Mon, Mar 31, 2008 at 1:46 PM, Luke Kanies [EMAIL PROTECTED] wrote: * Should it be part of Puppet (vs. a separate tool)? I think it should be a separate tool, to

[Puppet-dev] Re: Scoping, defaults and relationships

2008-05-20 Thread David Schmitt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 09 May 2008, Luke Kanies wrote: On May 9, 2008, at 3:20 PM, Marcin Owsiany wrote: I'm not sure about the exact syntax, but I do think that there should be a sticky relation feature (possibly with another feature to unstick that).

[Puppet-dev] Re: [PATCH 1/1] Applied patch for ticket #1271

2008-05-30 Thread David Schmitt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 30 May 2008, James Turnbull wrote: Signed-off-by: James Turnbull [EMAIL PROTECTED] --- lib/puppet/sslcertificates/ca.rb | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git

[Puppet-dev] Re: Anything waiting for facter 1.5?

2008-07-01 Thread David Schmitt
Luke Kanies wrote: On Jun 13, 2008, at 9:55 PM, aj wrote: Aye, #1365.. Basically you can call ipaddress_eth0 (and ipaddress_eth0_0 et al) from inside a Puppet manifest, and you can see the output when you call `facter`, but when you try to call `facter ipaddress_eth0` it'll return

[Puppet-dev] Re: [PATCH] Setting SELinux contexts with chcon should not dereference symbolic links

2008-10-15 Thread David Schmitt
Luke Kanies schrieb: On Oct 14, 2008, at 9:26 AM, Sean E. Millichamp wrote: -Puppet.debug Running chcon #{flag} #{value} #{file} -retval = system(chcon #{flag} #{value} #{file}) +Puppet.debug Running chcon -h #{flag} #{value} #{file} +retval = system(chcon

[Puppet-dev] Re: [PATCH 0/3] Fix #1664 - Inline documentation

2008-11-04 Thread David Schmitt
Brice Figureau schrieb: On Tue, 2008-11-04 at 10:04 -0600, Luke Kanies wrote: On Nov 4, 2008, at 9:28 AM, Brice Figureau wrote: On Tue, 2008-11-04 at 09:05 -0600, Luke Kanies wrote: I'd do that. Just generate docs for what people specify. I'd also probably have puppetdoc accept standard

[Puppet-dev] Re: Permission problems in puppetmasterd

2008-11-04 Thread David Schmitt
Luke Kanies schrieb: Hi all, These problems keep cropping up, and it seems like we need a more comprehensive solution. The current 'master' branch has permission problems in puppetmasterd (as implied), and it's basically a race condition that shows up again and again. [...]

[Puppet-dev] Re: A more ideal language (was Re: Classes vs. definitions (#1645))

2008-11-04 Thread David Schmitt
Luke Kanies schrieb: On Oct 31, 2008, at 10:33 AM, jerico wrote: I don't agree on that. It might be a specially declarative and less procedural/imperative language and is probably not turing complete (no idea about that, I didn't try the proof!) But maybe this is just an argument about

[Puppet-dev] Re: A more ideal language (was Re: Classes vs. definitions (#1645))

2008-11-05 Thread David Schmitt
Luke Kanies schrieb: On Nov 5, 2008, at 1:14 AM, David Schmitt wrote: Luke Kanies schrieb: On Oct 31, 2008, at 10:33 AM, jerico wrote: I don't agree on that. It might be a specially declarative and less procedural/imperative language and is probably not turing complete (no idea about

[Puppet-dev] Re: [PATCH 1/1] Fix #2246 - Array tagged resources can't be collected or exported

2009-06-01 Thread David Schmitt
Luke Kanies schrieb: Note: the user tags are not stored in the rails database except under the special resource parameter tag. This also doesn't seem right. Really? So if someone sets 'tags' parameters on a resource, they're not stored in the db as parameters? No they're stored as a

[Puppet-dev] Re: 0.25.x questions, environments and non-CA servers

2009-06-03 Thread David Schmitt
Nigel Kersten schrieb: On Tue, Jun 2, 2009 at 2:48 PM, Luke Kanies l...@madstop.com wrote: * Do we still want an environment specified on the command line to be overridden by an environment fact ? (I'm unsure about which should take precedence myself) Erm, no idea? You tell me. I

[Puppet-dev] Re: Features #2198 - Combine package installation

2009-06-05 Thread David Schmitt
Luke Kanies schrieb: On Jun 5, 2009, at 7:53 AM, Stephan Gorget wrote: Luke Kanies a écrit : On May 29, 2009, at 8:06 AM, Stephan Gorget wrote: I rewrote the patch to match what you said, but package installation doesn't respect ordering now because I no longer use resource.evaluate(), I

[Puppet-dev] Re: Unplanned ticket triage

2009-06-12 Thread David Schmitt
Luke Kanies schrieb: On Jun 12, 2009, at 8:51 AM, James Turnbull wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all There are quite a lot of tickets that aren't assigned to a target release or assigned to Unplanned. The unassigned tickets are:

[Puppet-dev] Re: [PATCH/puppet 0/3] Fix #2033 - allow regexp in if expressions

2009-06-18 Thread David Schmitt
Peter Meier wrote: Hi Since we're all having this conversation I guess some logical questions are what other language features? Loops? A lot of people want a loop syntax? Hashes before loops, and really, 99% of people who want loops do so because they don't want to manage resources.

[Puppet-dev] Re: [PATCH/puppet 0/3] Fix #2033 - allow regexp in if expressions

2009-06-19 Thread David Schmitt
Brice Figureau wrote: On Wed, June 17, 2009 11:53, Thomas Bellman wrote: Brice Figureau wrote: I've almost finished node matching, even though I'm not really satisfied of how it works. Node matching is O(1) for the moment, but as soon as you add regexp in the mix, it becomes essentially

[Puppet-dev] Re: behaviour of mount type - unable to update without changing mounted/unmounted status

2009-06-30 Thread David Schmitt
Luke Kanies wrote: I like the idea, but I'm not too stoked with the implementation. Having a separate attribute that's only sometimes used seems clumsy. That being said, I don't have a better idea, either. Anyone have any other ideas on how to specify this? Why not extending the

[Puppet-dev] Re: behaviour of mount type - unable to update without changing mounted/unmounted status

2009-07-01 Thread David Schmitt
Luke Kanies wrote: I can actually think of *two* new states that one might want: add to fstab and remount an existing mount with new flags, and add to fstab but don't touch an existing mount at all. One might for example want to have a line in fstab for a USB stick, which defaults

[Puppet-dev] Re: RFC: Limited storedconfigs?

2009-07-01 Thread David Schmitt
Peter Meier wrote: Hi I'd like to suggest extending this feature so you can choose to only store facts as well, and given that, it probably makes sense to allow you to choose whether or not nodes are stored. So maybe a multi-valued setting that allows you to choose what subset of facts,

[Puppet-dev] Re: behaviour of mount type - unable to update without changing mounted/unmounted status

2009-07-02 Thread David Schmitt
Luke Kanies wrote: On Jul 1, 2009, at 11:06 AM, Christian Hofstaedtler wrote: * Luke Kanies l...@madstop.com [090701 18:01]: On Jul 1, 2009, at 3:19 AM, David Schmitt wrote: Luke Kanies wrote: I can actually think of *two* new states that one might want: add to fstab and remount

[Puppet-dev] Re: Oracle support for storeconfigs

2009-07-09 Thread David Schmitt
Avi Miller wrote: 3. There is a 4000 character limit (in Oracle, possibly different in MySQL/PostgreSQL) for a VARCHAR2 column. The following columns are created as text by default: resource.title, fact_values.value, param_values.value; what is the likelihood of any of these being larger

Re: RE : RE : RE : [Puppet-dev] Re: [PATCH/puppet 1/1] Feature #2400 : add display changes and add them in YAML to the report

2009-07-15 Thread David Schmitt
aurelien.degrem...@cea.fr wrote: Presently, puppetd can output 2 kinds of informations: - first, a trace-like output with all the 'notice:', info and warning/err messages. This is much more like a trace, usefull for understanding unexpected behaviour, but not really usefull for admins

[Puppet-dev] Re: Logging rework (was: [PATCH/puppet 1/1] Feature #2400 : add display changes and add them in YAML to the report)

2009-07-17 Thread David Schmitt
Luke Kanies wrote: On Jul 16, 2009, at 8:14 AM, aurelien.degrem...@cea.fr wrote: Hello I'm interest by helping fixing this but I'm not sure I will have time to dig into Puppet code. Moreover, it seems puppet arguments are a bit tricky because lot of arguments are not handled in the

[Puppet-dev] Re: #2239 - exiting quickly on signals

2009-07-24 Thread David Schmitt
Luke Kanies wrote: The other cases that come to my mind are restarting puppetd from within a transaction and aborting a --test run from the commandline with ^C. The former probably should wait until the end of the (presumably bootstrap) transaction, while the latter should abort

[Puppet-dev] Re: [PATCH/puppet 1/1] Modifying the REST client error to make server errors more clear

2009-07-24 Thread David Schmitt
Brice Figureau wrote: Maybe what worries me in fact, is that most people think that using --debug --trace on the client is enough. But all what they'll get is the client side trace which ends up as not being useful at all. The perfect fix for my issue, would be when --debug or --trace are

[Puppet-dev] Re: [PATCH] Make regsubst() function operate on arrays (feature #2491).

2009-08-05 Thread David Schmitt
Thomas Bellman wrote: Luke Kanies wrote: On Jul 31, 2009, at 9:13 AM, Thomas Bellman wrote: [...] @@ -61,10 +61,14 @@ Put angle brackets around each octet in the node's IP address:: end end re = Regexp.compile(regexp, reflags, lang) -if global -

[Puppet-dev] Re: [PATCH] Make regsubst() function operate on arrays (feature #2491).

2009-08-05 Thread David Schmitt
Thomas Bellman wrote: David Schmitt wrote: Thomas Bellman wrote: I could do it something like this: strings = [args[0]].flatten if global result = strings.collect { |s| s.gsub(re, replacement) } else result = strings.collect { |s| s.sub(re, replacement

[Puppet-dev] Re: git workflow rake tasks

2009-09-01 Thread David Schmitt
Luke Kanies wrote: I've also got a 'git-cleanup-branch' script that cleans up things like this by looking through the git history to see if a given commit (as determined by its summary, rather than its commit, since that will change on a rebase) is merged, and if so removes the local and

[Puppet-dev] Re: Switching to lexical scoping

2009-09-14 Thread David Schmitt
+1. Luke Kanies wrote: Given that it's my goal to make the next major release 1.0, there's one big compatibility change we should probably make as part of that release: Switching away from dynamic scoping. This is obviously pretty bad, but I've not gotten around to fixing it, mostly

[Puppet-dev] Re: Class attributes

2009-09-14 Thread David Schmitt
Luke Kanies wrote: On Sep 11, 2009, at 4:51 PM, Markus wrote: Something I got to wondering about after our chat; would this require the attribute names to be unique up to potentially co-included classes (e.g. effectively global)? In other words, if I wrote something like this: class

[Puppet-dev] Re: Does puppet support combined namevars?

2009-09-14 Thread David Schmitt
Bostjan Skufca wrote: Something like combined primary key in relational database. For example, if I want to write a type for managing mysql users, I would like to specify the namevar as a combination of: - username and - hostname Ofcourse you can do it like: mysql_user {u...@host: but

[Puppet-dev] Re: Switching to lexical scoping

2009-09-15 Thread David Schmitt
R.I.Pienaar wrote: hello, - David Schmitt da...@dasz.at wrote: Having node{} statements as definitive source for variables supports the split between configuration (variables, class lists) and the actual implementation within classes and modules. This also ties very cleanly

namespaces (was: Re: [Puppet-dev] Re: Class attributes)

2009-09-15 Thread David Schmitt
Luke Kanies wrote: Regarding the naming collisions, It might be nice to have namespaces available for that: class jokeofthedayserver($port) {...} class cokemachinestatusserver($port) {...} $jokeofthedayserver::port = 4000 $cokemachinestatusserver::port = 4001

[Puppet-dev] Re: [PATCH/puppet 1/1] FIXES 2601: fqdn_rand convert seed to_i

2009-09-15 Thread David Schmitt
Steven Jenkins wrote: Markus Roberts wrote: Mark Drayton made a good point (http://projects.reductivelabs.com/issues/2601#note-3); are we making the code more complicated than it needs to be to get less functionality than we might otherwise have? Rather than saying that it takes one

[Puppet-dev] Re: [PATCH/puppet 1/1] Fix #2664 - Mathematicexpressions mis-lexed as Regex

2009-09-22 Thread David Schmitt
Brice Figureau wrote: On Tue, 2009-09-22 at 08:38 +0200, David Schmitt wrote: mar...@reality.com wrote: The idea is that x/y/z (chained division) is rarer than regexp--in part because nobody trusts My Dear Aunt Sally that far. So it gets rid of the problem that was originally discovered

[Puppet-dev] Re: [PATCH/puppet 1/1] Workaround #2668 - Compress facts so that the request size limit triggers less often

2009-10-23 Thread David Schmitt
Brice Figureau wrote: On Fri, 2009-10-23 at 10:24 +0200, David Schmitt wrote: Brice Figureau wrote: This is not the right fix, but more a hackish workaround. text = facts.render(format) -return {:facts_format = format, :facts = CGI.escape(text)} +return

[Puppet-dev] Re: [PATCH/puppet 1/1] Fix for #2661 and related issues

2009-11-11 Thread David Schmitt
Markus Roberts wrote: This is an extension of the prior patch to cover additional cases found by automated testing (repeated catalog runs with a 1% chance of timeout forced on all timeout-bound operations, ~5000 runs). The new cases recurred multiple times (100 each) and in a final pass

[Puppet-dev] Re: [PATCH/puppet 1/1] Fix for #2661 and related issues

2009-11-11 Thread David Schmitt
Markus Roberts wrote: I ran it, and found nothing new, but it occurs to me that, while a valuable additional test the enumerated forced-timeout method actually covers fewer cases than the random method. To see this, consider a hypothetical bug that caused the client to exit

[Puppet-dev] late binding values (was: Re: [PATCH/puppet 1/1] Fix #2389 - Enhance Puppet DSL with Hashes)

2009-11-17 Thread David Schmitt
Markus Roberts wrote: It'd be great if you could abolish the parse-order dependency altogether. As long as all variable/value reference chains form a directed acylcic graph, they could be evaluated after finishing the parse, regardless of order. Could you

Re: [Puppet-dev] clarifying the ext bits...

2009-12-02 Thread David Schmitt
Peter Meier wrote: Are we not using the rails validation methods on purpose ? e.g. validate_uniqueness_of :name will ensure that no two (hosts, parameters etc) will be created. This ofcourse generates another select statement each time (to verify if it already exists)... That sounds like

[Puppet-dev] Re: futures in puppetdoc

2009-12-05 Thread David Schmitt
Markus Roberts wrote: BTW, I'm wondering how puppetdoc will deal with future interpretation :-( A simple way would be to just ignore that in puppetdoc. Then strings only show the variable name and that's it. For a more intimate support, you can evaluate the future down to either the value,

Re: [Puppet-dev] [PATCH/puppet 1/1] 2877 race condition in webrick

2009-12-17 Thread David Schmitt
On 15.12.2009 01:53, Jesse Wolfe wrote: Make sure that we don't try to do anything to webrick until it has really started. Signed-off-by: Jesse Wolfejes5...@gmail.com --- lib/puppet/network/http/webrick.rb |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[Puppet-dev] Re: [Puppet Users] Using Puppet for application deployment

2010-03-16 Thread David Schmitt
[crossposting to puppet-dev, please trim follow-ups appropriately] On 3/16/2010 11:52 AM, Jesús Couto wrote: On Mon, Mar 15, 2010 at 3:18 PM, Michael DeHaan mich...@reductivelabs.com mailto:mich...@reductivelabs.com wrote: that are very much procedural while Puppet manifest are more

Re: [Puppet-dev] sudoers type/provider

2010-03-17 Thread David Schmitt
On 3/17/2010 5:25 AM, Dan Bode wrote: Hi All, I have been working on a type/provider for sudoers and would appreciate any feedback. It can be found at: http://github.com/bodepd/puppet-sudo There are some slight limitations documented in the README. Plenty of examples in the tests directory

Re: [Puppet-dev] Re: [Puppet Users] Using Puppet for application deployment

2010-03-18 Thread David Schmitt
On 3/17/2010 8:42 PM, Luke Kanies wrote: On Mar 16, 2010, at 4:07 AM, David Schmitt wrote: [crossposting to puppet-dev, please trim follow-ups appropriately] On 3/16/2010 11:52 AM, Jesús Couto wrote: On Mon, Mar 15, 2010 at 3:18 PM, Michael DeHaan mich...@reductivelabs.com mailto:mich

Re: [Puppet-dev] 0.25.5 rc1 plan

2010-03-24 Thread David Schmitt
On 23.03.2010 00:07, James Turnbull wrote: Bug #2247 - enablerepo and disablerepo for yum type (which has got 7 votes and we've bumped from three releases now) Bug #3113 - When importing a manifest puppet needs to chill Bug (Martin's patch is tested) Bug #3387 - backslashes aren't correctly

Re: [Puppet-dev] sudoers type/provider

2010-03-24 Thread David Schmitt
On 3/22/2010 9:04 PM, Dan Bode wrote: * Overloading the type with the three different types of records confuses me. Perhaps defines for each of the three types could improve the situation? This is not possible with parsedfile. Parsedfile is not able to synchronize reading/writing

Re: [Puppet-dev] sudoers type/provider

2010-03-25 Thread David Schmitt
Hi Dan, Trevor, * On 3/25/2010 11:16 AM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Inline... On 03/25/2010 04:09 AM, Dan Bode wrote: snip/ I can also imagine use cases where this would be too limiting. If two classes wanted to specify the same Cmnd_Alias for two

Re: [Puppet-dev] [PATCH/puppet 1/1] Fixes #2836. Add hold support to dpkg provider

2010-03-27 Thread David Schmitt
Am 26.03.2010 23:10, schrieb Nigel Kersten: @@ -47,9 +49,12 @@ Puppet::Type.type(:package).provide :dpkg, :parent = Puppet::Provider::Package if hash[:status] == 'not-installed' hash[:ensure] = :purged -elsif hash[:status] != installed +

Re: [Puppet-dev] Re: NFS Mount Bug

2010-03-27 Thread David Schmitt
Hi Eric, I've created http://projects.reductivelabs.com/issues/3444 for you. You can subscribe there and add any useful info you might have, like log output from your Puppet master and client. You can generate these logs by running the Puppet master and client with the --trace --verbose

Re: [Puppet-dev] #86 conversation

2010-04-12 Thread David Schmitt
On 4/11/2010 4:53 AM, Daniel Pittman wrote: amrsetamr...@gmail.com writes: Daniel Pittman wrote: amrsetamr...@gmail.com writes: Would it be possible to do something like: file { /foo/voo/bar/baz : [...] } Isn't that just: file { /foo: owner = foo, recurse = true } file {

Re: [Puppet-dev] why can't variables be used in imports?

2010-04-20 Thread David Schmitt
On 4/20/2010 11:53 AM, Thomas Bellman wrote: Luke Kanies wrote: Because imports are parse-time, not compile-time. That is, they're evaluated as the file is read, rather than when a given host's configuration is compiled. Related: I do find it a bit confusing that you can write imports

Re: [Puppet-dev] [PATCH/facter 1/1] Fixed #3393 - Updates to Facter for MS Windows

2010-04-30 Thread David Schmitt
On 4/30/2010 10:45 AM, James Turnbull wrote: Signed-off-by: James Turnbullja...@lovedthanlost.net --- lib/facter/ipaddress.rb | 32 ++--- lib/facter/kernel.rb |6 ++- lib/facter/macaddress.rb | 29 +--- lib/facter/util/resolution.rb | 100

Re: [Puppet-dev] [PATCH/puppet 1/1] Adding #2658 - Adding support for run stages

2010-05-17 Thread David Schmitt
Do you think this plus the relationship syntax (including the many to many resulting from relationships between collections) essentially cover the concerns, or are there more steps we should be planning on taking? its going to suck explaining to newbies but I think it does all it needs. What

Re: [Puppet-dev] Puppet and Windows

2010-05-17 Thread David Schmitt
On 5/17/2010 8:34 AM, Luke Kanies wrote: On May 16, 2010, at 5:14 PM, Matthew Delves wrote: Hey All, I'm wondering what the status of Puppet under Windows is. Is there a howto out there for testing this? David Schmitt is working on the Windows support right now, but we don't yet have

Re: [Puppet-dev] Puppet and Windows

2010-05-17 Thread David Schmitt
On 5/17/2010 1:27 PM, James Turnbull wrote: I'll push my version to github when I've got something approaching testable. David I've had quite a lot of feedback from people who have indicated that a thin layered tool that integrates with WMI/PowerShell would suit equally well as a fat client

Re: [Puppet-dev] Re: Puppet for Traffic Controller (TC-ng and IPtables)

2010-05-21 Thread David Schmitt
On 5/21/2010 5:56 PM, Annie Rana wrote: Thanks much all for your inputs, suggestions and ideas. I am a researcher and I am planning to use Puppet as policy-based management system. As we all know that puppet provides a low-level declarative language to define policies so I was interested to know

Re: Query facts of other nodes, or something like that (was Re: [Puppet-dev] Data loading)

2010-06-04 Thread David Schmitt
On 6/4/2010 3:45 AM, Daniel Pittman wrote: Well, my use case pretty much always comes down to do something for this data about this host, and hasn't ever gotten more than two levels deep: backuppc::server needs a per-client configuration per-client configuration needs this clients

Puppet as Parallel System (was: Re: [Puppet-dev] Re: Data loading)

2010-06-04 Thread David Schmitt
On 6/3/2010 3:54 AM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been following this thread with interest and I think that Donavan is hitting upon something that I've also been wanting. However, the way I was looking at it was as a set of atomic, optionally

[Puppet-dev] Composite primary keys as namevars

2010-06-04 Thread David Schmitt
Hi all, a recurring problem with the namevars are resources that do not have a natural unique single-property key. For example, mysql users are defined by their username and the host(-pattern) they are connection from. Traditionally, this was solved by ugly hackery in the type. In the

Re: [Puppet-dev] Composite primary keys as namevars

2010-06-04 Thread David Schmitt
this as a core feature, that also can be used by current types. Best Regards, DavidS Trevor On 06/04/2010 06:45 AM, David Schmitt wrote: Hi all, a recurring problem with the namevars are resources that do not have a natural unique single-property key. For example, mysql users are defined

Re: [Puppet-dev] Re: Puppet as Parallel System

2010-06-04 Thread David Schmitt
pretty sure you'd want to use the existing require/before syntax to specify the dependencies on locks. Best Regards, David Trevor On 06/04/2010 04:33 AM, David Schmitt wrote: On 6/3/2010 3:54 AM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been following

Re: [Puppet-dev] Composite primary keys as namevars

2010-06-04 Thread David Schmitt
On 6/4/2010 4:27 PM, Markus Roberts wrote: # redefine resources mysql_user { frob: ; f...@%: ; foo: host = localhost; f...@localhost: ; } The last pair isn't really a duplicate though, unless you change foo to frob or frob to foo. Exactly. I'm glad if that's the only

Re: [Puppet-dev] Re: Query facts of other nodes, or something like that

2010-06-06 Thread David Schmitt
Am 05.06.2010 05:33, schrieb Daniel Pittman: David Schmittda...@dasz.at writes: On 6/4/2010 3:45 AM, Daniel Pittman wrote: Well, my use case pretty much always comes down to do something for this data about this host, and hasn't ever gotten more than two levels deep: backuppc::server

Re: [Puppet-dev] Composite primary keys as namevars

2010-06-06 Thread David Schmitt
Am 06.06.2010 01:30, schrieb Markus Roberts: It seems to me we kind of have two problems: How to uniquely specify the resource with parameters, and how to specify it with a resource reference. Your solution (the title becomes a template filled in by the different parameters)

Re: [Puppet-dev] Re: Query facts of other nodes, or something like that

2010-06-07 Thread David Schmitt
On 6/7/2010 3:08 AM, Daniel Pittman wrote: Luke Kaniesl...@puppetlabs.com writes: To me, we need to be focusing on fixing Collection so it actually works well for this purpose. It sounds like most of Daniel Pittman's needs would be solved by better resource collection. Well, maybe. One use

Re: [Puppet-dev] Composite primary keys as namevars

2010-06-07 Thread David Schmitt
On 6/7/2010 12:19 AM, Markus Roberts wrote: David -- If I'm understanding you correctly, this is completely opposite of what was discussed at puppet camp (which leads me to suspect that I'm not understanding you correctly). My understanding is that the situation can be broken down into

Re: [Puppet-dev] Re: Query facts of other nodes, or something like that

2010-06-07 Thread David Schmitt
On 6/7/2010 3:16 PM, Daniel Pittman wrote: concat works reasonably well, but depends no multiple fragments scattered over multiple systems, and storeconfigs, which makes for two problems: One, we now have anything up to two hours for an update to propagate, as puppet needs to run on the source

Re: [Puppet-dev] Composite primary keys as namevars

2010-06-07 Thread David Schmitt
On 6/7/2010 4:43 PM, Markus Roberts wrote: David -- That's the internal/implementation side of it. Please see below for explainations about the frills I added for the more user/developer oriented spec in my mail. I saw it, I'm just not sold on it (yet). The internal side, as you call it,

Re: [Puppet-dev] Composite primary keys as namevars

2010-06-09 Thread David Schmitt
On 6/8/2010 7:18 PM, Markus Roberts wrote: David -- I'll leave the final decision to you. Just let me restate that I believe that having the additional render or to_s block (what I called canonical_form in 4c0c0e2a.6090...@dasz.at mailto:4c0c0e2a.6090...@dasz.at) for display purposes[1]

Re: [Puppet-dev] 3962 - 0.25.5 fails to start if /var/lib does not exist

2010-06-10 Thread David Schmitt
On 6/9/2010 6:19 PM, Markus Roberts wrote: I'd advocate a mkdir -p style solution, unless anyone can see problems with that. Well, I would say that we should either be localizing or not. We're now defaulting to a value that works great for the linux world but doesn't even work in the

Re: [Puppet-dev] Composite primary keys as namevars

2010-06-10 Thread David Schmitt
On 6/9/2010 3:08 PM, Luke Kanies wrote: On Jun 9, 2010, at 3:27 AM, David Schmitt wrote: On 6/8/2010 7:18 PM, Markus Roberts wrote: David -- I'll leave the final decision to you. Just let me restate that I believe that having the additional render or to_s block (what I called

Re: [Puppet-dev] Re: Query facts of other nodes, or something like that

2010-06-10 Thread David Schmitt
On 6/10/2010 3:36 AM, Daniel Pittman wrote: Luke Kaniesl...@puppetlabs.com writes: 1) Easy way to force updates when a required catalog has been changed. (This doesn't automatically fix the problem of new data showing up, only changed data.) 2) With good graph viewing, a

Re: [Puppet-dev] [PATCH/puppet 1/1] Fixing #3988 - adding support for watchr

2010-06-10 Thread David Schmitt
On 10.06.2010 18:55, Luke Kanies wrote: Signed-off-by: Luke Kaniesl...@puppetlabs.com --- autotest/images/fail.png| Bin 0 - 19978 bytes autotest/images/pass.png| Bin 0 - 21763 bytes autotest/images/pending.png | Bin 0 - 19745 bytes autotest/watcher.rb | 124

Re: [Puppet-dev] Puppet type questions

2010-06-22 Thread David Schmitt
On 6/21/2010 11:16 PM, Thomas S Hatch wrote: I have written puppet types for cobbler, they seem to work very well, but I have a question. Because of the very nature of cobbler there are a lot of interconnected requirements, and all of these requirements are directly inferred by the puppet

Re: [Puppet-dev] Catalog Service

2010-09-17 Thread David Schmitt
On 9/16/2010 1:26 AM, Luke Kanies wrote: Hi all, I've just stuck my proposal for a Catalog Service (which we've been bandying about internally for a while, and which I've been thinking about even longer) on the wiki:

Re: [Puppet-dev] Catalog Service

2010-09-20 Thread David Schmitt
On 9/17/2010 11:03 PM, Luke Kanies wrote: On Sep 17, 2010, at 4:41 AM, David Schmitt wrote: On 9/16/2010 1:26 AM, Luke Kanies wrote: Hi all, I've just stuck my proposal for a Catalog Service (which we've been bandying about internally for a while, and which I've been thinking about even

Re: [Puppet-dev] [PATCH/puppet 1/2] Port Puppet::SSLCertificates::CA test to rspec

2010-09-24 Thread David Schmitt
+1, no comments. ;-) D. On 9/24/2010 12:04 PM, Brice Figureau wrote: On Thu, 2010-09-23 at 18:27 -0700, Jacob Helwig wrote: Actually, for me, it's harder to top-post, since my mail client is setup to automatically put me just above my signature (below the quoted email) when composing. ;-)

Re: [Puppet-dev] Features #2198 - Combine package installation

2010-09-30 Thread David Schmitt
On Tue, 28 Sep 2010 12:15:47 -0700, Nigel Kersten nig...@google.com wrote: Have we been able to come up with any use cases other than packages where combining offers a benefit? The nagios types seem to be reparsing/rewriting the target on every resource. Having them grouped and written out at

Re: [Puppet-dev] Asynchrony, take 2

2010-09-30 Thread David Schmitt
On Tue, 28 Sep 2010 17:23:18 -0700, Luke Kanies l...@puppetlabs.com wrote: * I want to create a Response object that gets queued, rather than the actual object created, because it will make error propagation and other stuff a lot easier. I plan to duplicate the http model (e.g., response

Re: [Puppet-dev] Asynchronous catalog compiles

2010-10-01 Thread David Schmitt
On 9/29/2010 4:34 AM, Lindsay Holmwood wrote: On 29 September 2010 07:27, Luke Kaniesl...@puppetlabs.com wrote: On Sep 28, 2010, at 8:41, James Turnbullja...@puppetlabs.com wrote: 1. Scrap webrick as base server and replace with - mongrel/passenger/other? Webrick sucks but it's the

Re: [Puppet-dev] Prefer certname or URI when compiling?

2010-10-04 Thread David Schmitt
On 10/4/2010 11:20 AM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Could you make this behavior a configurable option? Safe by default and unsafe when explicitly told to be. IIUIC the code does only replicate the default settings in auth. Thus removing the extra

Re: [Puppet-dev] Catalog Service

2010-10-04 Thread David Schmitt
On 10/2/2010 1:06 AM, Luke Kanies wrote: On Sep 17, 2010, at 1:41 AM, David Schmitt wrote: On 9/16/2010 1:26 AM, Luke Kanies wrote: I've updated the document with these notes and Brice's.Would you prefer I post the whole doc here, or just rely on people checking the original out? http

Re: [Puppet-dev] Asynchronous catalog compiles

2010-10-04 Thread David Schmitt
On 10/4/2010 11:24 AM, Aurelien Degremont wrote: Luke Kanies a écrit : I completely agree that there should continue to be REST support. My question is whether there's significant value to keeping REST as the primary communication mechanism, and if so, what is it? I totally agree with Jeff

Re: [Puppet-dev] [PATCH/puppet-dashboard 1/1] (#4878) Improve efficiency of database query counting nodes.

2010-10-05 Thread David Schmitt
Hi Igal, I've tried to apply this patch on 1.0.3 and replaced the else with simply returning -1. and it didn't do too much good. I've also attached the mysql profiling for Nan, but it seems to be partially a problem of our quite heavily loaded server as the query times are 2s and 0.8s. Thanks

Re: [Puppet-dev] Having Issues Debugging puppet-virt module

2010-10-06 Thread David Schmitt
On 03.10.2010 05:09, Spenser wrote: I have been working on getting the puppet-virt module located at http://github.com/carlasouza/puppet-virt to work. I debugged two small issues but have been stumped by this larger one. My code with the small changes are at

Re: [Puppet-dev] Having Issues Debugging puppet-virt module

2010-10-08 Thread David Schmitt
On 10/6/2010 6:54 PM, Nan Liu wrote: On Wed, Oct 6, 2010 at 8:43 AM, David Schmittda...@dasz.at wrote: On 03.10.2010 05:09, Spenser wrote: I have been working on getting the puppet-virt module located at http://github.com/carlasouza/puppet-virt to work. I debugged two small issues but have

Re: [Puppet-dev] Re: Questions about variable scope

2010-10-14 Thread David Schmitt
On Tue, 12 Oct 2010 15:51:29 -0700, Paul Berry p...@puppetlabs.com wrote: On Tue, Oct 12, 2010 at 3:41 PM, Luke Kanies l...@puppetlabs.com wrote: On Oct 12, 2010, at 2:22 PM, Nigel Kersten wrote: On Tue, Oct 12, 2010 at 2:17 PM, Markus Roberts mar...@puppetlabs.com wrote: Hmm, the

0.25 fails to reload provider on pluginsync (was: Re: [Puppet-dev] Having Issues Debugging puppet-virt module)

2010-10-14 Thread David Schmitt
Hi Nan, people! On Tue, 12 Oct 2010 11:31:07 -0700, Nan Liu n...@puppetlabs.com wrote: On Fri, Oct 8, 2010 at 12:27 AM, David Schmitt da...@dasz.at wrote: Yes, it's the http://github.com/DavidS/puppet-mysql/ module. I overlooked that Spenser wrote about ralsh. I'm seeing that message also

Re: [Puppet-dev] Re: Questions about variable scope

2010-10-15 Thread David Schmitt
On 10/15/2010 12:17 AM, Luke Kanies wrote: On Oct 14, 2010, at 2:08 PM, Markus Roberts wrote: I went back and re-read the thread about autoloading (http://groups.google.com/group/puppet-dev/browse_thread/thread/2228455628cf083c/7aa89c325721fe08), and my understanding of the

Re: [Puppet-dev] [PATCH/facter 1/1] Issue #4889 Fact values should all be strings

2010-10-25 Thread David Schmitt
On 10/25/2010 2:28 AM, Nigel Kersten wrote: I concur. I made the mistake of using booleans early on, and it would have been useful to have this made obvious before I dug a larger hole for myself. +1. Best Regards, David -- dasz.at OG Tel: +43 (0)664 2602670 Web:

Re: [Puppet-dev] Re: No puppet developer patches to the puppet-dev list

2010-11-02 Thread David Schmitt
On Fri, 29 Oct 2010 14:01:24 -0700, Jacob Helwig ja...@puppetlabs.com wrote: On Fri, 29 Oct 2010 20:40:48 +0200, Brice Figureau wrote: I suppose once the iteration is done and patches merged in next, raising a red flag on some changes will be too late, is that right (at least for this

Re: [Puppet-dev] Re: No puppet developer patches to the puppet-dev list

2010-11-03 Thread David Schmitt
On 11/2/2010 3:54 PM, Markus Roberts wrote: I suppose once the iteration is done and patches merged in next, raising a red flag on some changes will be too late, is that right (at least for this iteration)? The patches are being merged into next before the end of

Re: [Puppet-dev] [PATCH/facter 1/1] (#4754) Add support for Darwin and Parallels VM to virtual fact

2010-11-18 Thread David Schmitt
On 11/18/2010 11:13 AM, donavanm wrote: @@ -80,11 +103,11 @@ Facter.add(virtual) do end Facter.add(is_virtual) do -confine :kernel = %w{Linux FreeBSD OpenBSD SunOS HP-UX} +confine :kernel = %w{Linux FreeBSD OpenBSD SunOS HP-UX Darwin} setcode do case

Re: [Puppet-dev] [PATCH/puppet 0/7] POC implementation of a Cisco switch/router type/provider

2011-01-04 Thread David Schmitt
On 1/3/2011 10:32 PM, Brice Figureau wrote: Hi, This is my Christmas Gift for the community :) That's something that was haunting me for a long time: a way to manage switch/routers directly from puppet. Unfortunately most of the switches/routers don't run ruby natively and as such can't run

Re: [Puppet-dev] Re: PSA: Please use pre tags when reporting bugs.

2011-01-25 Thread David Schmitt
On 26.01.2011 03:17, Nick Fagerlund wrote: Yeah, so that's a thing where the HTML is low-level enough to be annoying. Markdown (and whatever parser we're using) is smart enough to handle it, though, so if you use a native Markdown code block (indent all continuous lines four spaces or a hardtab,

Re: [Puppet-dev] Module Dependency Version Requirements

2011-01-28 Thread David Schmitt
Hi Trevor, Debian uses the tilde (~) for this: 1.2~alpha 1.2~beta 1.2~rc 1.2 See the Debian Policy[1] for all gory details, specifically Footnote#34 Best Regards, David [1]http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version On 28.01.2011 13:29, Trevor Vaughan

Re: [Puppet-dev] Extracting and publishing code from Puppet

2011-01-31 Thread David Schmitt
On Mon, 31 Jan 2011 00:19:11 -0800, Luke Kanies l...@puppetlabs.com wrote: Hi all, I think there are a few classes or subsystems in Puppet that could, and maybe should, be extracted into separate projects so they can be more widely used; at worst, they could at least be shared by our other

Re: [Puppet-dev] [PATCH/puppet 1/1] Fixed #6091 - Changed POSIX path matching to allow multiple leading slashes

2011-02-01 Thread David Schmitt
On 31.01.2011 20:11, Daniel Pittman wrote: On Mon, Jan 31, 2011 at 10:50, Thomas Bellmanbell...@nsc.liu.se wrote: James Turnbull wrote: According to http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_266: Multiple successive slashes are considered to be the same

local module modifications (was: Re: [Puppet-dev] Re: Data/Model Separation: Design Proposal)

2011-02-02 Thread David Schmitt
On 02.02.2011 09:37, donavan wrote: On a related note is there a similar discussion about 'vendor'ing puppet modules? I see sites needing to extend/override classes for local requirements, like $operatingsystem support. rantThat's because people are still entrenched in the bunker mind set

Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.5 - Release Candidate 1 available!

2011-02-03 Thread David Schmitt
On 04.02.2011 06:59, Nick Lewis wrote: $name can now be used to set default values in defined resource types Feature #5061: should be able to access ($name, $module_name, $title) from within defined resources type parameter list The $name variable is now resolved within the scope of the

  1   2   3   >