Bug #4148

require function is broken

Added by Dan Bode almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:07/06/2010
Priority:High Due date:
Assignee:- % Done:

0%

Category:-
Target version:2.6.0
Affected Puppet version:2.6alpha1 Branch:
Keywords:
Votes: 0

Description

when I run puppet on the following code:

/tmp/require.pp

class x {
  notify{'a':}
}

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

include y

I get the following:

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'

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

History

Updated by Markus Roberts almost 2 years ago

  • Status changed from Unreviewed to Investigating
  • Target version set to 2.6.0

Updated by Markus Roberts almost 2 years ago

  • Status changed from Investigating to Closed

Pushed to master as commit:0598f35d6680e6f58f564c6da546ab307d0f3c3b

Also available in: Atom PDF