dtk-node-agent 0.7.7 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +21 -4
- data/bin/dtk-node-agent +17 -0
- data/lib/config/install.config +2 -2
- data/lib/dtk-node-agent/installer.rb +30 -25
- data/lib/dtk-node-agent/version.rb +18 -1
- metadata +23 -110
- data/mcollective_additions/debian.mcollective.init +0 -92
- data/mcollective_additions/plugins/README.md +0 -1
- data/mcollective_additions/plugins/v1.2/agent/discovery.rb +0 -39
- data/mcollective_additions/plugins/v1.2/agent/get_log_fragment.ddl +0 -15
- data/mcollective_additions/plugins/v1.2/agent/get_log_fragment.rb +0 -79
- data/mcollective_additions/plugins/v1.2/agent/git_access.ddl +0 -9
- data/mcollective_additions/plugins/v1.2/agent/git_access.rb +0 -79
- data/mcollective_additions/plugins/v1.2/agent/netstat.ddl +0 -9
- data/mcollective_additions/plugins/v1.2/agent/netstat.rb +0 -34
- data/mcollective_additions/plugins/v1.2/agent/puppet_apply.ddl +0 -9
- data/mcollective_additions/plugins/v1.2/agent/puppet_apply.rb +0 -630
- data/mcollective_additions/plugins/v1.2/agent/rpcutil.ddl +0 -204
- data/mcollective_additions/plugins/v1.2/agent/rpcutil.rb +0 -101
- data/mcollective_additions/plugins/v1.2/facts/pbuilder_facts.rb +0 -35
- data/mcollective_additions/plugins/v2.2/agent/action_agent.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/agent/action_agent.rb +0 -47
- data/mcollective_additions/plugins/v2.2/agent/dev_manager.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/agent/dev_manager.rb +0 -111
- data/mcollective_additions/plugins/v2.2/agent/discovery.rb +0 -39
- data/mcollective_additions/plugins/v2.2/agent/dtk_node_agent_git_client.rb +0 -94
- data/mcollective_additions/plugins/v2.2/agent/execute_tests.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/agent/execute_tests.rb +0 -111
- data/mcollective_additions/plugins/v2.2/agent/execute_tests_v2.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/agent/execute_tests_v2.rb +0 -131
- data/mcollective_additions/plugins/v2.2/agent/get_log_fragment.ddl +0 -15
- data/mcollective_additions/plugins/v2.2/agent/get_log_fragment.rb +0 -79
- data/mcollective_additions/plugins/v2.2/agent/git_access.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/agent/git_access.rb +0 -61
- data/mcollective_additions/plugins/v2.2/agent/netstat.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/agent/netstat.rb +0 -34
- data/mcollective_additions/plugins/v2.2/agent/ps.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/agent/ps.rb +0 -37
- data/mcollective_additions/plugins/v2.2/agent/puppet_apply.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/agent/puppet_apply.rb +0 -818
- data/mcollective_additions/plugins/v2.2/agent/puppet_cancel.ddl +0 -10
- data/mcollective_additions/plugins/v2.2/agent/puppet_cancel.rb +0 -78
- data/mcollective_additions/plugins/v2.2/agent/rpcutil.ddl +0 -204
- data/mcollective_additions/plugins/v2.2/agent/rpcutil.rb +0 -101
- data/mcollective_additions/plugins/v2.2/agent/ssh_agent.ddl +0 -13
- data/mcollective_additions/plugins/v2.2/agent/ssh_agent.rb +0 -97
- data/mcollective_additions/plugins/v2.2/agent/sync_agent_code.ddl +0 -10
- data/mcollective_additions/plugins/v2.2/agent/sync_agent_code.rb +0 -85
- data/mcollective_additions/plugins/v2.2/agent/tail.ddl +0 -11
- data/mcollective_additions/plugins/v2.2/agent/tail.rb +0 -67
- data/mcollective_additions/plugins/v2.2/audit/logfile.rb +0 -26
- data/mcollective_additions/plugins/v2.2/connector/r8stomp.rb +0 -238
- data/mcollective_additions/plugins/v2.2/connector/stomp.rb +0 -349
- data/mcollective_additions/plugins/v2.2/connector/stomp_em.rb +0 -191
- data/mcollective_additions/plugins/v2.2/data/agent_data.ddl +0 -22
- data/mcollective_additions/plugins/v2.2/data/agent_data.rb +0 -17
- data/mcollective_additions/plugins/v2.2/data/collective_data.ddl +0 -20
- data/mcollective_additions/plugins/v2.2/data/collective_data.rb +0 -9
- data/mcollective_additions/plugins/v2.2/data/fact_data.ddl +0 -28
- data/mcollective_additions/plugins/v2.2/data/fact_data.rb +0 -55
- data/mcollective_additions/plugins/v2.2/data/fstat_data.ddl +0 -89
- data/mcollective_additions/plugins/v2.2/data/fstat_data.rb +0 -56
- data/mcollective_additions/plugins/v2.2/discovery/flatfile.ddl +0 -11
- data/mcollective_additions/plugins/v2.2/discovery/flatfile.rb +0 -48
- data/mcollective_additions/plugins/v2.2/discovery/mc.ddl +0 -11
- data/mcollective_additions/plugins/v2.2/discovery/mc.rb +0 -30
- data/mcollective_additions/plugins/v2.2/discovery/stdin.ddl +0 -11
- data/mcollective_additions/plugins/v2.2/discovery/stdin.rb +0 -66
- data/mcollective_additions/plugins/v2.2/facts/pbuilder_facts.rb +0 -37
- data/mcollective_additions/plugins/v2.2/facts/yaml_facts.rb +0 -61
- data/mcollective_additions/plugins/v2.2/registration/agentlist.rb +0 -10
- data/mcollective_additions/plugins/v2.2/security/sshkey.ddl +0 -9
- data/mcollective_additions/plugins/v2.2/security/sshkey.rb +0 -362
- data/mcollective_additions/plugins/v2.2/util/puppetrunner.rb +0 -36
- data/mcollective_additions/plugins/v2.2/validator/array_validator.ddl +0 -7
- data/mcollective_additions/plugins/v2.2/validator/array_validator.rb +0 -9
- data/mcollective_additions/plugins/v2.2/validator/ipv4address_validator.ddl +0 -7
- data/mcollective_additions/plugins/v2.2/validator/ipv4address_validator.rb +0 -16
- data/mcollective_additions/plugins/v2.2/validator/ipv6address_validator.ddl +0 -7
- data/mcollective_additions/plugins/v2.2/validator/ipv6address_validator.rb +0 -16
- data/mcollective_additions/plugins/v2.2/validator/length_validator.ddl +0 -7
- data/mcollective_additions/plugins/v2.2/validator/length_validator.rb +0 -11
- data/mcollective_additions/plugins/v2.2/validator/regex_validator.ddl +0 -7
- data/mcollective_additions/plugins/v2.2/validator/regex_validator.rb +0 -9
- data/mcollective_additions/plugins/v2.2/validator/shellsafe_validator.ddl +0 -7
- data/mcollective_additions/plugins/v2.2/validator/shellsafe_validator.rb +0 -13
- data/mcollective_additions/plugins/v2.2/validator/typecheck_validator.ddl +0 -7
- data/mcollective_additions/plugins/v2.2/validator/typecheck_validator.rb +0 -28
- data/mcollective_additions/redhat.mcollective.init +0 -139
- data/mcollective_additions/redhat.mcollective.service +0 -14
- data/mcollective_additions/server.cfg +0 -22
- data/src/etc/logrotate.d/mcollective +0 -10
- data/src/etc/mcollective.default +0 -6
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OTA4Mzg4MjVhOGYxYTlkZmI2MWIxZDViOTA4MDM5NjZlOGFmM2FmZQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1b2558dc921a52afa04207be07867a87c74d52cc
|
4
|
+
data.tar.gz: 1d05260af4d0371810b9555558c3437212e2b11c
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YzhlYTRkM2E3Y2I3OWY0YzQ2OWQxYmIyY2EwZGJlYzRhZGMwN2FjYzNlYmQz
|
11
|
-
YWQ4OTllYmQ1ZDc2ZGZkNGUyNWEzYWFjNTQxZmQ0ZjUxYTdhZTM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZDBjNzQzMDBlMjI2NGE5NjlmNGVjZGYyZWRhMzgyNjU5NWUwMTc1MzQyNTZm
|
14
|
-
MmY1MmJmY2NlMDk3N2NlMGVlYWQ4ODE4ZDE4MDliYmFlNzJjZTIyM2NjYTU1
|
15
|
-
NmQ2YzVhNGQ3Y2M4NjAwYTUwNzNmMDBiMTMwZDk1Njc3NTUxYWU=
|
6
|
+
metadata.gz: 22a98c8a7dc3b6451a261f18c321b9a6b0489d05210564cbf40c8dada85b3fcb58b87e5ff4ceb37977f880687f84b9a73812bd437b9e79d65ee9c0e41aba981c
|
7
|
+
data.tar.gz: 7cd3f3a9d29a5499ed0b86688e2328db9495285f5190aa4867aca08fc701a328d3cad24c99681d65135ef9ec1cbb8c7f7554d5f94e36e89318420c497ea41703
|
data/README.md
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
dtk-node-agent
|
2
2
|
==============
|
3
3
|
|
4
|
-
|
4
|
+
What it is?
|
5
|
+
--------------
|
6
|
+
Set of scripts that are present in AMIs that serves as basis for nodes that are spun up via DTK. Below is manual usage of these scripts (if you want to install Puppet Omnibus on nodes, burn new AMIs that will be used by DTK) but that step is not necessary for everyday usage of DTK
|
7
|
+
|
8
|
+
Manual usage
|
9
|
+
--------------
|
5
10
|
|
6
11
|
### Build the gem:
|
7
12
|
`gem build dtk-node-agent.gemspec`
|
@@ -27,8 +32,20 @@ ruby get_amis.rb <AMI_TIMESTAMPS>
|
|
27
32
|
```
|
28
33
|
AMI_TIMESTAMPS can be one timestamp or array of timestamps separated with delimiter (,)
|
29
34
|
|
30
|
-
License
|
31
|
-
|
32
|
-
|
35
|
+
## License
|
36
|
+
|
37
|
+
dtk-node-agent is copyright (C) 2010-2016 dtk contributors
|
38
|
+
|
39
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
40
|
+
you may not use this work except in compliance with the License.
|
41
|
+
You may obtain a copy of the License in the [LICENSE](LICENSE) file, or at:
|
42
|
+
|
43
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
44
|
+
|
45
|
+
Unless required by applicable law or agreed to in writing, software
|
46
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
47
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
48
|
+
See the License for the specific language governing permissions and
|
49
|
+
limitations under the License.
|
33
50
|
|
34
51
|
|
data/bin/dtk-node-agent
CHANGED
@@ -1,4 +1,21 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Copyright (C) 2010-2016 dtk contributors
|
4
|
+
#
|
5
|
+
# This file is part of the dtk project.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
2
19
|
|
3
20
|
# Bundler and rubygems maintain a set of directories from which to
|
4
21
|
# load gems. If Bundler is loaded, let it determine what can be
|
data/lib/config/install.config
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
:logstash_forwarder_rpm64 => 'http://dtk-storage.s3.amazonaws.com/logstash-forwarder-0.3.1-1.x86_64.rpm',
|
14
14
|
:logstash_forwarder_deb64 => 'http://dtk-storage.s3.amazonaws.com/logstash-forwarder_0.3.1_amd64.deb',
|
15
15
|
:upgrades => {
|
16
|
-
:redhat => ['openssl', 'bash', 'emacs-nox', 'vim-enhanced'],
|
17
|
-
:debian => ['openssl', 'bash', 'emacs23-nox', 'vim']
|
16
|
+
:redhat => ['openssl', 'bash', 'emacs-nox', 'vim-enhanced', 'monit'],
|
17
|
+
:debian => ['openssl', 'bash', 'emacs23-nox', 'vim', 'monit']
|
18
18
|
}
|
19
19
|
}
|
@@ -1,3 +1,20 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (C) 2010-2016 dtk contributors
|
3
|
+
#
|
4
|
+
# This file is part of the dtk project.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
1
18
|
module DTK
|
2
19
|
module NodeAgent
|
3
20
|
class Installer
|
@@ -46,18 +63,10 @@ module DTK
|
|
46
63
|
shell "dpkg -i #{logstash_forwarder_package}"
|
47
64
|
shell "apt-get update"
|
48
65
|
shell "rm puppetlabs-release-#{@distcodename}.deb #{logstash_forwarder_package}"
|
49
|
-
# install mcollective
|
50
|
-
puts "Installing MCollective..."
|
51
|
-
shell "apt-get -y install mcollective"
|
52
66
|
# pin down the puppetlabs apt repo
|
53
67
|
FileUtils.cp("#{base_dir}/src/etc/apt/preferences.d/puppetlabs", "/etc/apt/preferences.d/puppetlabs")
|
54
68
|
elsif @osfamily == 'redhat'
|
55
69
|
shell "yum -y install yum-utils wget curl"
|
56
|
-
# install upgrades
|
57
|
-
Array(CONFIG[:upgrades][:redhat]).each do |package|
|
58
|
-
shell "yum -y install #{package}"
|
59
|
-
shell "yum -y update #{package}"
|
60
|
-
end
|
61
70
|
case @osmajrelease
|
62
71
|
when "5"
|
63
72
|
shell "rpm -ivh #{CONFIG[:puppetlabs_el5_rpm_repo]}"
|
@@ -74,9 +83,12 @@ module DTK
|
|
74
83
|
puts "#{@osname} #{@osmajrelease} is not supported. Exiting now..."
|
75
84
|
exit(1)
|
76
85
|
end
|
77
|
-
puts "Installing MCollective..."
|
78
|
-
shell "yum -y install mcollective"
|
79
86
|
shell "yum -y install git"
|
87
|
+
# install upgrades
|
88
|
+
Array(CONFIG[:upgrades][:redhat]).each do |package|
|
89
|
+
shell "yum -y install #{package}"
|
90
|
+
shell "yum -y update #{package}"
|
91
|
+
end
|
80
92
|
# install ec2-run-user-data init script
|
81
93
|
# but only if the machine is running on AWS
|
82
94
|
if `curl -m 5 -sI http://169.254.169.254/latest/meta-data/`.include? '200 OK'
|
@@ -93,7 +105,7 @@ module DTK
|
|
93
105
|
exit(1)
|
94
106
|
end
|
95
107
|
|
96
|
-
puts "Installing additions
|
108
|
+
puts "Installing additions Puppet..."
|
97
109
|
install_additions
|
98
110
|
|
99
111
|
puts "Installing DTK Arbiter"
|
@@ -154,24 +166,12 @@ module DTK
|
|
154
166
|
# create necessary dirs
|
155
167
|
[ '/var/log/puppet/',
|
156
168
|
'/var/lib/puppet/lib/puppet/indirector',
|
157
|
-
'/etc/puppet/modules'
|
158
|
-
'/usr/share/mcollective/plugins/mcollective'
|
169
|
+
'/etc/puppet/modules'
|
159
170
|
].map! { |p| FileUtils.mkdir_p(p) unless File.directory?(p) }
|
160
171
|
# copy puppet libs
|
161
172
|
FileUtils.cp_r(Dir.glob("#{base_dir}/puppet_additions/puppet_lib_base/puppet/indirector/*"), "/var/lib/puppet/lib/puppet/indirector/")
|
162
173
|
# copy r8 puppet module
|
163
174
|
FileUtils.cp_r(Dir.glob("#{base_dir}/puppet_additions/modules/r8"), "/etc/puppet/modules")
|
164
|
-
# copy mcollective plugins
|
165
|
-
FileUtils.cp_r(Dir.glob("/usr/libexec/mcollective/mcollective/*"), "/usr/share/mcollective/plugins/mcollective") if File.directory?("/usr/libexec/mcollective/")
|
166
|
-
mco_add_dir = "#{base_dir}/mcollective_additions"
|
167
|
-
mco_plugin_dir = "#{mco_add_dir}/plugins/v#{CONFIG[:mcollective_version]}"
|
168
|
-
FileUtils.cp_r(Dir.glob("#{mco_plugin_dir}/*"), "/usr/share/mcollective/plugins/mcollective")
|
169
|
-
# copy mcollective config
|
170
|
-
FileUtils.cp_r("#{mco_add_dir}/server.cfg", "/etc/mcollective", :remove_destination => true)
|
171
|
-
# copy compatible mcollective init script
|
172
|
-
FileUtils.cp_r("#{mco_add_dir}/#{@osfamily}.mcollective.init", "/etc/init.d/mcollective", :remove_destination => true)
|
173
|
-
FileUtils.cp_r("#{mco_add_dir}/#{@osfamily}.mcollective.service", "/usr/lib/systemd/system/mcollective.service", :remove_destination => true) if File.exist?("/usr/lib/systemd/system/mcollective.service")
|
174
|
-
set_init("mcollective")
|
175
175
|
end
|
176
176
|
|
177
177
|
def self.base_dir
|
@@ -192,9 +192,14 @@ module DTK
|
|
192
192
|
shell "git clone -b stable https://github.com/dtk/dtk-arbiter /usr/share/dtk/dtk-arbiter"
|
193
193
|
Dir.chdir "/usr/share/dtk/dtk-arbiter"
|
194
194
|
shell "bundle install --without development"
|
195
|
+
puts "Installing dtk-arbiter init script"
|
195
196
|
FileUtils.ln_sf("/usr/share/dtk/dtk-arbiter/etc/#{@osfamily}.dtk-arbiter.init", "/etc/init.d/dtk-arbiter")
|
196
197
|
set_init("dtk-arbiter")
|
198
|
+
puts "Installing dtk-arbiter monit config."
|
199
|
+
monit_cfg_path = (@osfamily == 'debian') ? "/etc/monit/conf.d" : "/etc/monit.d"
|
200
|
+
set_init("monit")
|
201
|
+
FileUtils.ln_sf("/usr/share/dtk/dtk-arbiter/etc/dtk-arbiter.monit", "#{monit_cfg_path}/dtk-arbiter")
|
197
202
|
end
|
198
203
|
end
|
199
204
|
end
|
200
|
-
end
|
205
|
+
end
|
@@ -1,3 +1,20 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (C) 2010-2016 dtk contributors
|
3
|
+
#
|
4
|
+
# This file is part of the dtk project.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
1
18
|
module DtkNodeAgent
|
2
|
-
VERSION="0.
|
19
|
+
VERSION="0.8.0"
|
3
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dtk-node-agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rich PELAVIN
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puppet
|
@@ -28,98 +28,98 @@ dependencies:
|
|
28
28
|
name: facter
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 2.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: grit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 2.5.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.5.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: stomp
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.3.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.3.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: net-ssh
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.9.2
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.9.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: sshkeyauth
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 0.0.11
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 0.0.11
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: serverspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 1.1.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.1.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: specinfra
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 1.0.4
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 1.0.4
|
125
125
|
- !ruby/object:Gem::Dependency
|
@@ -140,28 +140,28 @@ dependencies:
|
|
140
140
|
name: dtk-action-agent
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: bundler
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
description: The DTK Node Agent runs on your nodes that you wish to manage using your
|
@@ -182,91 +182,6 @@ files:
|
|
182
182
|
- lib/config/install.config
|
183
183
|
- lib/dtk-node-agent/installer.rb
|
184
184
|
- lib/dtk-node-agent/version.rb
|
185
|
-
- mcollective_additions/debian.mcollective.init
|
186
|
-
- mcollective_additions/plugins/README.md
|
187
|
-
- mcollective_additions/plugins/v1.2/agent/discovery.rb
|
188
|
-
- mcollective_additions/plugins/v1.2/agent/get_log_fragment.ddl
|
189
|
-
- mcollective_additions/plugins/v1.2/agent/get_log_fragment.rb
|
190
|
-
- mcollective_additions/plugins/v1.2/agent/git_access.ddl
|
191
|
-
- mcollective_additions/plugins/v1.2/agent/git_access.rb
|
192
|
-
- mcollective_additions/plugins/v1.2/agent/netstat.ddl
|
193
|
-
- mcollective_additions/plugins/v1.2/agent/netstat.rb
|
194
|
-
- mcollective_additions/plugins/v1.2/agent/puppet_apply.ddl
|
195
|
-
- mcollective_additions/plugins/v1.2/agent/puppet_apply.rb
|
196
|
-
- mcollective_additions/plugins/v1.2/agent/rpcutil.ddl
|
197
|
-
- mcollective_additions/plugins/v1.2/agent/rpcutil.rb
|
198
|
-
- mcollective_additions/plugins/v1.2/facts/pbuilder_facts.rb
|
199
|
-
- mcollective_additions/plugins/v2.2/agent/action_agent.ddl
|
200
|
-
- mcollective_additions/plugins/v2.2/agent/action_agent.rb
|
201
|
-
- mcollective_additions/plugins/v2.2/agent/dev_manager.ddl
|
202
|
-
- mcollective_additions/plugins/v2.2/agent/dev_manager.rb
|
203
|
-
- mcollective_additions/plugins/v2.2/agent/discovery.rb
|
204
|
-
- mcollective_additions/plugins/v2.2/agent/dtk_node_agent_git_client.rb
|
205
|
-
- mcollective_additions/plugins/v2.2/agent/execute_tests.ddl
|
206
|
-
- mcollective_additions/plugins/v2.2/agent/execute_tests.rb
|
207
|
-
- mcollective_additions/plugins/v2.2/agent/execute_tests_v2.ddl
|
208
|
-
- mcollective_additions/plugins/v2.2/agent/execute_tests_v2.rb
|
209
|
-
- mcollective_additions/plugins/v2.2/agent/get_log_fragment.ddl
|
210
|
-
- mcollective_additions/plugins/v2.2/agent/get_log_fragment.rb
|
211
|
-
- mcollective_additions/plugins/v2.2/agent/git_access.ddl
|
212
|
-
- mcollective_additions/plugins/v2.2/agent/git_access.rb
|
213
|
-
- mcollective_additions/plugins/v2.2/agent/netstat.ddl
|
214
|
-
- mcollective_additions/plugins/v2.2/agent/netstat.rb
|
215
|
-
- mcollective_additions/plugins/v2.2/agent/ps.ddl
|
216
|
-
- mcollective_additions/plugins/v2.2/agent/ps.rb
|
217
|
-
- mcollective_additions/plugins/v2.2/agent/puppet_apply.ddl
|
218
|
-
- mcollective_additions/plugins/v2.2/agent/puppet_apply.rb
|
219
|
-
- mcollective_additions/plugins/v2.2/agent/puppet_cancel.ddl
|
220
|
-
- mcollective_additions/plugins/v2.2/agent/puppet_cancel.rb
|
221
|
-
- mcollective_additions/plugins/v2.2/agent/rpcutil.ddl
|
222
|
-
- mcollective_additions/plugins/v2.2/agent/rpcutil.rb
|
223
|
-
- mcollective_additions/plugins/v2.2/agent/ssh_agent.ddl
|
224
|
-
- mcollective_additions/plugins/v2.2/agent/ssh_agent.rb
|
225
|
-
- mcollective_additions/plugins/v2.2/agent/sync_agent_code.ddl
|
226
|
-
- mcollective_additions/plugins/v2.2/agent/sync_agent_code.rb
|
227
|
-
- mcollective_additions/plugins/v2.2/agent/tail.ddl
|
228
|
-
- mcollective_additions/plugins/v2.2/agent/tail.rb
|
229
|
-
- mcollective_additions/plugins/v2.2/audit/logfile.rb
|
230
|
-
- mcollective_additions/plugins/v2.2/connector/r8stomp.rb
|
231
|
-
- mcollective_additions/plugins/v2.2/connector/stomp.rb
|
232
|
-
- mcollective_additions/plugins/v2.2/connector/stomp_em.rb
|
233
|
-
- mcollective_additions/plugins/v2.2/data/agent_data.ddl
|
234
|
-
- mcollective_additions/plugins/v2.2/data/agent_data.rb
|
235
|
-
- mcollective_additions/plugins/v2.2/data/collective_data.ddl
|
236
|
-
- mcollective_additions/plugins/v2.2/data/collective_data.rb
|
237
|
-
- mcollective_additions/plugins/v2.2/data/fact_data.ddl
|
238
|
-
- mcollective_additions/plugins/v2.2/data/fact_data.rb
|
239
|
-
- mcollective_additions/plugins/v2.2/data/fstat_data.ddl
|
240
|
-
- mcollective_additions/plugins/v2.2/data/fstat_data.rb
|
241
|
-
- mcollective_additions/plugins/v2.2/discovery/flatfile.ddl
|
242
|
-
- mcollective_additions/plugins/v2.2/discovery/flatfile.rb
|
243
|
-
- mcollective_additions/plugins/v2.2/discovery/mc.ddl
|
244
|
-
- mcollective_additions/plugins/v2.2/discovery/mc.rb
|
245
|
-
- mcollective_additions/plugins/v2.2/discovery/stdin.ddl
|
246
|
-
- mcollective_additions/plugins/v2.2/discovery/stdin.rb
|
247
|
-
- mcollective_additions/plugins/v2.2/facts/pbuilder_facts.rb
|
248
|
-
- mcollective_additions/plugins/v2.2/facts/yaml_facts.rb
|
249
|
-
- mcollective_additions/plugins/v2.2/registration/agentlist.rb
|
250
|
-
- mcollective_additions/plugins/v2.2/security/sshkey.ddl
|
251
|
-
- mcollective_additions/plugins/v2.2/security/sshkey.rb
|
252
|
-
- mcollective_additions/plugins/v2.2/util/puppetrunner.rb
|
253
|
-
- mcollective_additions/plugins/v2.2/validator/array_validator.ddl
|
254
|
-
- mcollective_additions/plugins/v2.2/validator/array_validator.rb
|
255
|
-
- mcollective_additions/plugins/v2.2/validator/ipv4address_validator.ddl
|
256
|
-
- mcollective_additions/plugins/v2.2/validator/ipv4address_validator.rb
|
257
|
-
- mcollective_additions/plugins/v2.2/validator/ipv6address_validator.ddl
|
258
|
-
- mcollective_additions/plugins/v2.2/validator/ipv6address_validator.rb
|
259
|
-
- mcollective_additions/plugins/v2.2/validator/length_validator.ddl
|
260
|
-
- mcollective_additions/plugins/v2.2/validator/length_validator.rb
|
261
|
-
- mcollective_additions/plugins/v2.2/validator/regex_validator.ddl
|
262
|
-
- mcollective_additions/plugins/v2.2/validator/regex_validator.rb
|
263
|
-
- mcollective_additions/plugins/v2.2/validator/shellsafe_validator.ddl
|
264
|
-
- mcollective_additions/plugins/v2.2/validator/shellsafe_validator.rb
|
265
|
-
- mcollective_additions/plugins/v2.2/validator/typecheck_validator.ddl
|
266
|
-
- mcollective_additions/plugins/v2.2/validator/typecheck_validator.rb
|
267
|
-
- mcollective_additions/redhat.mcollective.init
|
268
|
-
- mcollective_additions/redhat.mcollective.service
|
269
|
-
- mcollective_additions/server.cfg
|
270
185
|
- puppet_additions/modules/r8/lib/puppet/type/r8_export_file.rb
|
271
186
|
- puppet_additions/modules/r8/manifests/export_variable.rb
|
272
187
|
- puppet_additions/puppet_lib_base/puppet/indirector/catalog/r8_storeconfig_backend.rb
|
@@ -275,9 +190,7 @@ files:
|
|
275
190
|
- src/etc/apt/preferences.d/puppetlabs
|
276
191
|
- src/etc/init.d/ec2-run-user-data
|
277
192
|
- src/etc/init.d/logstash-forwarder.rpm.init
|
278
|
-
- src/etc/logrotate.d/mcollective
|
279
193
|
- src/etc/logrotate.d/puppet
|
280
|
-
- src/etc/mcollective.default
|
281
194
|
homepage: https://github.com/rich-reactor8/dtk-node-agent
|
282
195
|
licenses:
|
283
196
|
- GPL-3.0
|
@@ -288,17 +201,17 @@ require_paths:
|
|
288
201
|
- lib
|
289
202
|
required_ruby_version: !ruby/object:Gem::Requirement
|
290
203
|
requirements:
|
291
|
-
- -
|
204
|
+
- - ">="
|
292
205
|
- !ruby/object:Gem::Version
|
293
206
|
version: '0'
|
294
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
295
208
|
requirements:
|
296
|
-
- -
|
209
|
+
- - ">="
|
297
210
|
- !ruby/object:Gem::Version
|
298
211
|
version: '0'
|
299
212
|
requirements: []
|
300
213
|
rubyforge_project:
|
301
|
-
rubygems_version: 2.4.
|
214
|
+
rubygems_version: 2.4.1
|
302
215
|
signing_key:
|
303
216
|
specification_version: 4
|
304
217
|
summary: DTK Node Agent gem.
|