Puppet manifest has a file declaration that somehow duplicates itself

前端 未结 4 1929
陌清茗
陌清茗 2020-12-21 07:06

Given the confusing error message:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: File[/etc/logstas

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-21 07:30

    If you copy an existing file within your manifests directory to another name (for reference purposes) but keep the ".pp" suffix, Puppet will try to include it again and will complain about the duplication. Try renaming to ".pp_OLD"

提交回复
热议问题