Issue #5674 has been updated by eric sorenson.

Status changed from Accepted to Closed
Assignee set to eric sorenson

Closing as wont-fix -- the ruby dsl is deprecated and will not receive fixes.

----------------------------------------
Bug #5674: resource auto-search/auto-loading doesn't work in ruby dsl
https://projects.puppetlabs.com/issues/5674#change-97768

* Author: Yuri Arabadji
* Status: Closed
* Priority: Normal
* Assignee: eric sorenson
* Category: language
* Target version: 
* Affected Puppet version: 2.6.4
* Keywords: 
* Branch: 
----------------------------------------
It just doesn't work.

.pp:

<pre>
node 'default' {
        testo::seconddef { 'secdef_rsrc': }
}

**notice: Scope(Testo::Seconddef[secdef_rsrc]): Define: second**</pre>

while with .rb:

<pre>
node 'default' do
        create_resource 'testo::seconddef', 'secdef_rsrc'
end

**Cannot find definition Testo::Seconddef on node xxx**
</pre>


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to