I'm confused about virtual resources. The documentation on the Puppet
Labs web site isn't very clear, but, as is often the case, by trial
and error, I thought I had it figured out. It seemed like you could
define a resource as virtual in one definition, realize it in that
definition, and then require => it in a different definition. That's
how it seemed to work anyway. It seemed like when you defined a
resource as virtual, you could refer to it on any definition or class
that was being applied to that node.

Well, I just clean kickstarted a system, and now I am getting:

Sep  7 04:19:44 app01 puppet-agent[5398]: Could not run Puppet
configuration client: Could not find dependency
File[/opt/tomcat/starterkit/tfel0/server/current] for
File[/opt/tomcat/starterkit/tfel0/server/current/conf/easyconf.groovy]
at /etc/puppet/modules/starterkit/manifests/setup.pp:107

In the setup definition I am trying to require a package that was
defined as a virtual resource in another... doesn't seem to work
now... obviously I got something wrong...

Doug.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to