Issue #1109 has been updated by jamtur01.

Status changed from Accepted to Closed
Target version set to 0.24.6

Pushed in commit:"0c297be5dad784e305ef194cee29b11a92d31b6b" in branch 0.24.x
----------------------------------------
Bug #1109: if/else blocks with only a comment in the if section fail
http://projects.reductivelabs.com/issues/show/1109

Author: btm
Status: Closed
Priority: Normal
Assigned to: community
Category: language
Target version: 0.24.6
Complexity: Easy
Patch: None
Affected version: 0.24.4
Keywords: 


<pre>
  $is_vmware = tagged('vmware-guest')
  if $is_vmware {
    # debug(" vmware module handles time sync for guests")
  } else {
    include ntp::client
  }
</pre>
produces:
<pre>
Could not parse for environment development: Syntax error at '}'; expected '}' 
at puppet/manifests/site/base.pp:32
</pre>
where:
<pre>
  $is_vmware = tagged('vmware-guest')
  if $is_vmware {
    debug(" vmware module handles time sync for guests")
  } else {
    include ntp::client
  }
</pre>
works



----------------------------------------
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://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to