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

Replace validation logic for *service_ensure. #148

Merged
merged 2 commits into from
Oct 5, 2018

Conversation

vStone
Copy link
Contributor

@vStone vStone commented Oct 4, 2018

Use an Emums to enforce values and remove manual validation in the code

manifests/client.pp Outdated Show resolved Hide resolved
manifests/init.pp Outdated Show resolved Hide resolved
@vStone vStone force-pushed the feature/ensure_services branch 4 times, most recently from c49c647 to 5c04f7a Compare October 4, 2018 11:00
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Overal 👍 but some small nits

manifests/client.pp Outdated Show resolved Hide resolved
$service_enable_real = $trap_service_enable_real
} else {
$service_ensure_real = $service_ensure
$service_enable_real = $service_enable
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Here as well

manifests/init.pp Outdated Show resolved Hide resolved
vStone added 2 commits October 5, 2018 07:23
Use an Enums to enforce values and remove manual validation in the code
@vStone vStone force-pushed the feature/ensure_services branch from 5c04f7a to d07f81e Compare October 5, 2018 05:24
@vStone vStone merged commit 7cb930a into voxpupuli:master Oct 5, 2018
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