Skip to content

Commit

Permalink
prometheus docker should have host net also
Browse files Browse the repository at this point in the history
  • Loading branch information
cristifalcas committed Dec 2, 2016
1 parent 8ac51b3 commit 78dc82f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"${config_file}:${config_file}",
"${::prometheus::storage_local_path}:${::prometheus::storage_local_path}",
]),
net => 'host',
restart_service => true,
detach => false,
manage_service => false,
Expand Down
5 changes: 4 additions & 1 deletion manifests/node_exporter/install.pp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Class prometheus::node_exporter::install
#
class prometheus::node_exporter::install {
package { $::prometheus::node_exporter::package_name: ensure => $::prometheus::node_exporter::package_ensure, }
package { $::prometheus::node_exporter::package_name:
ensure => $::prometheus::node_exporter::package_ensure,
notify => Service['node_exporter'],
}
}
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cristifalcas-prometheus",
"version": "1.3.0",
"version": "1.4.0",
"author": "Cristian Falcas",
"summary": "Prometheus Puppet module",
"license": "Apache-2.0",
Expand Down

0 comments on commit 78dc82f

Please sign in to comment.