├── .foodcritic ├── .gitignore ├── .hound.yml ├── .kitchen.dokken.yml ├── .kitchen.yml ├── .rubocop.yml ├── .travis.yml ├── Berksfile ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── ISSUES.md ├── LICENSE ├── README.md ├── Rakefile ├── Thorfile ├── Vagrantfile ├── attributes └── default.rb ├── chefignore ├── libraries └── prometheus_helper.rb ├── metadata.rb ├── recipes ├── alertmanager.rb ├── alertmanager_binary.rb ├── alertmanager_source.rb ├── binary.rb ├── default.rb ├── service.rb ├── shell_binary.rb ├── source.rb └── use_lwrp.rb ├── resources └── job.rb ├── spec ├── spec_helper.rb ├── support │ └── matchers.rb └── unit │ └── recipes │ ├── alertmanager_spec.rb │ └── default_spec.rb ├── templates ├── centos │ └── prometheus.erb ├── debian │ └── prometheus.erb ├── default │ ├── alertmanager.init.erb │ ├── alertmanager.pill.erb │ ├── alertmanager.yml.erb │ ├── debian │ │ └── default │ │ │ ├── alertmanager.erb │ │ │ └── prometheus.erb │ ├── prometheus.pill.erb │ ├── prometheus.yml.erb │ ├── redhat │ │ └── sysconfig │ │ │ ├── alertmanager.erb │ │ │ └── prometheus.erb │ ├── sv-prometheus-run.erb │ ├── systemd │ │ ├── alertmanager.service.erb │ │ └── prometheus.service.erb │ └── upstart │ │ ├── alertmanager.service.erb │ │ └── prometheus.service.erb ├── redhat │ └── prometheus.erb └── ubuntu │ └── prometheus.erb └── test ├── integration ├── alertmanager │ └── serverspec │ │ └── default_spec.rb ├── bluepill-binary │ └── serverspec │ │ └── binary_spec.rb ├── bluepill │ └── serverspec │ │ └── source_spec.rb ├── default-binary │ └── serverspec │ │ └── binary_spec.rb ├── default │ └── serverspec │ │ └── source_spec.rb ├── init-binary │ └── serverspec │ │ └── binary_spec.rb └── init │ └── serverspec │ └── source_spec.rb └── shared └── spec_helper.rb /.foodcritic: -------------------------------------------------------------------------------- 1 | ~FC033 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/.gitignore -------------------------------------------------------------------------------- /.hound.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/.hound.yml -------------------------------------------------------------------------------- /.kitchen.dokken.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/.kitchen.dokken.yml -------------------------------------------------------------------------------- /.kitchen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/.kitchen.yml -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/.travis.yml -------------------------------------------------------------------------------- /Berksfile: -------------------------------------------------------------------------------- 1 | source 'https://supermarket.chef.io' 2 | 3 | metadata 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/Gemfile -------------------------------------------------------------------------------- /ISSUES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/ISSUES.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/Rakefile -------------------------------------------------------------------------------- /Thorfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/Thorfile -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/Vagrantfile -------------------------------------------------------------------------------- /attributes/default.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/attributes/default.rb -------------------------------------------------------------------------------- /chefignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/chefignore -------------------------------------------------------------------------------- /libraries/prometheus_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/libraries/prometheus_helper.rb -------------------------------------------------------------------------------- /metadata.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/metadata.rb -------------------------------------------------------------------------------- /recipes/alertmanager.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/alertmanager.rb -------------------------------------------------------------------------------- /recipes/alertmanager_binary.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/alertmanager_binary.rb -------------------------------------------------------------------------------- /recipes/alertmanager_source.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/alertmanager_source.rb -------------------------------------------------------------------------------- /recipes/binary.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/binary.rb -------------------------------------------------------------------------------- /recipes/default.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/default.rb -------------------------------------------------------------------------------- /recipes/service.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/service.rb -------------------------------------------------------------------------------- /recipes/shell_binary.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/shell_binary.rb -------------------------------------------------------------------------------- /recipes/source.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/source.rb -------------------------------------------------------------------------------- /recipes/use_lwrp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/recipes/use_lwrp.rb -------------------------------------------------------------------------------- /resources/job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/resources/job.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/spec/support/matchers.rb -------------------------------------------------------------------------------- /spec/unit/recipes/alertmanager_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/spec/unit/recipes/alertmanager_spec.rb -------------------------------------------------------------------------------- /spec/unit/recipes/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/spec/unit/recipes/default_spec.rb -------------------------------------------------------------------------------- /templates/centos/prometheus.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/centos/prometheus.erb -------------------------------------------------------------------------------- /templates/debian/prometheus.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/debian/prometheus.erb -------------------------------------------------------------------------------- /templates/default/alertmanager.init.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/alertmanager.init.erb -------------------------------------------------------------------------------- /templates/default/alertmanager.pill.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/alertmanager.pill.erb -------------------------------------------------------------------------------- /templates/default/alertmanager.yml.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/alertmanager.yml.erb -------------------------------------------------------------------------------- /templates/default/debian/default/alertmanager.erb: -------------------------------------------------------------------------------- 1 | # Configuration file for the alertmanager service 2 | 3 | GOMAXPROCS=<%= node['cpu']['total'] %> 4 | -------------------------------------------------------------------------------- /templates/default/debian/default/prometheus.erb: -------------------------------------------------------------------------------- 1 | # Configuration file for the prometheus service 2 | 3 | GOMAXPROCS=<%= node['cpu']['total'] %> 4 | -------------------------------------------------------------------------------- /templates/default/prometheus.pill.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/prometheus.pill.erb -------------------------------------------------------------------------------- /templates/default/prometheus.yml.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/prometheus.yml.erb -------------------------------------------------------------------------------- /templates/default/redhat/sysconfig/alertmanager.erb: -------------------------------------------------------------------------------- 1 | # Configuration file for the alertmanager service 2 | 3 | GOMAXPROCS=<%= node['cpu']['total'] %> 4 | -------------------------------------------------------------------------------- /templates/default/redhat/sysconfig/prometheus.erb: -------------------------------------------------------------------------------- 1 | # Configuration file for the prometheus service 2 | 3 | GOMAXPROCS=<%= node['cpu']['total'] %> 4 | -------------------------------------------------------------------------------- /templates/default/sv-prometheus-run.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/sv-prometheus-run.erb -------------------------------------------------------------------------------- /templates/default/systemd/alertmanager.service.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/systemd/alertmanager.service.erb -------------------------------------------------------------------------------- /templates/default/systemd/prometheus.service.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/systemd/prometheus.service.erb -------------------------------------------------------------------------------- /templates/default/upstart/alertmanager.service.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/upstart/alertmanager.service.erb -------------------------------------------------------------------------------- /templates/default/upstart/prometheus.service.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/default/upstart/prometheus.service.erb -------------------------------------------------------------------------------- /templates/redhat/prometheus.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/redhat/prometheus.erb -------------------------------------------------------------------------------- /templates/ubuntu/prometheus.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/templates/ubuntu/prometheus.erb -------------------------------------------------------------------------------- /test/integration/alertmanager/serverspec/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/test/integration/alertmanager/serverspec/default_spec.rb -------------------------------------------------------------------------------- /test/integration/bluepill-binary/serverspec/binary_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/test/integration/bluepill-binary/serverspec/binary_spec.rb -------------------------------------------------------------------------------- /test/integration/bluepill/serverspec/source_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/test/integration/bluepill/serverspec/source_spec.rb -------------------------------------------------------------------------------- /test/integration/default-binary/serverspec/binary_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/test/integration/default-binary/serverspec/binary_spec.rb -------------------------------------------------------------------------------- /test/integration/default/serverspec/source_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/test/integration/default/serverspec/source_spec.rb -------------------------------------------------------------------------------- /test/integration/init-binary/serverspec/binary_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/test/integration/init-binary/serverspec/binary_spec.rb -------------------------------------------------------------------------------- /test/integration/init/serverspec/source_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/test/integration/init/serverspec/source_spec.rb -------------------------------------------------------------------------------- /test/shared/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elijah/chef-prometheus/HEAD/test/shared/spec_helper.rb --------------------------------------------------------------------------------