This XML file needs to contain all Tomcats on this server, which are
created with a parameterized puppet ressource.
What I need is something like this:
<root>
<name>test1</name>
<name>test2</name>
</root>
from these ressources
example::ressource { "test1": }
example::ressource { "test2": }
Here is an example puppet module https://github.com/xorpaul/puppet-example
How can I access the $name variable from the example::ressource?
Can I do something like $ressourcename = $example::ressource::name
At first I tried using puppet-concat and it worked until I needed to
specify a concat::fragment only once and still be able to access the
ressource parameters.
Is there a simple solution I'm just not seeing here?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/VqZyokMU5UYJ.
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-users?hl=en.