Initial version of smolt module.
This commit is contained in:
parent
c3fe0ea10e
commit
918e9d9111
1 changed files with 24 additions and 0 deletions
24
smolt/manifests/init.pp
Normal file
24
smolt/manifests/init.pp
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
|
||||||
|
# Install smolt paackage.
|
||||||
|
#
|
||||||
|
class smolt::package {
|
||||||
|
|
||||||
|
package { "smolt":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Enable smolt monthly updates.
|
||||||
|
#
|
||||||
|
class smolt::client inherits smolt::package {
|
||||||
|
|
||||||
|
service { "smolt":
|
||||||
|
ensure => running,
|
||||||
|
enable => true,
|
||||||
|
hasstatus => true,
|
||||||
|
require => Package["smolt"],
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue