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

conf_dir and var_dir is hard coded in masterless mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: PUP 3.4.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Unix, Linux

    • Template:

      Description

      If puppet is used in the masterless mode with the root user, always /etc/puppet and /var/lib/puppet is used.

      As definied in: run_mode.rb

      class UnixRunMode < RunMode
      def conf_dir
      which_dir("/etc/puppet", "~/.puppet")
      end

      def var_dir
      which_dir("/var/lib/puppet", "~/.puppet/var")
      end
      end

      It would be nice to make conf_dir and var_dir configurable at install time.
      "install.rb --configdir" has no effect and an option for var_dir is not existing.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                eric.sorenson Eric Sorenson
                Reporter:
                mzachh Manuel Zach
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support