Puppet: System Administration Automated

Support

Ticket #513 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

explicitly document "backup" possibilities in pfile.rb [PATCH]

Reported by: DavidS Assigned to: luke
Priority: lowest Milestone:
Component: types Version: 0.22.1
Severity: trivial Keywords: documentation
Cc: Triage Stage:
Attached Patches: Complexity:

Description

The description of the bucket parameter of the file type doesn't explicitly mention how to turn off backups. This small patch fixes this. Please apply.

Index: pfile.rb
===================================================================
--- pfile.rb    (revision 2217)
+++ pfile.rb    (working copy)
@@ -36,10 +36,12 @@
                 a ``filebucket``, which stores files by their MD5 sums and allo
ws
                 easy retrieval without littering directories with backups.  You
                 can specify a local filebucket or a network-accessible
-                server-based filebucket.  Alternatively, if you specify any
+                server-based filebucket by setting ``backup => bucket-name``.
+                Alternatively, if you specify any
                 value that begins with a ``.`` (e.g., ``.puppet-bak``), then
                 Puppet will use copy the file in the same directory with that
-                value as the extension of the backup.
+                value as the extension of the backup. Setting ``backup =>
+                false`` disables all backups of the file in question.
                 
                 Puppet automatically creates a local filebucket named ``puppet`
` and
                 defaults to backing up there.  To use a server-based filebucket
,

Change History

02/22/07 13:02:58 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

Applied in [2219].