Sha256: 5c8e76277512695246ad82637882bd589d71b3931cd3434e9af9753f9ed4129a
Contents?: true
Size: 485 Bytes
Versions: 471
Compression:
Stored size: 485 Bytes
Contents
# Tag the current scope with each passed name Puppet::Parser::Functions::newfunction(:tag, :arity => -2, :doc => "Add the specified tags to the containing class or definition. All contained objects will then acquire that tag, also. ") do |vals| if Puppet[:tasks] raise Puppet::ParseErrorWithIssue.from_issue_and_stack( Puppet::Pops::Issues::CATALOG_OPERATION_NOT_SUPPORTED_WHEN_SCRIPTING, {:operation => 'tag'}) end self.resource.tag(*vals) end
Version data entries
471 entries across 471 versions & 2 rubygems