Skip to content

Commit

Permalink
added strace module. Use params to specify the package name. Defaults…
Browse files Browse the repository at this point in the history
… to 'strace'.
  • Loading branch information
uberj committed Apr 4, 2012
1 parent 53df56c commit e5ae728
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/strace/manifests/init.pp
@@ -0,0 +1,7 @@
class strace {
include strace::params
package { "strace":
ensure => latest,
name => "${strace::params::strace_package}",
}
}
6 changes: 6 additions & 0 deletions modules/strace/manifests/params.pp
@@ -0,0 +1,6 @@
class strace::params {
$strace_package = $::operatingsystem ? {
/Fedora/ => 'strace',
default => 'strace',
}
}

0 comments on commit e5ae728

Please sign in to comment.