Here is my <puppet-chrony pull request> for a feat...
# puppet
b
Here is my puppet-chrony pull request for a feature request (manage /etc/sysconfig/chronyd on RHEL family). I got all kinds of errors about "memoized helper". I tried to re-paramater-itize the spec file but there wasn't anything I could do to fix the rubocop warning. I was forced to put in the absolutepath to the /etc/sysconfig/chronyd file (part of the pull request). Can anyone recommend a change that will pass the rubocop checks AND eliminate the hard coding of the path I had to do in ./spec/classes/chrony_spec.rb?
I limited the PR to only RHEL family as I don't yet know what or if the path would be to the other OSes.
The tests passed, but to be honest, I'm not finding where MY tests ran.
b
bundle exec rubocop --regenerate-todo --no-auto-gen-timestamp
b
Run this and then push back up to Github?
b
yes
b
I had to add the .rubocop_todo.yml file to the project before the tests would start. Is that expected?
image.png
b
yes, you generated it
b
I think my PR is ready to go but I'm unsure of the procedure to request a review. Do I need to request a review in the Slack channel?
b
you can wait until someone reviews it, or hop into #voxpupuli (which I recommend in general)
dead yes 1
b
So should I be on Slack or IRC? I'm confused. When I clicked the link it sent me to the Slack channel.
b
both work. but right now you're in the slack owned by perforce. the community has their own slack/irc, which also has a #voxpupuli channel (yes it's a bit confusing)