File: datacat_fragment.rb

package info (click to toggle)
puppet-module-richardc-datacat 0.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 208 kB
  • sloc: ruby: 417; sh: 10; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Puppet::Type.newtype(:datacat_fragment) do
  desc 'A fragment of data for a datacat resource.'

  newparam(:name, :namevar => true) do
    desc 'The name of this fragment.'
  end

  newparam(:target) do
    desc 'The title of the datacat resource that the data should be considered part of.  May be an array to indicate multiple targetted collectors.'
  end

  newparam(:order) do
    desc 'The order in which to merge this fragment into the datacat resource.  Defaults to the string "50"'
    defaultto "50"
  end

  newparam(:data) do
    desc 'A hash of data to be merged for this resource.'
  end
end