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

A non productive construct may only be placed last in a block/sequence

    XMLWordPrintable

    Details

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

      Debian 7, Puppet 3.7.0, Ruby 1.9.3p194

    • Template:

      Description

      Hi,

      I'm trying to migrate from 3.4 to 3.7.0. Most errors I've been running into have been fairly easy to solve. However, I keep running into one that seems to have no obvious solution, making me believe I may be running into a bug. I'm using the future parser.

      The error is:

      Error: Could not retrieve catalog from remote server: Error 400 on SERVER: This Type-Name is not productive. A non productive construct may only be placed last in a block/sequence at /etc/puppet/modules/icinga/manifests/init.pp:620:5 on node <fqdn>

      I believe the following snippet to be the relevant and error-causing code:

      tail /etc/puppet/modules/icinga/manifests/init.pp
          }
        }
       
        # The idoutils installer configures a database user that we
        # blatantly override. Hence this order definition
        if ($icinga::bool_enable_icingaweb == true and $icinga::bool_enable_idoutils == true) {
          Class ['::icinga::idoutils'] -> Class ['::icinga::web']
        }
       
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Freeaqingme Dolf Schimmel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support