Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-09 Thread David Schmitt
On 7/8/2010 10:33 PM, Joe McDonagh wrote: On 07/02/2010 04:45 AM, David Schmitt wrote: On 6/30/2010 1:47 AM, Joe McDonagh wrote: Also, it would be *huge* to be able to append to vars. Right now I open fw ports via a variable in the node def like: $open_tcp_ports = 22,443 If I could always

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-08 Thread Joe McDonagh
On 07/02/2010 04:45 AM, David Schmitt wrote: On 6/30/2010 1:47 AM, Joe McDonagh wrote: Also, it would be *huge* to be able to append to vars. Right now I open fw ports via a variable in the node def like: $open_tcp_ports = 22,443 If I could always open 22 in the node def, but += inside

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-05 Thread David Schmitt
On 7/5/2010 12:04 AM, Matt wrote: On 2 July 2010 09:50, David Schmittda...@dasz.at wrote: On 6/30/2010 10:57 AM, Matt wrote: On 29 June 2010 17:22, Luke Kaniesl...@puppetlabs.comwrote: Hi all, Given the number of threads on variable scoping recently, it's pretty clear we need to

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-05 Thread Matt
On 5 July 2010 09:15, David Schmitt da...@dasz.at wrote: On 7/5/2010 12:04 AM, Matt wrote: On 2 July 2010 09:50, David Schmittda...@dasz.at  wrote: On 6/30/2010 10:57 AM, Matt wrote: On 29 June 2010 17:22, Luke Kaniesl...@puppetlabs.com    wrote: Hi all, Given the number of threads on

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-04 Thread Matt
On 2 July 2010 09:50, David Schmitt da...@dasz.at wrote: On 6/30/2010 10:57 AM, Matt wrote: On 29 June 2010 17:22, Luke Kaniesl...@puppetlabs.com  wrote: Hi all, Given the number of threads on variable scoping recently, it's pretty clear we need to change how it works.  Markus has a lot

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-02 Thread David Schmitt
On 6/30/2010 1:47 AM, Joe McDonagh wrote: Also, it would be *huge* to be able to append to vars. Right now I open fw ports via a variable in the node def like: $open_tcp_ports = 22,443 If I could always open 22 in the node def, but += inside classes for httpd, nfs, etc. things would be nice.

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-02 Thread David Schmitt
On 6/30/2010 10:57 AM, Matt wrote: On 29 June 2010 17:22, Luke Kaniesl...@puppetlabs.com wrote: Hi all, Given the number of threads on variable scoping recently, it's pretty clear we need to change how it works. Markus has a lot of this redone in his futures branch, and I'm asking him to

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-02 Thread David Schmitt
On 6/30/2010 5:07 PM, Patrick Mohr wrote: By the way, ignoring the technical aspect, how do you think defined should work in this case? In this case, what aleart should be printed, or what error should be printed? This is a rather contrived example, but I'm not really sure what puppet should

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Matt
On 29 June 2010 17:22, Luke Kanies l...@puppetlabs.com wrote: Hi all, Given the number of threads on variable scoping recently, it's pretty clear we need to change how it works.  Markus has a lot of this redone in his futures branch, and I'm asking him to fully describe what the results will

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread R.I.Pienaar
- Luke Kanies l...@puppetlabs.com wrote: Hi all, Given the number of threads on variable scoping recently, it's pretty clear we need to change how it works. Markus has a lot of this redone in his futures branch, and I'm asking him to fully describe what the results will be when

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If possible, I would like to see a special variables derivative of class that allow for multiple inheritance so that you could pull variables from multiple top-level classes and override them at a single point. This would prevent the multiple tree to

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread R.I.Pienaar
- Trevor Vaughan tvaug...@onyxpoint.com wrote: Also, I'm not entirely convinced that variables can't be overridden. I understand that the final compilation is order independent, but I believe that the initial run is file order dependent. I.e. if you don't declare an 'include' before an

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Trevor Vaughan
Fair enough. If it is a bug, then consider that suggestion null and void. Did you note that defined() should not blow up if you don't have the class on your system at all? Sorry, running in text only mode today :-/. Thanks, Trevor On 6/30/10, R.I.Pienaar r...@devco.net wrote: - Trevor

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread R.I.Pienaar
'lo - Trevor Vaughan tvaug...@onyxpoint.com wrote: Did you note that defined() should not blow up if you don't have the class on your system at all? hehe never seen this behavior but did just test, I'd say that another bug worth filing separately Sorry, running in text only mode

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Patrick Mohr
On Jun 30, 2010, at 3:09 AM, R.I.Pienaar wrote: - Trevor Vaughan tvaug...@onyxpoint.com wrote: Also, I'm not entirely convinced that variables can't be overridden. I understand that the final compilation is order independent, but I believe that the initial run is file order

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread R.I.Pienaar
hey - Patrick Mohr kc7...@gmail.com wrote: On Jun 30, 2010, at 3:09 AM, R.I.Pienaar wrote: - Trevor Vaughan tvaug...@onyxpoint.com wrote: Also, I'm not entirely convinced that variables can't be overridden. I understand that the final compilation is order independent, but

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Patrick Mohr
On Jun 30, 2010, at 8:33 AM, R.I.Pienaar wrote: hey - Patrick Mohr kc7...@gmail.com wrote: On Jun 30, 2010, at 3:09 AM, R.I.Pienaar wrote: - Trevor Vaughan tvaug...@onyxpoint.com wrote: Also, I'm not entirely convinced that variables can't be overridden. I understand

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FYI, it's this bug: http://projects.reductivelabs.com/issues/3490 That's definitely going to need to get fixed before the module forge is really going to take off. Trevor On 06/30/2010 10:05 AM, R.I.Pienaar wrote: 'lo - Trevor Vaughan

[Puppet Users] Variable Scoping: What do you want?

2010-06-29 Thread Luke Kanies
Hi all, Given the number of threads on variable scoping recently, it's pretty clear we need to change how it works. Markus has a lot of this redone in his futures branch, and I'm asking him to fully describe what the results will be when that's merged, but my guess is that there are

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-29 Thread Gabriel Filion
On 2010-06-29 19:47, Joe McDonagh wrote: On 06/29/2010 12:22 PM, Luke Kanies wrote: Hi all, Given the number of threads on variable scoping recently, it's pretty clear we need to change how it works. Markus has a lot of this redone in his futures branch, and I'm asking him to fully describe