Sha256: cdd36b71cab10ada60a9fbaffd76d77ba256e6917d03026810a181bdf25a203c
Contents?: true
Size: 473 Bytes
Versions: 15
Compression:
Stored size: 473 Bytes
Contents
Puppet::Type.newtype(:dtk_export_variable) do @doc = "dtk 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
15 entries across 15 versions & 1 rubygems