Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
add support for non default redis directory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerder committed Feb 11, 2015
1 parent a45aec3 commit bfc6d98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@
}

# path for persistent data
file { "${redis_dir}/redis_${redis_name}":
# if we specify a directory that's not default we need to pass it as a hash
$directories = [ $redis_dir, "${redis_dir}/redis_${redis_name}" ]
file { $directories:
ensure => directory,
require => Class['redis::install'],
}
Expand Down

0 comments on commit bfc6d98

Please sign in to comment.