-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Creating multiple entry in auto.master file for single automaster_entry '/-' #40
Comments
@manish-nuance I'm not able to reproduce this issue. Can you please let me know what version of the line cookbook you're using? |
@ramereth , thanks for taking this issue forward.. thanks.. |
Unfortunately I'm still not able to replicate this issue. Are you able to replicate this with kitchen on your end? I'm wondering if the issue is cased by a specific line in your |
facing multiple entry issue with direct maps like "/-".. I'm using custom chef recipe to apply following. automaster_entry '/-' do this automaster_entry "/-" gives multiple entry in auto.master Otherwise, look all good with indirect maps like "/xyz" |
Yes I tried that and couldn't produce this creating a duplicate entry. That's why I'm wondering if there is something else in the file that the regex is having an issue with that I need on my end so I can replicate it. |
🗣️ Foreword
Multiple entry created in
auto.master
file for singleautomaster_entry
resource.Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.
👻 Brief Description
A clear and concise description of what the bug is.
My recipe configurations:
It does create two entry in auto.master file -- observed bugs
It should be single line entry on auto.master file
🥞 Cookbook version
Version of the cookbook where you are encountering the issue.
👩🍳 Chef-Infra Version
tag versio 2.9.1
Version of chef-client in your environment.
chef 15.9.17
🎩 Platform details
Operating system distribution and release version. Cloud provider if running in the cloud.
CentOS-7.7
Steps To Reproduce
Steps to reproduce the behavior:
Configure chef recipe with following..
My recipe configurations:
🚓 Expected behavior
A clear and concise description of what you expected to happen.
should come-up with single entry in auto.master
➕ Additional context
Add any other context about the problem here. e.g. related issues or existing pull requests.
The text was updated successfully, but these errors were encountered: