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

new path is not recognized in puppet execution, requires machine reboot[windows_path] #42

Open
vijaytripathi opened this issue Oct 17, 2013 · 1 comment

Comments

@vijaytripathi
Copy link
Contributor

I have observed windows_path getting added to path variable but executable specified in this path cant be used until I reboot (or may be some other service restart required).

e.g.
windows_path { $python_installdir:
ensure => present,
require => Package[$python_package],
}
After this python path is correctly added to path variable, but in puppet run error is thrown for missing 'python.exe'.
Although this issue is not related to openstack-hyper-v module, it affects all our modules consuming windows_path

@luisfdez
Copy link
Contributor

You're right, it basically needs a second puppet run to be available.

I opened a ticket about it some time ago: Fabian1976/puppet-windows-path#3 (...and I've just realized that I didn't answer.. ouch...)

I don't know if using this alternative module (more generic and based on the previous one) could help: https://github.com/badgerious/puppet-windows-env (but the mechanism behind ssems to be the same)

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