Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-2296

No warnings or failures when referencing non-existent functions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Information
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: SERVER 5.3.4
    • Fix Version/s: None
    • Component/s: Puppet Server
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 5.5.3
      Puppet Server Version: 5.3.4
      OS Name/Version: Ubuntu 16.04

      There is one puppet environment "production" with the the stdlib module. There is another puppet environment accountmanagement without the stdlib module. The command "puppet module list" lists all modules in the production environment and no modules in

      /etc/puppetlabs/code/modules (no modules installed)
      /opt/puppetlabs/puppet/modules (no modules installed)

      In the environment accountmanagement I'm trying to use the function file_line from the stdlib module. The catatalog compiles successfully and the agent produces no error but also shows no hint regarding the file_line resource in the puppet code.

      After adding the stdlib module to the puppet environment accountmanagement all works fine.

      The basemodulepath looks fine and is default.

      root@machine123:~# puppet config print basemodulepath
      /etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules

       

       

      Desired Behavior:

      The desired behavior is getting an error during compilation of the catalog with the stdlib module.

      Actual Behavior:

       

      The current behavior is that puppet compiles and executes a catalog with a resource file_line without any trace in debug or error.

       

        Attachments

          Activity

            People

            Assignee:
            uwebartels Uwe Bartels
            Reporter:
            uwebartels Uwe Bartels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support