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

preinstall manifest causes puppet run failure on fresh install #237

Closed
LongLiveCHIEF opened this issue May 29, 2018 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@LongLiveCHIEF
Copy link
Contributor

LongLiveCHIEF commented May 29, 2018

Module version: 2.1.0

Error: Could not set 'present' on ensure: No such file or directory @ rb_sysopen - /etc/gitlab/skip-auto-reconfigure (file: /etc/puppetlabs/code/environments/test/environment_modules/gitlab/manifests/preinstall.pp, line: 9)
    Error: Could not set 'present' on ensure: No such file or directory @ rb_sysopen - /etc/gitlab/skip-auto-reconfigure (file: /etc/puppetlabs/code/environments/test/environment_modules/gitlab/manifests/preinstall.pp, line: 9)
    Wrapped exception:
    No such file or directory @ rb_sysopen - /etc/gitlab/skip-auto-reconfigure
    Error: /Stage[main]/Gitlab::Preinstall/File[/etc/gitlab/skip-auto-reconfigure]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory @ rb_sysopen - /etc/gitlab/skip-auto-reconfigure (file: /etc/puppetlabs/code/environments/test/environment_modules/gitlab/manifests/preinstall.pp, line: 9)

Before, when the install ran before any configuration, the omnibus package would create /etc/gitlab directory. Now that we have a preinstall stage, we can't create files in /etc/gitlab because the parent directory isn't managed.

@juniorsysadmin juniorsysadmin added the bug Something isn't working label May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants