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

Unable to update authorized_keys on EL7

    XMLWordPrintable

    Details

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

      CentOS 7 and RHEL7
      x86_64

    • Template:

      Description

      Puppet is unable to update user authorized key files, but default on EL7. Same error encountered on each attempt.

      Workaround has been to cd into each users home directory and run puppet test from there. Doing this for each server becomes a bit tedious and even prevents access to a system which only received credentials via puppet.

      Notice: /Stage[main]/Tui_accounts::Web_deployment/Account[tui-deployment]/Ssh_authorized_key[tui-deployment]/ensure: created
      Error: Puppet::Util::FileType::FileTypeFlat could not write /home/tui-deployment/.ssh/authorized_keys: could not find a temporary directory
      Error: /Stage[main]/Tui_accounts::Web_deployment/Account[tui-deployment]/Ssh_authorized_key[tui-deployment]: Could not evaluate: Puppet::Util::FileType::FileTypeFlat could not write /home/tui-deployment/.ssh/authorized_keys: could not find a temporary directory
      Notice: /Stage[main]/Tui_accounts::Web_deployment/File[/home/tui-deployment/.ssh/github]: Dependency Ssh_authorized_key[tui-deployment] has failures: true

        Attachments

          Activity

            People

            Assignee:
            kylo Kylo Ginsberg
            Reporter:
            tuxtek Shawn LoPresto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support