Skip to content
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

Improvements and style #151

Merged
merged 14 commits into from
May 13, 2015
Merged

Improvements and style #151

merged 14 commits into from
May 13, 2015

Conversation

rwaffen
Copy link
Contributor

@rwaffen rwaffen commented May 5, 2015

Had some time while traveling, so i reworked the module. Did some reordering, style fixes and added parameters to all the classes, so that you can test them one by one. Added some spec tests, but not for all the classes. Changed the behavior of the big over-all-test. merge the deb and the rhel version into one file.

@rwaffen
Copy link
Contributor Author

rwaffen commented May 5, 2015

that's not funny... apt-things are broken again 😞

@rwaffen
Copy link
Contributor Author

rwaffen commented May 6, 2015

Request for Comments … @tuxmea @nmesstorff @michael-os

ensure => directory,
owner => 'oneadmin',
group => 'oneadmin',
mode => '0755',
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep the mode in place.
You might get trouble when umask is set to a more restrictive setting.

@rwaffen
Copy link
Contributor Author

rwaffen commented May 7, 2015

thanks for the input... i will have a closer look at these things in the next days

ensure => directory,
owner => 'oneadmin',
group => 'oneadmin',
require => File['/var/lib/one'],
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this require good for? As far as I understood, file and directory resources have automatic dependency if one is contained within the other?

@michael-os
Copy link
Contributor

Overall a very nice improvement to the module, thx for putting effort into this! I should add: I didn't have a look at all spec tests, but the module changes themselves looked find except for the existing comments.

@rwaffen
Copy link
Contributor Author

rwaffen commented May 13, 2015

have to rebase this one and will merge than...

rwaffen added 2 commits May 13, 2015 09:56
- add mode for directories
- remove unnecessary requires
- add parameter to main class
- remove hasstatus and hasrestart from services
rwaffen added a commit that referenced this pull request May 13, 2015
@rwaffen rwaffen merged commit 11d3d94 into epost-dev:master May 13, 2015
@rwaffen rwaffen deleted the improvements_and_style branch May 13, 2015 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants