-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-enable and fix acceptance tests. (Don't manage /var/run/redis
on Debian systems)
#299
Conversation
bd07354
to
92d774c
Compare
/var/run/redis
on Debian systems)
- set: ubuntu1604-64m | ||
- set: centos6-64m | ||
- set: centos7-64m | ||
- set: debian8-64m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is there an m
at the end of each line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Role master
was needed for one of the beaker helpers. run_task
IIRC.
file { '/var/run/redis': | ||
ensure => 'directory', | ||
owner => $::redis::config_owner, | ||
group => $var_run_redis_group, | ||
mode => $var_run_redis_mode, | ||
group => $::redis::config_group, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest modulesync doesn't allow ::
after $
, so you might want to directly remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO not. The module is filled with it and this change keeps it consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's only actually for classes. I think there'll be a separate PR where the variables are sorted out.
file { '/var/run/redis': | ||
ensure => 'directory', | ||
owner => $::redis::config_owner, | ||
group => $var_run_redis_group, | ||
mode => $var_run_redis_mode, | ||
group => $::redis::config_group, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO not. The module is filled with it and this change keeps it consistent.
@@ -0,0 +1,13 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be an idea to add these nodesets as unmanaged? Longer term I'd like to remove them and if this module isn't using them, let's not pollute its history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Can you remind me of the correct syntax for .sync.yml
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -9,6 +9,13 @@ | |||
'redis' | |||
end | |||
|
|||
# We're testing with `manage_repo` true. In redis-sentinel 5, the daemon has its own rundir | |||
pidfile = if fact('operatingsystem') == 'Ubuntu' && fact('operatingsystemmajrelease') == '16.04' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you implement this in pure puppet below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose I may as well. Ideally, the module itself would set the default correctly, but that's for another day.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done (assuming I've not messed it up).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I messed it up...
daf49d9
to
91cd6ed
Compare
91cd6ed
to
000d519
Compare
000d519
to
6c21e7d
Compare
No description provided.