[Puppet Users] Re: Resouce names with variables.

2009-11-07 Thread Avi Miller
Hi, Douglas Garstang wrote: > Yes, it's defined in a class. Can you pastie the entire thing somewhere? It's difficult to tell if there is perhaps a scoping issue unless we can see the entire manifest involved. cYa, Avi --~--~-~--~~~---~--~~ You received this m

[Puppet Users] Re: Resouce names with variables.

2009-11-07 Thread Douglas Garstang
Avi, Yes, it's defined in a class. Doug. On Sat, Nov 7, 2009 at 5:08 PM, Avi Miller wrote: > > Douglas, > > Douglas Garstang wrote: >> Could not find dependency >> File[/opt/jboss/jboss-current/conf/tfel-bindings.xml] for >> Service[jboss-tfel2] at >> /etc/puppet/modules/jboss/manifests/init.p

[Puppet Users] Re: Resouce names with variables.

2009-11-07 Thread Avi Miller
Douglas, Douglas Garstang wrote: > Could not find dependency > File[/opt/jboss/jboss-current/conf/tfel-bindings.xml] for > Service[jboss-tfel2] at > /etc/puppet/modules/jboss/manifests/init.pp:38; using cached catalog It is expanding ${version} to "current" as shown by the jboss-current string

[Puppet Users] Re: Resouce names with variables.

2009-11-07 Thread Douglas Garstang
Oh, and I don't want to use $jboss_version. I want to use $version. That was the whole point. On Sat, Nov 7, 2009 at 4:07 PM, Douglas Garstang wrote: > Peter, > > Same error... > > Nov  7 16:06:57 gumby puppetd[17245]: Configuration could not be > instantiated: Could not find dependency > File[/

[Puppet Users] Re: Resouce names with variables.

2009-11-07 Thread Douglas Garstang
Peter, Same error... Nov 7 16:06:57 gumby puppetd[17245]: Configuration could not be instantiated: Could not find dependency File[/opt/jboss/jboss-current/conf/tfel-bindings.xml] for Service[jboss-tfel2] at /etc/puppet/modules/jboss/manifests/init.pp:38; usi ng cached catalog after changing th

[Puppet Users] Re: Resouce names with variables.

2009-11-07 Thread Peter Meier
> It's painful, because I wanted to set $jboss_version in the node, pass > it to the definition, and use $version inside the definition. I can't > do that. I have to use the $jboss_version variable. use ${jboss_version} instead of $jboss_version. http://reductivelabs.com/trac/puppet/wiki/Langua