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

oracle_exists logic is incorrect #105

Closed
vchepkov opened this issue May 18, 2016 · 1 comment
Closed

oracle_exists logic is incorrect #105

vchepkov opened this issue May 18, 2016 · 1 comment

Comments

@vchepkov
Copy link

I don't think this code works they way you think it is:

check if the oracle software already exists

$found = oracle_exists( $oracle_home )

Custom functions are executed on master, not on the node
https://docs.puppet.com/guides/custom_functions.html

@biemond
Copy link
Owner

biemond commented May 18, 2016

Hi,

you are correct but it should work because I generate facts before puppet runs, passed on to apply or master and this custom function only reads if the facts are there

Thanks

@biemond biemond closed this as completed Sep 12, 2016
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

No branches or pull requests

2 participants