Bug #2561
closedThe common Policy Template/Techniques don't work well on windows
Added by Nicolas CHARLES over 12 years ago. Updated over 12 years ago.
Description
They have some glitches that prevent them from being fully functionnal
Updated by Nicolas CHARLES over 12 years ago
- Status changed from In progress to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:0f317ace301afb0b9ecf4809fb1cdd730160e09e.
Updated by Jonathan CLARKE over 12 years ago
- Status changed from Pending technical review to Discussion
- % Done changed from 100 to 90
This looks good except for one point: You have "protected" the default_repository => "/var/rudder/modified-files" definition with "linux::". This means there won't be one on Windows, which is clearly not consistent.
Can you not add another case for windows, using a different path?
Updated by Nicolas CHARLES over 12 years ago
Jonathan CLARKE wrote:
This looks good except for one point: You have "protected" the default_repository => "/var/rudder/modified-files" definition with "linux::". This means there won't be one on Windows, which is clearly not consistent.
Can you not add another case for windows, using a different path?
Unfortunately, it doesn't work on Windows... I tried and failed to obtain something, hence I removed it in Windows to prevent errors
Updated by Jonathan CLARKE over 12 years ago
Nicolas CHARLES wrote:
Jonathan CLARKE wrote:
This looks good except for one point: You have "protected" the default_repository => "/var/rudder/modified-files" definition with "linux::". This means there won't be one on Windows, which is clearly not consistent.
Can you not add another case for windows, using a different path?
Unfortunately, it doesn't work on Windows... I tried and failed to obtain something, hence I removed it in Windows to prevent errors
Argh, that's very unfortunate!
Could you at least comment that in the "source code" so we know? Ideally, we need a bug report at bug.cfengine.com and it's reference too.
Updated by Nicolas CHARLES over 12 years ago
Jonathan CLARKE wrote:
Nicolas CHARLES wrote:
Jonathan CLARKE wrote:
This looks good except for one point: You have "protected" the default_repository => "/var/rudder/modified-files" definition with "linux::". This means there won't be one on Windows, which is clearly not consistent.
Can you not add another case for windows, using a different path?
Unfortunately, it doesn't work on Windows... I tried and failed to obtain something, hence I removed it in Windows to prevent errors
Argh, that's very unfortunate!
Could you at least comment that in the "source code" so we know? Ideally, we need a bug report at bug.cfengine.com and it's reference too.
I've checked with the latest Nova revision, and it does work with it. So i've added it back
Updated by Jonathan CLARKE over 12 years ago
- Status changed from Discussion to Released
Nicolas CHARLES wrote:
Jonathan CLARKE wrote:
Nicolas CHARLES wrote:
Jonathan CLARKE wrote:
This looks good except for one point: You have "protected" the default_repository => "/var/rudder/modified-files" definition with "linux::". This means there won't be one on Windows, which is clearly not consistent.
Can you not add another case for windows, using a different path?
Unfortunately, it doesn't work on Windows... I tried and failed to obtain something, hence I removed it in Windows to prevent errors
I've checked with the latest Nova revision, and it does work with it. So i've added it back
Then this is all good for me!
Updated by Jonathan CLARKE over 12 years ago
- Project changed from 24 to Rudder
- Category deleted (
Policy Templates)
Updated by Jonathan CLARKE over 12 years ago
- Category set to System techniques
Ah, except that this ticket was in the wrong place. There is a special category for our system policies in the Rudder project, as they are inherently tied to Rudder itself.