puppetlabs/puppet · error · ArgumentError

%{value} is not a good copyright year, set, or range

Error message

%{value} is not a good copyright year, set, or range

What it means

Error "%{value} is not a good copyright year, set, or range" thrown in puppetlabs/puppet.

Source

Thrown at lib/puppet/interface/documentation.rb:359

            end
          end
        end

      when Array then
        result = []
        input.each do |item|
          item = munge_copyright_year item
          if item.is_a? Array
            result.concat item
          else
            result << item
          end
        end
        result

      else
        # TRANSLATORS 'copyright' is an attribute name and should not be translated
        raise ArgumentError, _("%{value} is not a good copyright year, set, or range") % { value: input.inspect }
      end
    end
  end
end

View on GitHub (pinned to e227c27540)

When it happens

Trigger: Thrown at lib/puppet/interface/documentation.rb:359 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of puppetlabs/puppet@e227c27540 (2026-08-21). Data as JSON: /api/errors/292d13427325d6c7. Report an issue: GitHub.