This message was deleted.
# puppet
s
This message was deleted.
a
This currently says:
Copy code
Error: Could not run: Could not retrieve dependency 'Exec["echo hi"]' of File[/home/animesh/TrashThings/testing/puppet/file-link]
which is obvious as I've not defined that anywhere...
b
as you said, you don't have it defined anywhere šŸ™‚
which you cannot do on the CLI in that way
it manages a single resource. if you want to play with a bit of Puppet DSL, for example two resources or some conditions, you need to use
puppet apply
a
Um, ok, but it might be actually useful to run command on changes that way actually šŸ¤” even if its currently not implemented like so...
b
that's really what puppet apply is made for
a
I mean its what puppet is for, but this cli interface can be useful for imperative management while using puppet provider ecosystem which support many os.
b
yes. and you can do that with puppet apply as well
a
Anyway, I would like to try adding a --on-change "cmd" in fork if I'm able to, would be great to understand puppet from inner side as well... puppet manifest can notify variety of resources, though if using from cli, notifying a command is enough i guess.
b
the whole concept of
puppet resource
is to manage a single resource
šŸ˜… 1
šŸ™Œ 1
y
there is Puppet Bolt for this I’d say