简体   繁体   中英

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:\path\to\folder\*\myFile.txt

how is it possible to do that? Thanks.

You can't do that with puppet DSL.

You need to create a custom script that does that for you on windows and execute that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM