Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: PUP 3.7.2
    • Fix Version/s: PUP 4.1.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      1
    • Sprint:
      Language 2015-04-29, Language 2015-05-13
    • Release Notes:
      Bug Fix

      Description

      [mguezuraga@server ~]$ puppet apply -e "notice this_will_fail('yes')"
      Error: Unknown function this_will_fail at line 1 on node server
      Error: Unknown function this_will_fail at line 1 on node server
      [mguezuraga@server ~]$
      

      I started looking into this, because I saw it on a different place, such as:

      [mguezuraga@server ~]$ cat test.pp
      service { "nginx":
          ensure => "running",
      }
       
      # Forcing an error in nginx.conf
      [mguezuraga@server ~]$ sudo puppet apply test.pp
      Notice: Compiled catalog for server in environment production in 0.24 seconds
      Error: Could not start Service[nginx]: Execution of '/sbin/service nginx start' returned 1: Starting nginx: nginx: [emerg] "worker_processes" directive invalid value in /etc/nginx/nginx.conf:8
      [FAILED]
      Wrapped exception:
      Execution of '/sbin/service nginx start' returned 1: Starting nginx: nginx: [emerg] "worker_processes" directive invalid value in /etc/nginx/nginx.conf:8
      [FAILED]
      Error: /Stage[main]/Main/Service[nginx]/ensure: change from stopped to running failed: Could not start Service[nginx]: Execution of '/sbin/service nginx start' returned 1: Starting nginx: nginx: [emerg] "worker_processes" directive invalid value in /etc/nginx/nginx.conf:8
      [FAILED]
      Notice: Finished catalog run in 1.31 seconds
      [mguezuraga@server ~]$
      

      risk: medium (low severity)
      probability: high
      severity: low (meh, but impacts overall quality "feel")
      highest test layer: acceptance

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mguezuraga Mariano Guezuraga
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support