Skip to content

Commit

Permalink
Merge pull request #3245 from kylog/maint/remove-dead-code-in-reference
Browse files Browse the repository at this point in the history
(maint) Remove dead code in lib/puppet/reference
adrienthebo committed Oct 28, 2014
2 parents a05027d + 937e132 commit 0a95de8
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions lib/puppet/reference/metaparameter.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
Puppet::Util::Reference.newreference :metaparameter, :doc => "All Puppet metaparameters and all their details" do
types = {}
Puppet::Type.loadall

Puppet::Type.eachtype { |type|
next if type.name == :puppet
next if type.name == :component
types[type.name] = type
}

str = %{
Metaparameters are attributes that work with any resource type, including custom
1 change: 0 additions & 1 deletion lib/puppet/reference/type.rb
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
Puppet::Type.loadall

Puppet::Type.eachtype { |type|
next if type.name == :puppet
next if type.name == :component
next if type.name == :whit
types[type.name] = type

0 comments on commit 0a95de8

Please sign in to comment.