On 2020-06-16 13:56, 'Frank Ihringer' via Puppet Users wrote:
hello
I/'/m just taking my first steps with puppet and aws (puppetlabs/aws
module). Setting up resources (controlled by hiera) works fine (using
.each loop). But if I want to delete the resources afterwards (with
absent) I get dependency errors (which is obvious, because the resources
are processed in the same order). I have to do it resource by resource
from the end of the list. Is there a simple way to reverse the
processing order (last hiera aws object first) ???
I'm hoping someone here can give me an advice ...
There is a `reverse_each()` function in puppet. Is that what you are
looking for ?
- henrik
(btw: I'm working with puppet 6)
Best regards
Frank
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to puppet-users+unsubscr...@googlegroups.com
<mailto:puppet-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/d14f3b8f-a8fe-40eb-b187-653b1dac9040o%40googlegroups.com
<https://groups.google.com/d/msgid/puppet-users/d14f3b8f-a8fe-40eb-b187-653b1dac9040o%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/rcqcek%243f6l%241%40ciao.gmane.io.