-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
'No such file or directory' error #24
Comments
@AnonSS Does |
@genebean no it does not currently reside. I have also created the folders manually and it throws other errors. |
Do you mind sharing exactly how you are calling the module so I can try and reproduce the problem? |
Certainly. I am using the exact way the Readme suggests:
|
I have gotten around the problem by adding this snippet to the top of the profile:
I can still use the mod to manage the config file. |
Sorry I missed your first reply! I’ll see if I can get this fixed as your fix indicates it wasn’t getting installed via Chocolatey like it should. I’m wondering if something has changed with either the upstream Chocolatey module or the package that it pulls down. |
Hi,
I am getting this error with the default suggested config (please see full error below).
puppet server version: 6.15
Puppet agent: 7 (I also tried to run with lower versions with the same result).
Any ideas?
puppet : �[1;31mError: Could not set 'file' on ensure: No such file or directory - A directory component in
C:/Program Files (x86)/nxlog/conf/nxlog.conf20210508-4684-bdgpzl.lock does not exist or is a dangling symbolic
link�[0m
At line:1 char:7
�[1;31mError: Could not set 'file' on ensure: No such file or directory - A directory component in C:/Program
Files (x86)/nxlog/conf/nxlog.conf20210508-4684-bdgpzl.lock does not exist or is a dangling symbolic link
Wrapped exception:
No such file or directory - A directory component in C:/Program Files
(x86)/nxlog/conf/nxlog.conf20210508-4684-bdgpzl.lock does not exist or is a dangling symbolic link�[0m
�[1;31mError: /Stage[main]/Nxlog::Config/Concat[C:/Program Files (x86)/nxlog/conf/nxlog.conf]/File[C:/Program
Files (x86)/nxlog/conf/nxlog.conf]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure:
No such file or directory - A directory component in C:/Program Files
(x86)/nxlog/conf/nxlog.conf20210508-4684-bdgpzl.lock does not exist or is a dangling symbolic link
(corrective)�[0m
�[mNotice: /Stage[main]/Nxlog::Service/Service[nxlog]: Dependency File[C:/Program Files (x86)/nxlog/conf/nxlog.conf
] has failures: true�[0m
�[1;33mWarning: /Stage[main]/Nxlog::Service/Service[nxlog]: Skipping because of failed dependencies�[0m
�[1;33mWarning: /Stage[main]/Nxlog/Anchor[nxlog::end]: Skipping because of failed dependencies�[0m
The text was updated successfully, but these errors were encountered: