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

(maint) Fix a dependency cycle introduced on Windows by Sol11 work #99

Merged
merged 1 commit into from Apr 5, 2016

Conversation

MikaelSmith
Copy link
Contributor

Fixes a dependency cycle introduced by Solaris 11 work. Solaris 11
requires managing config files before preparing packages, because part
of preparing the package is saving /etc/puppetlabs where the configs are
stored.

On Windows, a dependency was introduced because the package is stored to
C:/ProgramData/Puppet Labs/..., and config files are also stored
there. So creating an order of configs before package prepare caused a
requirement that C:/ProgramData/Puppet Labs exists both before and after
managing config files. Fix that dependency cycle by mananging
C:/ProgramData/Puppet Labs earlier.

Fixes a dependency cycle introduced by Solaris 11 work. Solaris 11
requires managing config files before preparing packages, because part
of preparing the package is saving /etc/puppetlabs where the configs are
stored.

On Windows, a dependency was introduced because the package is stored to
`C:/ProgramData/Puppet Labs/...`, and config files are also stored
there. So creating an order of configs before package prepare caused a
requirement that C:/ProgramData/Puppet Labs exists both before and after
managing config files. Fix that dependency cycle by mananging
`C:/ProgramData/Puppet Labs` earlier.
@MikaelSmith
Copy link
Contributor Author

@highb

@highb
Copy link
Contributor

highb commented Apr 5, 2016

👍

@highb highb merged commit 429eb85 into puppetlabs:master Apr 5, 2016
@MikaelSmith MikaelSmith deleted the fix-Windows-cycle branch April 6, 2016 20:16
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.

None yet

2 participants