[英]Puppet file type with Regex
I need to ensure that file exist inside all sub-directories of specific directory. 我需要确保文件存在于特定目录的所有子目录中。 for example:
例如:
Ensure that the c:\\myFile.txt
file and his contect exist at: 确保位于以下位置的
c:\\myFile.txt
文件及其连接位置:
c:\path\to\folder\*\myFile.txt
how is it possible to do that? 怎么可能呢? Thanks.
谢谢。
You can't do that with puppet DSL. 使用p DSL无法做到这一点。
You need to create a custom script that does that for you on windows and execute that. 您需要创建一个在Windows上为您执行此操作的自定义脚本,然后执行该脚本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.