You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ensure=present, if the variable meets the criteria, i.e., value exists (insert), exists in the beggining (prepend) or exists in the end (append), duplicates won't be removed even if they are present. E.g.:
The module behaviors according to the variable contents, so we never know the outcome for a given client.
What behaviour did you expect instead
I expected it to behave the same way, no matter what the variable content is. It should either keep all duplicates, just changing places as needed for append/prepend; OR always eliminate them.
As we have problems with duplicated paths in PATH, we would love to eliminate duplicates. A parameter that dictates the behavior may also be a solution.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
When ensure=present, if the variable meets the criteria, i.e., value exists (insert), exists in the beggining (prepend) or exists in the end (append), duplicates won't be removed even if they are present. E.g.:
Duplicates will only be removed if the variable doesn't meet the criteria and its content needs to be re-written, such as in
What are you seeing
The module behaviors according to the variable contents, so we never know the outcome for a given client.
What behaviour did you expect instead
I expected it to behave the same way, no matter what the variable content is. It should either keep all duplicates, just changing places as needed for append/prepend; OR always eliminate them.
As we have problems with duplicated paths in PATH, we would love to eliminate duplicates. A parameter that dictates the behavior may also be a solution.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: