Issue #15830 has been reported by Branan Purvine-Riley.

----------------------------------------
Bug #15830: Can't create dependency on resource that is exported and realized 
in the same manifest
https://projects.puppetlabs.com/issues/15830

Author: Branan Purvine-Riley
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.18
Keywords: 
Branch: 


Example manifest that fails:

    @@notify{ 'hello': }
    Notify <<| |>>
    notify { 'world':
      require => Notify['hello']
    }

Expected output:

    notice: hello
    notice: /Stage[main]//Notify[hello]/message: defined 'message' as 'hello'
    notice: world
    notice: /Stage[main]//Notify[world]/message: defined 'message' as 'world'

Actual output:

    Can't create an edge between Notify[world] and exported resource 
Notify[hello]


This code works as expected on PE 2.5.2


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