Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7325

puppetlabs/postgresql : fails with puppet 5.5.2 on Ubuntu 16.04

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: postgresql
    • Labels:
      None
    • Environment:

      Ubuntu 16.04  

      puppet-agent 5.5.2

      puppetlabs/postgresql 5.5.0

    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      With the following my my manifest:

      class

      { 'postgresql::server': }

      I get this:

      Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/postgresql/9.5/main/pg_hba.conf20180619-7760-176h7sr.lock
      Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/postgresql/9.5/main/pg_hba.conf20180619-7760-176h7sr.lock
      Wrapped exception:
      No such file or directory @ dir_s_mkdir - /etc/postgresql/9.5/main/pg_hba.conf20180619-7760-176h7sr.lock
      Error: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.5/main/pg_hba.conf]/File[/etc/postgresql/9.5/main/pg_hba.conf]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/postgresql/9.5/main/pg_hba.conf20180619-7760-176h7sr.lock
      Notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[port]/Postgresql_conf[port]/ensure: created
      Error: Puppet::Util::FileType::FileTypeFlat could not write /etc/postgresql/9.5/main/postgresql.conf: No such file or directory @ rb_sysopen - /etc/postgresql/9.5/main/postgresql.conf
      Error: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[port]/Postgresql_conf[port]: Could not evaluate: Puppet::Util::FileType::FileTypeFlat could not write /etc/postgresql/9.5/main/postgresql.conf: No such file or directory @ rb_sysopen - /etc/postgresql/9.5/main/postgresql.conf
      Notice: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[data_directory]/Postgresql_conf[data_directory]/ensure: created
      Error: Puppet::Util::FileType::FileTypeFlat could not write /etc/postgresql/9.5/main/postgresql.conf: No such file or directory @ rb_sysopen - /etc/postgresql/9.5/main/postgresql.conf
      Error: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[data_directory]/Postgresql_conf[data_directory]: Could not evaluate: Puppet::Util::FileType::FileTypeFlat could not write /etc/postgresql/9.5/main/postgresql.conf: No such file or directory @ rb_sysopen - /etc/postgresql/9.5/main/postgresql.conf
      Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/postgresql/9.5/main/pg_ident.conf20180619-7760-igfsh9.lock
      Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/postgresql/9.5/main/pg_ident.conf20180619-7760-igfsh9.lock
      Wrapped exception:
      No such file or directory @ dir_s_mkdir - /etc/postgresql/9.5/main/pg_ident.conf20180619-7760-igfsh9.lock
      Error: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.5/main/pg_ident.conf]/File[/etc/postgresql/9.5/main/pg_ident.conf]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/postgresql/9.5/main/pg_ident.conf20180619-7760-igfsh9.lock

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            paulm Paul Manners
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support