Resource Type: graphdb_data
- Defined in:
- lib/puppet/type/graphdb_data.rb
- Providers:
-
graphdb_data
Overview
Loads data into GraphDB
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
Parameters
-
data
The data you want to load into repository Supported formats: String: ‘data’ Array: [‘data#1’,‘data#2’] Array of Hashes: [=> ‘data#1’, ‘context’ => ‘context_of_data#1’, ‘format’ => ‘format_of_data1’, => ‘data#2’, ‘context’ => ‘context_of_data#2’, ‘format’ => ‘format_of_data2’] Mixed Array: [=> ‘data#1’, ‘context’ => ‘context_of_data#1’, ‘format’ => ‘format_of_data1’, ‘data#2’] note#1: if context for data not provided data_context is used note#2: if format for data not provided data_format is used
-
data_context
(defaults to: null)
The context you want to load your data into; default: null
-
data_format
The format of the data. e.g.: turtle
Supported values:- Puppet::Util::DataTypeExtensions.values
-
data_overwrite
(defaults to: false)
Wheather to overwrite any existing data; default: false
-
data_source
The source of data you want to load into repository Supported formats: String: ‘path_to_file’ String: ‘path_to_directory’ Array: [‘path_to_file#1’,‘path_to_file#2’] Array of Hashes: [=> ‘path_to_file#1’, ‘context’ => ‘context_of_file#1’, ‘format’ => ‘format_of_file#1’, => ‘path_to_file#2’, ‘context’ => ‘context_of_file#2’, ‘format’ => ‘format_of_file#2’] Mixed Array: [=> ‘path_to_file#1’, ‘context’ => ‘context_of_file#1’, ‘format’ => ‘format_of_file#1’, ‘path_to_file#2’] note#1: if context for file not provided data_context is used note#2: if format for file not provided trying to resolve format from file if fails data_format is used
-
endpoint
Sesame endpoint of GraphDB instance
-
exists_expected_response
(defaults to: true)
The expected response from exists_query
-
exists_query
The ask query to check whether data is already loaded. You can use the following syntax: ask ?p ?o
-
name (namevar)
An arbitrary name used as the identity of the resource.
-
provider
The specific backend to use for this ‘graphdb_data` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
repository_id
The id of the created repository
-
timeout
(defaults to: 60)
The max number of seconds that the loading process should wait before giving up; default: 60 seconds