Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-4811

Filebucket tries to backup in local environment when set for remote

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: PUP 4.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      RHEL 6, CentOS 6

      Description

      Declaring the filebucket resource and assigning for File in site.pp for a Puppet 4 and agent 1.x doesn't work as expected.
      As shown here:
      https://docs.puppetlabs.com/references/latest/type.html#filebucket
      The filebucket is set with path=>false yet when a file is edited on a puppet agent run, the run fails because Puppet tries to backup the old file to a local /etc/puppetlabs/code/environments/myenv folder which of course only exists on the Puppet Master, the node in that myenv only has "production" in its local environment path.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                tux_o_matic Benjamin Merot
                Reporter:
                tux_o_matic Benjamin Merot
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: