Sha256: a93fa409b9680cccec6c5774601b788e64e36efead8af3beec1e37515f3ec324
Contents?: true
Size: 377 Bytes
Versions: 22
Compression:
Stored size: 377 Bytes
Contents
define "r8::export_variable", :content => Puppet::Parser::AST::Leaf::Undef.new({:value => '***'}) do if @name =~ /(^.+)::(.+$)/ component = $1 attribute = $2 if content = (@content == '***' ? scope.lookupvar(@name) : @content) p = Thread.current[:exported_variables] ||= Hash.new (p[component] ||= Hash.new)[attribute] = content end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
dtk-node-agent-0.5.12 | puppet_additions/modules/r8/manifests/export_variable.rb |
dtk-node-agent-0.5.10 | puppet_additions/modules/r8/manifests/export_variable.rb |