Project

General

Profile

Actions

Bug #2561

closed

The common Policy Template/Techniques don't work well on windows

Added by Nicolas CHARLES over 12 years ago. Updated over 12 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

They have some glitches that prevent them from being fully functionnal

Actions #1

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.

Actions #2

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?

Actions #3

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

Actions #4

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.

Actions #5

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

Actions #6

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!

Actions #7

Updated by Jonathan CLARKE over 12 years ago

  • Project changed from 24 to Rudder
  • Category deleted (Policy Templates)
Actions #8

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.

Actions

Also available in: Atom PDF