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

class not available after installation in modulepath

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • PUP 3.4.3
    • None
    • Types and Providers

    Description

      Resource(file_line) which is available in Class(StdLib) is not accessible after installation of the class in modulepath /etc/puppet/modules

      Usage of the resource(file_line) done in a class ( profilechange1) is as below

      class postgresql::profilechange1{
      file_line{'Path updation':
      path => '/etc/profile',
      ensure => present,
      line => 'PATH=$PATH:/usr/local/pgsql/bin\n',
      }
      }
      

      Error encountered
      --------------------------
      Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class stdlib for sys-server on node sys-server
      Warning: Not using cache on failed catalog
      Error: Could not retrieve catalog; skipping run

      The class stdlib although available under /etc/puppet/modules
      is not accessible from a local class

      Could find a similar issue reported in the older puppet issue list in redmine
      https://projects.puppetlabs.com/issues/16568

      As per it, restart of server and client was suggested, which was also tried
      with no favourable results.

      Attachments

        Activity

          People

            lakshmi.thampi@mpowersoft.com Lakshmi
            lakshmi.thampi@mpowersoft.com Lakshmi
            Eric Thompson Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified