Skip to content

Handle cron package from different module#1306

Merged
daianamezdrea merged 2 commits intopuppetlabs:masterfrom
ashish1099:master
Jun 9, 2020
Merged

Handle cron package from different module#1306
daianamezdrea merged 2 commits intopuppetlabs:masterfrom
ashish1099:master

Conversation

@ashish1099
Copy link
Copy Markdown
Contributor

@ashish1099 ashish1099 commented Jun 3, 2020

Backup should only install cron, if one wants it.

based on this #1269

@ashish1099 ashish1099 requested a review from a team as a code owner June 3, 2020 02:44
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 3, 2020

Codecov Report

Merging #1306 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1306   +/-   ##
=======================================
  Coverage   50.23%   50.23%           
=======================================
  Files          22       22           
  Lines        1045     1045           
=======================================
  Hits          525      525           
  Misses        520      520           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23f89af...f545e20. Read the comment docs.

@daianamezdrea
Copy link
Copy Markdown
Contributor

Hi @ashish1099, this LGTM! Thank you for your contribution!

@daianamezdrea daianamezdrea merged commit de57cd0 into puppetlabs:master Jun 9, 2020
Copy link
Copy Markdown
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙋‍♀️

} elsif $::osfamily == 'RedHat' {
ensure_packages('cronie')
} elsif $::osfamily != 'FreeBSD' {
ensure_packages('cron')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this even do on FreeBSD?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @igalic, we don't usually test on FreeBSD, so this can be a mistake. I'll have a look! Thank you for highlighting this, feel free to open a PR if you want! Thanks again! Cheers!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i haven't actually used MySQL since switching to FreeBSD, it's all been SQLite 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants