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 <doug.garst...@gmail.com> wrote: > 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 the require to... > > File["/opt/jboss/jboss-${version}/conf/tfel-bindings.xml"] ], > > Doug. > > > On Sat, Nov 7, 2009 at 3:54 PM, Peter Meier <peter.me...@immerda.ch> wrote: >> >>> 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/LanguageTutorial#quoting >> >> cheers pete >> >> >> >> > > > > -- > Regards, > > Douglas Garstang > http://www.linkedin.com/in/garstang > Email: doug.garst...@gmail.com > Cell: +1-805-340-5627 > -- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garst...@gmail.com Cell: +1-805-340-5627 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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 -~----------~----~----~----~------~----~------~--~---