Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cat modules/lemon/lib/puppet/type/metric.rb
- Puppet::Type.newtype(:metric) do
- @doc = "Manage metrics"
- ensurable
- newparam(:id) do
- desc "The metric id number"
- isnamevar
- end
- newparam(:name) do
- desc "The name of the metric to be used in Lemon server and on the web, it is the identifier"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment