Last active
February 15, 2017 10:42
-
-
Save jskarpe/3efd23c7c1188dd0cbbd70621ddff630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class apache2 { | |
package { 'apache2': ensure => present } | |
service { 'apache2:' ensure => running } | |
sensu::check { 'apache2': | |
command => 'check-process.rb --pattern apache2 --warn-under 1' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment