Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
(Unreviewed) ALLCAPS variables arent usable in templates.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
redm...@puppetlabs.com  
View profile  
 More options Jun 3 2010, 2:37 pm
From: redm...@puppetlabs.com
Date: Thu, 3 Jun 2010 18:37:26 +0000
Local: Thurs, Jun 3 2010 2:37 pm
Subject: [Puppet - Bug #3939] (Unreviewed) ALLCAPS variables arent usable in templates.

Issue #3939 has been reported by R.I. Pienaar aka Volcane.

----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
http://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar aka Volcane
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.5
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "(Accepted) ALLCAPS variables arent usable in templates." by redm...@puppetlabs.com
redm...@puppetlabs.com  
View profile  
 More options Jun 7 2010, 2:19 pm
From: redm...@puppetlabs.com
Date: Mon, 7 Jun 2010 18:19:47 +0000
Local: Mon, Jun 7 2010 2:19 pm
Subject: [Puppet - Bug #3939] (Accepted) ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by James Turnbull.

Category set to parser
Status changed from Unreviewed to Accepted
Assigned to set to Jesse Wolfe
Target version set to 0.25.6

----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
http://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar aka Volcane
Status: Accepted
Priority: Normal
Assigned to: Jesse Wolfe
Category: parser
Target version: 0.25.6
Affected version: 0.25.5
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "ALLCAPS variables arent usable in templates." by tick...@puppetlabs.com
tick...@puppetlabs.com  
View profile  
 More options Nov 16 2010, 3:04 pm
From: tick...@puppetlabs.com
Date: Tue, 16 Nov 2010 20:04:44 +0000
Local: Tues, Nov 16 2010 3:04 pm
Subject: [Puppet - Bug #3939] ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by James Turnbull.

Target version deleted (0.25.6)

----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
https://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee: Jesse Wolfe
Category: parser
Target version:
Affected Puppet version: 0.25.5
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tick...@puppetlabs.com  
View profile  
 More options Dec 14 2011, 1:10 pm
From: tick...@puppetlabs.com
Date: Wed, 14 Dec 2011 10:10:40 -0800
Local: Wed, Dec 14 2011 1:10 pm
Subject: [Puppet - Bug #3939] ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by Joshua Lifton.

Assignee deleted (Jesse Wolfe)

This issue was assigned to a former Puppet Labs employee. Adding back to the pool of unreviewed issues.
----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
https://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee:
Category: parser
Target version:
Affected Puppet version: 0.25.5
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "(Unreviewed) ALLCAPS variables arent usable in templates." by tick...@puppetlabs.com
tick...@puppetlabs.com  
View profile  
 More options Jan 20, 5:53 pm
From: tick...@puppetlabs.com
Date: Fri, 20 Jan 2012 14:53:14 -0800
Local: Fri, Jan 20 2012 5:53 pm
Subject: [Puppet - Bug #3939] (Unreviewed) ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by Ben Hughes.

Description updated
Status changed from Accepted to Unreviewed

----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
https://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar
Status: Unreviewed
Priority: Normal
Assignee:
Category: parser
Target version:
Affected Puppet version: 0.25.5
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "(Needs Decision) ALLCAPS variables arent usable in templates." by tick...@puppetlabs.com
tick...@puppetlabs.com  
View profile  
 More options Jan 21, 11:57 am
From: tick...@puppetlabs.com
Date: Sat, 21 Jan 2012 08:57:17 -0800
Local: Sat, Jan 21 2012 11:57 am
Subject: [Puppet - Bug #3939] (Needs Decision) ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by Michael Stahnke.

Description updated
Status changed from Unreviewed to Needs Decision
Assignee set to Nigel Kersten
Affected Puppet version changed from 0.25.5 to 2.7.9

This is absolutely still a bug in 2.7.9.  

    [root@centos5-64 foo]# cat manifests/init.pp
    class foo {
    $FOO = "Hello World"
    file { "/tmp/output":
    ensure => present,
    mode => 0600,
    content => template('foo/test.erb'),
    }
    }
    [root@centos5-64 foo]# cat templates/test.erb
    <%= FOO %>
    [root@centos5-64 foo]# puppet apply --verbose --modulepath=.. -e 'include foo'
    Failed to parse template foo/test.erb: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /root/module/foo/manifests/init.pp:9 on node centos5-64.localdomain
    [root@centos5-64 foo]#

I'm not sure we should support this.  my recommended fix would be to not allow all cap variables in manifests.

----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
https://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar
Status: Needs Decision
Priority: Normal
Assignee: Nigel Kersten
Category: parser
Target version:
Affected Puppet version: 2.7.9
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "(Accepted) ALLCAPS variables arent usable in templates." by tick...@puppetlabs.com
tick...@puppetlabs.com  
View profile  
 More options Jan 21, 12:06 pm
From: tick...@puppetlabs.com
Date: Sat, 21 Jan 2012 09:06:37 -0800
Local: Sat, Jan 21 2012 12:06 pm
Subject: [Puppet - Bug #3939] (Accepted) ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by Michael Stahnke.

Status changed from Needs Decision to Accepted
Assignee deleted (Nigel Kersten)
Target version set to 2.7.x

Ok, so the course of action is to not allow ALLCAPS variables in the Puppet DSL.
----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
https://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee:
Category: parser
Target version: 2.7.x
Affected Puppet version: 2.7.9
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "ALLCAPS variables arent usable in templates." by tick...@puppetlabs.com
tick...@puppetlabs.com  
View profile  
 More options Jan 21, 12:10 pm
From: tick...@puppetlabs.com
Date: Sat, 21 Jan 2012 09:10:49 -0800
Local: Sat, Jan 21 2012 12:10 pm
Subject: [Puppet - Bug #3939] ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by Michael Stahnke.

Target version changed from 2.7.x to Telly

----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
https://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee:
Category: parser
Target version: Telly
Affected Puppet version: 2.7.9
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "(Closed) ALLCAPS variables arent usable in templates." by tick...@puppetlabs.com
tick...@puppetlabs.com  
View profile  
 More options Jan 25, 4:53 pm
From: tick...@puppetlabs.com
Date: Wed, 25 Jan 2012 13:53:55 -0800
Local: Wed, Jan 25 2012 4:53 pm
Subject: [Puppet - Bug #3939] (Closed) ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by Daniel Pittman.

Status changed from Accepted to Closed

Michael Stahnke wrote:
> Ok, so the course of action is to not allow ALLCAPS variables in the Puppet DSL.

Actually, I think they should be available in the new style in templates:

`⚡ puppet apply -e '$FOO = "bar" notice(inline_template("[<%= @FOO %>]"))'`

The member variable style avoids the collision with Ruby constants.
----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
https://projects.puppetlabs.com/issues/3939

Author: R.I. Pienaar
Status: Closed
Priority: Normal
Assignee:
Category: parser
Target version: Telly
Affected Puppet version: 2.7.9
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "ALLCAPS variables arent usable in templates." by tick...@puppetlabs.com
tick...@puppetlabs.com  
View profile  
 More options May 9, 3:03 pm
From: tick...@puppetlabs.com
Date: Wed, 9 May 2012 12:03:35 -0700
Local: Wed, May 9 2012 3:03 pm
Subject: [Puppet - Bug #3939] ALLCAPS variables arent usable in templates.

Issue #3939 has been updated by Daniel Pittman.

Target version changed from 3.X to 3.0.0

----------------------------------------
Bug #3939: ALLCAPS variables arent usable in templates.
https://projects.puppetlabs.com/issues/3939#change-62292

Author: R.I. Pienaar
Status: Closed
Priority: Normal
Assignee:
Category: parser
Target version: 3.0.0
Affected Puppet version: 2.7.9
Keywords:
Branch:

Puppet lets you set all caps variables in the manifest that you couldnt use in a template:

<pre>
$FOO = "bar"
notice "from puppet: ${FOO}"
notice inline_template("<%= FOO %>")
</pre>

Output is:

<pre>
notice: Scope(Class[main]): from puppet: bar
Failed to parse inline template: uninitialized constant Puppet::Parser::TemplateWrapper::FOO at /home/rip/test.pp:4 on node nephilim.ml.org
</pre>

Not sure if you can make the template not handle those as constants, but if not then the language shouldn't let us make all caps variables.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »