Skip to content

Tidy backup limitation not documented #85

Open
@DaAwesomeP

Description

@DaAwesomeP

Hello,

When using the backup param for tidy, the docs say that the backup param is passed to file:
https://github.com/OpenVoxProject/puppet/blob/965de49fadc0e9cfc51c50bfa85bde775b6aa5e3/references/types/tidy.md?plain=1#L69-L75

https://github.com/OpenVoxProject/puppet/blob/965de49fadc0e9cfc51c50bfa85bde775b6aa5e3/lib/puppet/type/tidy.rb#L119-L123

However, this is not entirely the case. Tidy only allows backing up to a file bucket:
https://github.com/OpenVoxProject/puppet/blob/965de49fadc0e9cfc51c50bfa85bde775b6aa5e3/lib/puppet/type/tidy.rb#L240-L245

This should be added to the documentation, but even better (separate issue) would be remove this restriction. It would be awesome to be able to use tidy to rename atomic config files to disable them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions