Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Aug 26, 2013
0 parents commit 5c6a356
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class sysstat {
include sysstat::install, sysstat::service
}
5 changes: 5 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class sysstat::install {
package {'sysstat':
ensure => latest,
}
}
12 changes: 12 additions & 0 deletions manifests/service.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class sysstat::service {
include sysstat::install

service{ 'sysstat':
# ensure => running,
hasstatus => false,
hasrestart => true,
enable => true,
require => Class['sysstat::install'],
subscribe => Class['sysstat::install'],
}
}

0 comments on commit 5c6a356

Please sign in to comment.