Issue #4148 has been updated by Markus Roberts.

Status changed from Unreviewed to Investigating
Target version set to 2.6


----------------------------------------
Bug #4148: require function is broken
http://projects.puppetlabs.com/issues/4148

Author: Dan Bode
Status: Investigating
Priority: High
Assigned to: 
Category: 
Target version: 2.6
Affected version: 2.6alpha1
Keywords: 
Branch: 


when I run puppet on the following code:

#/tmp/require.pp
<pre>
class x {
  notify{'a':}
}

class y {
  require x
  notify{'b':}
}

include y
</pre>

I get the following:

<pre>
warning: Scope(Class[Y]): The 'require' function is only compatible with 
clients at 0.25 and above; including class but not adding dependency
notice: b
notice: /Stage[main]/Y/Notify[b]/message: defined 'message' as 'b'
notice: a
notice: /Stage[main]/X/Notify[a]/message: defined 'message' as 'a'
</pre>

The order is incorrect, and there is an invalid warning.


-- 
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 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