Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-841

filebucket ignoring settings and looking for local filebucket and directory environment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      PE 2015.2.3 (4.2.3)
      Split - CA,PuppetDB,Postgres,Compilemasters
      All RHEL 6.6

    • Template:

      Description

      When file resources attempt to backup, they fail when looking for the local backup location.
      Example error:
      Error: Could not back up /etc/puppetlabs/mcollective/server.cfg: Could not find a directory environment named 'testlab' anywhere in the path: /etc/puppetlabs/code/environments. Does the directory exist?
      Error: Could not back up /etc/puppetlabs/mcollective/server.cfg: Could not find a directory environment named 'testlab' anywhere in the path: /etc/puppetlabs/code/environments. Does the directory exist?
      Error: /Stage[main]/Puppet_enterprise::Mcollective::Server/File[/etc/puppetlabs/mcollective/server.cfg]/content: change from

      {md5}73e68cfd79153a49de6f5721ab60657b to {md5}

      df6318d71a91b5aea934827a44ec4631 failed: Could not back up /etc/puppetlabs/mcollective/server.cfg: Could not find a directory environment named 'testlab' anywhere in the path: /etc/puppetlabs/code/environments. Does the directory exist?

      The client node should not have to have the environment directory that is defined on the master, this seems to be a bug. We've tried multiple settings for filebucket, including modifying the puppet_enterprise module code to set a filebucket on our CA machine, the setting was ignored.

      filebucket

      {'yourface': server => 'ca.yourface', path => false, }

      file { "${puppet_enterprise::params::mco_etc}/server.cfg":
      content => template('puppet_enterprise/mcollective/server.cfg.erb'),
      mode => '0660',
      notify => Service['mcollective'],
      backup => yourface,
      }

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  uphillian Thomas Uphill
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support