Skip to content

Commit

Permalink
Make sentinel maninfest ensure the redis package
Browse files Browse the repository at this point in the history
The sentinel service needs to make sure that the redis package has
been installed on the machine where sentinel is being run. All my
previous testing had assumed that there would be a redis server and
sentinel on the same machines. This doesn't have to be the case, so
the manifest needs to make allowances for that.
  • Loading branch information
cdent committed Jan 7, 2015
1 parent b820d82 commit 0e5bd1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/sentinel.pp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@
refreshonly => true;
}

package { $::redis::params::package_name:
ensure => $::redis::params::package_ensure,
}

service { $service_name:
ensure => $::redis::params::service_ensure,
enable => $::redis::params::service_enable,
Expand Down

0 comments on commit 0e5bd1e

Please sign in to comment.