Tidy不能使用递归0,false或undef的匹配项

问题描述 投票:1回答:1

我有以下人偶资源。

tidy {
    'beat_lock':
      age  => '8h',
      path    => '/var/lib/beat/',
      alias   => 'beat_lock',
      matches => 'run.lock',
      type => 'mtime'
  }

我在声明以下错误:

Error: Failed to apply catalog: Parameter matches failed on Tidy[filebeat_lock]: Tidy can't use matches with recurse 0, false, or undef 

我要清除的实体是文件而不是目录。那么,为什么会显示错误?

puppet
1个回答
1
投票

我要清除的实体是文件而不是目录。那么,为什么会显示错误?

© www.soinside.com 2019 - 2024. All rights reserved.