itamae-plugin-recipe-prometheus 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b7fb130bcc7737afbc5ca4749cf7d9d98df945885e5d3efe1fcc26670ef371c6
4
+ data.tar.gz: f02f930f3159d1a42a2d5edf121309dd06cedfadef8a6077689888dd7731b35b
5
+ SHA512:
6
+ metadata.gz: 1568eb6206c15aea7444f1dc66c9d6f238f5a1947ae6ff54b19171dcdacd8a73ecd1db31dbaa1a29883e6c775f999b62129279c1bc86c7e1142e8ed0f8686436
7
+ data.tar.gz: 12641be2f16fa28f9466a26c284a26a9069d1eecae4b78dcd69552cb27c29e3b4ea283ea01a5f4c9ece3e752ee5cba85fac783f6ce57dddbeec9db3ff70807e5
data/.gitignore ADDED
@@ -0,0 +1,60 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
51
+
52
+ # rspec failure tracking
53
+ .rspec_status
54
+
55
+ # for vagrant
56
+ .vagrant
57
+
58
+ # for editor
59
+ *.swp
60
+ *~
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.15.4
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at tsunenori.ohara@drecom.co.jp. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in itamae-plugin-recipe-prometheus.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,66 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ itamae-plugin-recipe-prometheus (0.0.1)
5
+ itamae (~> 1.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ansi (1.5.0)
11
+ diff-lcs (1.3)
12
+ hashie (3.5.7)
13
+ itamae (1.9.11)
14
+ ansi
15
+ hashie
16
+ schash (~> 0.1.0)
17
+ specinfra (>= 2.64.0, < 3.0.0)
18
+ thor
19
+ multi_json (1.13.1)
20
+ net-scp (1.2.1)
21
+ net-ssh (>= 2.6.5)
22
+ net-ssh (4.2.0)
23
+ net-telnet (0.1.1)
24
+ rake (10.5.0)
25
+ rspec (3.7.0)
26
+ rspec-core (~> 3.7.0)
27
+ rspec-expectations (~> 3.7.0)
28
+ rspec-mocks (~> 3.7.0)
29
+ rspec-core (3.7.1)
30
+ rspec-support (~> 3.7.0)
31
+ rspec-expectations (3.7.0)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.7.0)
34
+ rspec-its (1.2.0)
35
+ rspec-core (>= 3.0.0)
36
+ rspec-expectations (>= 3.0.0)
37
+ rspec-mocks (3.7.0)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.7.0)
40
+ rspec-support (3.7.0)
41
+ schash (0.1.2)
42
+ serverspec (2.41.3)
43
+ multi_json
44
+ rspec (~> 3.0)
45
+ rspec-its
46
+ specinfra (~> 2.72)
47
+ sfl (2.3)
48
+ specinfra (2.73.1)
49
+ net-scp
50
+ net-ssh (>= 2.7, < 5.0)
51
+ net-telnet
52
+ sfl
53
+ thor (0.20.0)
54
+
55
+ PLATFORMS
56
+ ruby
57
+
58
+ DEPENDENCIES
59
+ bundler (~> 1.15)
60
+ itamae-plugin-recipe-prometheus!
61
+ rake (~> 10.0)
62
+ rspec (~> 3.0)
63
+ serverspec
64
+
65
+ BUNDLED WITH
66
+ 1.16.1
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 ohr486
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # Itamae::Plugin::Recipe::Prometheus
2
+
3
+ [![wercker status](https://app.wercker.com/status/94c3dcbb718fab8480d75172cba4f9de/m/master "wercker status")](https://app.wercker.com/project/byKey/94c3dcbb718fab8480d75172cba4f9de)
4
+
5
+ Itamae plugin to install prometheus
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'itamae-plugin-recipe-prometheus'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install itamae-plugin-recipe-prometheus
22
+
23
+ ## Usage
24
+
25
+ ### Recipe
26
+
27
+ ```ruby
28
+ # your recipe
29
+ include_recipe "prometheus::default"
30
+ ```
31
+
32
+ ### Node
33
+
34
+ ```yaml
35
+ # node.yml
36
+ prometheus:
37
+ # target prometheus version
38
+ version: 2.1.0
39
+ ```
40
+
41
+ ## Testing
42
+
43
+ requirements [Vagrant](https://www.vagrantup.com/)
44
+
45
+ ```sh
46
+ bundle exec rake itamae:default
47
+ bundle exec rake spec:default
48
+ ```
49
+
50
+ ## License
51
+
52
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,30 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ task :spec => "spec:all"
5
+ task :itamae => "itamae:all"
6
+
7
+ HOSTS = %w(centos7 aws)
8
+
9
+ namespace :spec do
10
+ task :all => HOSTS
11
+
12
+ HOSTS.each do |host|
13
+ RSpec::Core::RakeTask.new(host.to_sym) do |t|
14
+ puts "Running tests to #{host} ..."
15
+ ENV["TARGET_HOST"] = host
16
+ t.pattern = "spec/*_spec.rb"
17
+ end
18
+ end
19
+ end
20
+
21
+ namespace :itamae do
22
+ task :all => HOSTS
23
+
24
+ HOSTS.each do |host|
25
+ desc "Running itamae to #{host}"
26
+ task host do
27
+ sh "itamae ssh --host=#{host} --vagrant --node-yaml=recipes/node.yml recipes/install.rb"
28
+ end
29
+ end
30
+ end
data/Vagrantfile ADDED
@@ -0,0 +1,33 @@
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ Vagrant.configure("2") do |config|
5
+ config.vm.provider :digital_ocean do |provider, override|
6
+ override.ssh.private_key_path = "~/.ssh/id_rsa"
7
+ override.vm.box = "digital_ocean"
8
+ override.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
9
+ provider.token = ENV["DIGITALOCEAN_ACCESS_TOKEN"]
10
+ provider.region = "nyc3"
11
+ provider.size = "512MB"
12
+
13
+ if ENV["WERCKER"] == "true"
14
+ provider.ssh_key_name = "wercker-vagrant"
15
+ else
16
+ provider.ssh_key_name = "local"
17
+ end
18
+ end
19
+
20
+ config.vm.provider "virtualbox" do |vb|
21
+ vb.gui = false
22
+ vb.memory = "512"
23
+ end
24
+
25
+ config.vm.define "centos7" do |c|
26
+ c.vm.box = "centos/7"
27
+ c.vm.provider :digital_ocean do |provider, override|
28
+ provider.image = "centos-7-x64"
29
+ end
30
+ c.vm.hostname = "centos7"
31
+ c.vm.hostname += "-#{ENV["WERCKER_RUN_ID"]}" if ENV["WERCKER_RUN_ID"]
32
+ end
33
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "itamae/plugin/recipe/prometheus"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/ci/build.sh ADDED
@@ -0,0 +1,8 @@
1
+ #!/bin/bash -xe
2
+
3
+ readonly HOST=$1
4
+
5
+ vagrant up $HOST --provider=digital_ocean
6
+
7
+ bundle exec rake itamae:$HOST
8
+ bundle exec rake spec:$HOST
data/ci/setup.sh ADDED
@@ -0,0 +1,17 @@
1
+ #!/bin/bash -xe
2
+
3
+ wget -q https://releases.hashicorp.com/vagrant/1.9.8/vagrant_1.9.8_x86_64.rpm
4
+ rpm -i vagrant_1.9.8_x86_64.rpm
5
+ vagrant plugin install vagrant-digitalocean
6
+
7
+ gem uninstall bundler --all --force
8
+ gem install bundler --no-document
9
+
10
+ # put ssh keys
11
+ mkdir -m 700 -p $HOME/.ssh
12
+ set +x
13
+ echo -e "$DIGITALOCEAN_KEY_PRIVATE" > $HOME/.ssh/id_rsa
14
+ echo -e "$DIGITALOCEAN_KEY_PUBLIC" > $HOME/.ssh/id_rsa.pub
15
+ set -x
16
+
17
+ chmod 600 $HOME/.ssh/id_rsa
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "itamae/plugin/recipe/prometheus/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "itamae-plugin-recipe-prometheus"
8
+ spec.version = Itamae::Plugin::Recipe::Prometheus::VERSION
9
+ spec.authors = ["ohr486"]
10
+ spec.email = ["ohr486@gmail.com"]
11
+
12
+ spec.summary = %q{Itamae plugin to install prometheus.}
13
+ spec.description = %q{Itamae plugin to install prometheus.}
14
+ spec.homepage = "https://github.com/ohr486/itamae-plugin-recipe-prometheus"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_dependency "itamae", "~> 1.2"
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.15"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "rspec", "~> 3.0"
29
+ spec.add_development_dependency "serverspec"
30
+ end
@@ -0,0 +1 @@
1
+ require "itamae/plugin/recipe/prometheus"
@@ -0,0 +1,11 @@
1
+ require "itamae/plugin/recipe/prometheus/version"
2
+
3
+ module Itamae
4
+ module Plugin
5
+ module Recipe
6
+ module Prometheus
7
+ # Your code goes here...
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ include_recipe "prometheus::dependency"
2
+ include_recipe "prometheus::install"
3
+ include_recipe "prometheus::systemd"
@@ -0,0 +1,15 @@
1
+ %w(
2
+ wget
3
+ unzip
4
+ ).each do |pkg|
5
+ package pkg do
6
+ action :install
7
+ end
8
+ end
9
+
10
+ case node[:platform]
11
+ when "redhat", "fedra", "amazon"
12
+ # TODO: add if need
13
+ else
14
+ raise "Sorry, unsupported platfrom."
15
+ end
@@ -0,0 +1,32 @@
1
+ # --- SETTINGS ---
2
+
3
+ prometheus_version = node[:prometheus][:version]
4
+
5
+ directory "/usr/local/prometheus" do
6
+ mode "0755"
7
+ owner "root"
8
+ group "root"
9
+ end
10
+
11
+ template "/etc/profile.d/prometheus.sh" do
12
+ action :create
13
+ source "templates/prometheus.sh.erb"
14
+ owner "root"
15
+ group "root"
16
+ mode "644"
17
+ variables(prometheus_version: prometheus_version)
18
+ end
19
+
20
+ # --- INSTALL ---
21
+
22
+ execute "# get prometheus tar" do
23
+ not_if "test -e /usr/local/prometheus/prometheus_#{prometheus_version}-linux-amd64.tgz"
24
+ cwd "/usr/local/prometheus"
25
+ command "wget -q https://github.com/prometheus/prometheus/releases/download/v#{prometheus_version}/prometheus-#{prometheus_version}.linux-amd64.tar.gz"
26
+ end
27
+
28
+ execute "# unzip tar" do
29
+ not_if "test -e /usr/local/prometheus/prometheus-#{prometheus_version}.linux-amd64"
30
+ cwd "/usr/local/prometheus"
31
+ command "tar xzvf prometheus-#{prometheus_version}.linux-amd64.tar.gz"
32
+ end
@@ -0,0 +1,14 @@
1
+ # --- SETTINGS ---
2
+
3
+ prometheus_version = node[:prometheus][:version]
4
+
5
+ # --- SYSTEMD ---
6
+
7
+ template "/etc/systemd/system/prometheus.service" do
8
+ action :create
9
+ source "templates/systemd/prometheus.service.erb"
10
+ owner "root"
11
+ group "root"
12
+ mode "644"
13
+ variables(prometheus_version: prometheus_version)
14
+ end
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ export PATH=$PATH:/usr/local/prometheus/prometheus-<%= @prometheus_version %>.linux-amd64
@@ -0,0 +1,14 @@
1
+ [Unit]
2
+ Description=Prometheus Service
3
+ Documentation=https://prometheus.io/docs/introduction/overview
4
+
5
+ [Service]
6
+ Type=simple
7
+ PIDFile=/var/run/prometheus.pid
8
+ User=root
9
+ Group=root
10
+ ExecStart=/usr/local/prometheus/prometheus-<%= @prometheus_version %>.linux-amd64/prometheus
11
+ Restart=on-failure
12
+
13
+ [Install]
14
+ WantedBy=multi-user.target
@@ -0,0 +1,9 @@
1
+ module Itamae
2
+ module Plugin
3
+ module Recipe
4
+ module Prometheus
5
+ VERSION = "0.0.1"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1 @@
1
+ include_recipe "prometheus::default"
data/recipes/node.yml ADDED
@@ -0,0 +1,2 @@
1
+ prometheus:
2
+ version: 2.1.0
data/wercker.yml ADDED
@@ -0,0 +1,21 @@
1
+ box: drecom/centos-ruby:2.3.1
2
+ no-response-timeout: 60
3
+ command-timeout: 60
4
+
5
+ default: &default
6
+ after-steps:
7
+ - script:
8
+ name: remove all vms
9
+ code: vagrant destroy -f
10
+
11
+ build-centos7:
12
+ <<: *default
13
+ steps:
14
+ - script:
15
+ name: setup
16
+ code: ./ci/setup.sh
17
+ - bundle-install:
18
+ jobs: 4
19
+ - script:
20
+ name: build CentOS 7.0
21
+ code: ./ci/build.sh centos7
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: itamae-plugin-recipe-prometheus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - ohr486
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-01-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: itamae
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.15'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.15'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: serverspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Itamae plugin to install prometheus.
84
+ email:
85
+ - ohr486@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - ".travis.yml"
93
+ - CODE_OF_CONDUCT.md
94
+ - Gemfile
95
+ - Gemfile.lock
96
+ - LICENSE
97
+ - README.md
98
+ - Rakefile
99
+ - Vagrantfile
100
+ - bin/console
101
+ - bin/setup
102
+ - ci/build.sh
103
+ - ci/setup.sh
104
+ - itamae-plugin-recipe-prometheus.gemspec
105
+ - lib/itamae-plugin-recipe-prometheus.rb
106
+ - lib/itamae/plugin/recipe/prometheus.rb
107
+ - lib/itamae/plugin/recipe/prometheus/default.rb
108
+ - lib/itamae/plugin/recipe/prometheus/dependency.rb
109
+ - lib/itamae/plugin/recipe/prometheus/install.rb
110
+ - lib/itamae/plugin/recipe/prometheus/systemd.rb
111
+ - lib/itamae/plugin/recipe/prometheus/templates/prometheus.sh.erb
112
+ - lib/itamae/plugin/recipe/prometheus/templates/systemd/prometheus.service.erb
113
+ - lib/itamae/plugin/recipe/prometheus/version.rb
114
+ - recipes/install.rb
115
+ - recipes/node.yml
116
+ - wercker.yml
117
+ homepage: https://github.com/ohr486/itamae-plugin-recipe-prometheus
118
+ licenses:
119
+ - MIT
120
+ metadata: {}
121
+ post_install_message:
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ requirements: []
136
+ rubyforge_project:
137
+ rubygems_version: 2.7.3
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: Itamae plugin to install prometheus.
141
+ test_files: []