logstash-input-puppet_facter 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +10 -1
- data/docs/index.asciidoc +106 -0
- data/logstash-input-puppet_facter.gemspec +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a139ada3c654e627d3902371505214324d4dc875
|
|
4
|
+
data.tar.gz: eae0af0f932dd6a84b63177419c5dab3ace014f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a29eb8bfc1f498daec3f9c203068c2f341476c30e30333e1b4b6df44652eec3144abb70d987a2c8b27a95c93dd5274f6ab15e8c967d9b7421f1f098f83af44ba
|
|
7
|
+
data.tar.gz: 58322bd2947d018c1b7e18fec15700c260e5424f32a7fa449dbdf3e4c7b9c70eb2c0bf72f555a904fbbba4d2083be31b3965729613f106dd5421ee02277596f0
|
data/Gemfile
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
gemspec
|
|
4
|
+
|
|
5
|
+
logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
|
|
6
|
+
use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
|
|
7
|
+
|
|
8
|
+
if Dir.exist?(logstash_path) && use_logstash_source
|
|
9
|
+
gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
|
|
10
|
+
gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
|
|
11
|
+
end
|
data/docs/index.asciidoc
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
:plugin: puppet_facter
|
|
2
|
+
:type: input
|
|
3
|
+
|
|
4
|
+
///////////////////////////////////////////
|
|
5
|
+
START - GENERATED VARIABLES, DO NOT EDIT!
|
|
6
|
+
///////////////////////////////////////////
|
|
7
|
+
:version: %VERSION%
|
|
8
|
+
:release_date: %RELEASE_DATE%
|
|
9
|
+
:changelog_url: %CHANGELOG_URL%
|
|
10
|
+
:include_path: ../../../../logstash/docs/include
|
|
11
|
+
///////////////////////////////////////////
|
|
12
|
+
END - GENERATED VARIABLES, DO NOT EDIT!
|
|
13
|
+
///////////////////////////////////////////
|
|
14
|
+
|
|
15
|
+
[id="plugins-{type}-{plugin}"]
|
|
16
|
+
|
|
17
|
+
=== Puppet_facter input plugin
|
|
18
|
+
|
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
|
20
|
+
|
|
21
|
+
==== Description
|
|
22
|
+
|
|
23
|
+
Connects to a puppet server and requests facts
|
|
24
|
+
|
|
25
|
+
[id="plugins-{type}s-{plugin}-options"]
|
|
26
|
+
==== Puppet_facter Input Configuration Options
|
|
27
|
+
|
|
28
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
|
29
|
+
|
|
30
|
+
[cols="<,<,<",options="header",]
|
|
31
|
+
|=======================================================================
|
|
32
|
+
|Setting |Input type|Required
|
|
33
|
+
| <<plugins-{type}s-{plugin}-environment>> |<<string,string>>|No
|
|
34
|
+
| <<plugins-{type}s-{plugin}-host>> |<<string,string>>|No
|
|
35
|
+
| <<plugins-{type}s-{plugin}-interval>> |<<number,number>>|No
|
|
36
|
+
| <<plugins-{type}s-{plugin}-port>> |<<number,number>>|No
|
|
37
|
+
| <<plugins-{type}s-{plugin}-private_key>> |a valid filesystem path|No
|
|
38
|
+
| <<plugins-{type}s-{plugin}-public_key>> |a valid filesystem path|No
|
|
39
|
+
| <<plugins-{type}s-{plugin}-ssl>> |<<boolean,boolean>>|No
|
|
40
|
+
|=======================================================================
|
|
41
|
+
|
|
42
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
|
43
|
+
input plugins.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
[id="plugins-{type}s-{plugin}-environment"]
|
|
48
|
+
===== `environment`
|
|
49
|
+
|
|
50
|
+
* Value type is <<string,string>>
|
|
51
|
+
* Default value is `"production"`
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
[id="plugins-{type}s-{plugin}-host"]
|
|
56
|
+
===== `host`
|
|
57
|
+
|
|
58
|
+
* Value type is <<string,string>>
|
|
59
|
+
* Default value is `"0.0.0.0"`
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
[id="plugins-{type}s-{plugin}-interval"]
|
|
64
|
+
===== `interval`
|
|
65
|
+
|
|
66
|
+
* Value type is <<number,number>>
|
|
67
|
+
* Default value is `600`
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
[id="plugins-{type}s-{plugin}-port"]
|
|
72
|
+
===== `port`
|
|
73
|
+
|
|
74
|
+
* Value type is <<number,number>>
|
|
75
|
+
* Default value is `8140`
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
[id="plugins-{type}s-{plugin}-private_key"]
|
|
80
|
+
===== `private_key`
|
|
81
|
+
|
|
82
|
+
* Value type is <<path,path>>
|
|
83
|
+
* There is no default value for this setting.
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
[id="plugins-{type}s-{plugin}-public_key"]
|
|
88
|
+
===== `public_key`
|
|
89
|
+
|
|
90
|
+
* Value type is <<path,path>>
|
|
91
|
+
* There is no default value for this setting.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
[id="plugins-{type}s-{plugin}-ssl"]
|
|
96
|
+
===== `ssl`
|
|
97
|
+
|
|
98
|
+
* Value type is <<boolean,boolean>>
|
|
99
|
+
* Default value is `true`
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
|
106
|
+
include::{include_path}/{type}.asciidoc[]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-input-puppet_facter'
|
|
4
|
-
s.version = '3.0.
|
|
4
|
+
s.version = '3.0.1'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Connects to a puppet server and requests facts"
|
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
s.require_paths = ["lib"]
|
|
12
12
|
|
|
13
13
|
# Files
|
|
14
|
-
s.files = Dir[
|
|
14
|
+
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
|
|
15
15
|
|
|
16
16
|
# Tests
|
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-input-puppet_facter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -56,6 +56,7 @@ files:
|
|
|
56
56
|
- LICENSE
|
|
57
57
|
- NOTICE.TXT
|
|
58
58
|
- README.md
|
|
59
|
+
- docs/index.asciidoc
|
|
59
60
|
- lib/logstash/inputs/puppet_facter.rb
|
|
60
61
|
- logstash-input-puppet_facter.gemspec
|
|
61
62
|
- spec/inputs/puppet_facter_spec.rb
|