Remove parameter changing code #318

Closed
opened 2021-11-20 15:24:16 +00:00 by ungleich-gitea · 2 comments

Created by: telmich

Reported by Tim Kersten:

When using __apt_ppa with cdist (testing against latest stable, 2.0.7), I
get the following errors:

ERROR: Object <CdistObject __file/usr/local/bin/remove-apt-repository>
already exists with conflicting parameters:
/Users/tim/cdist/conf/type/__apt_ppa/manifest: {'source':
'/Users/tim/cdist/conf/type/__apt_ppa/files/remove-apt-repository',
'state': 'present', 'mode': '0755'}
/Users/tim/cdist/conf/type/__apt_ppa/manifest: {'source':
'/Users/tim/cdist/conf/type/__apt_ppa/files/remove-apt-repository', 'mode':
'0755'}

Is it possible that the __file/manifest file is causing this when setting a
"default" state parameter? I haven't investigated it much, but couldn't see
why else I'd get this error.

Kindest Regards,

Tim ^,^

*Created by: telmich* Reported by Tim Kersten: When using __apt_ppa with cdist (testing against latest stable, 2.0.7), I get the following errors: ERROR: Object <CdistObject __file/usr/local/bin/remove-apt-repository> already exists with conflicting parameters: /Users/tim/cdist/conf/type/__apt_ppa/manifest: {'source': '/Users/tim/cdist/conf/type/__apt_ppa/files/remove-apt-repository', 'state': 'present', 'mode': '0755'} /Users/tim/cdist/conf/type/__apt_ppa/manifest: {'source': '/Users/tim/cdist/conf/type/__apt_ppa/files/remove-apt-repository', 'mode': '0755'} Is it possible that the __file/manifest file is causing this when setting a "default" state parameter? I haven't investigated it much, but couldn't see why else I'd get this error. Kindest Regards, Tim ^,^
ungleich-gitea added the
bugfix
cleanup
labels 2021-11-20 15:24:16 +00:00
Author
Owner

Created by: telmich

fixed by commit 0eda579

*Created by: telmich* fixed by commit 0eda579
Author
Owner

Created by: telmich

Solution: Implement default paramaters and remove parameter-changing code.

*Created by: telmich* Solution: Implement default paramaters and remove parameter-changing code.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#318
No description provided.