2021年2月4日星期四

Check file existence on target machine using Bolt

Looking in the Bolt documentation, I didn't find how to check the existence of a file on the remote machine using Puppet plans.

Using get_resources could be used but the problem is that it requires the Puppet agent to be installed on the remote machine which is something I want to avoid for the moment.

Another way to do is to use a shell script with run_command and it will probably be my way to handle this.

Any other idea ?

https://stackoverflow.com/questions/66046351/check-file-existence-on-target-machine-using-bolt February 04, 2021 at 09:11PM

没有评论:

发表评论