Sha256: b36ffe1a5476bc65e0fb7f5003f6d595d5eb901c2964e4c556d891e71c1804d1
Contents?: true
Size: 470 Bytes
Versions: 16
Compression:
Stored size: 470 Bytes
Contents
Puppet::Type.newtype(:r8_export_variable) do @doc = "r8 export variable content" ensurable newparam(:name) do desc "component and attribute name in dot notation" validate do |value| unless value =~ /.*::.*/ raise ArgumentError, "name attribute: #{value} is in invalid format, should be in <component>::<attribute> format" end end end newparam(:content) do desc "variable content to store in specific attribute" end end
Version data entries
16 entries across 16 versions & 1 rubygems