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

Classes should propagate schedule metaparameter to its contained resources

    XMLWordPrintable

Details

    • Coremunity
    • 47711
    • 1

    Description

      Classes with a schedule metaparameter should propagate it to resources contained in the class.
      Other metaparameters work as intended (notify/require), but schedule is ignored.
      small example:

      # definitions
      define res {
          notify { 'in def':
              message => 'DEFINITION',
          }
      }
       
      class cls {
          notify { 'in class':
              message => 'CLASS',
          }
      }
       
      # instances
      service { 'notify_me': }
       
      notify { 'outside':
          message => 'OUTSIDE',
          schedule => 'never',
          notify => Service['notify_me'],
      }
       
      res { 'res inst':
          schedule => 'never',
          notify => Service['notify_me'],
      }
       
      class { 'cls':
          schedule => 'never',
          notify => Service['notify_me'],
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cameris cameris
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support