cfengine2 does not define ubuntu or release specific classes

Bug #50789 reported by gil
16
Affects Status Importance Assigned to Milestone
cfengine2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

It would be very helpful if cfengine2 defined classes indicating that it is running under ubuntu, and which ubuntu release.

In v2.1.20-1 (released in dapper) the class "debian" is defined. There are no classes indicating that it is actually running ubuntu, or which release it is running.

For comparison, in v2.1.14 (released in debian sarge) the classes "debian debian_3 debian_3_1" are all defined. Similar classes were defined for older releases making it simple to write cfengine actions that acted on the differences.

Use
  cfagent -v -n
to get a list of the defined classes.

Revision history for this message
Robert Gerlach (khnz) wrote :

fixed in upsteam trunk (svn #325)

Changed in cfengine2:
status: Unconfirmed → Confirmed
Revision history for this message
Reinhard Tartler (siretart) wrote :

could you please prepare a package upload, and attach a debdiff to this bug? thanks.

Revision history for this message
Emmet Hikory (persia) wrote :

I've unsubscribed ubuntu-universe-sponsors, as this patch is not in debdiff format, and thereby does not represent a sponsorship request. Please resubscribe if a candidate for upload is prepared, and sponsorship is required. Thank you.

Changed in cfengine2:
assignee: nobody → xxxxx1
status: Confirmed → In Progress
Revision history for this message
deadwill (deadwill-deactivatedaccount) wrote :

Fixed: feisty-proposed debdiff created and Gerlach's patch is included.

Changed in cfengine2:
status: In Progress → Fix Committed
Changed in cfengine2:
status: Fix Committed → In Progress
Revision history for this message
deadwill (deadwill-deactivatedaccount) wrote :

I've re-opened bug as in-progress until i finish Gutsy debdiff for version 2.1.22 too.

Revision history for this message
deadwill (deadwill-deactivatedaccount) wrote :

Fix for Gutsy as attachment.

Changed in cfengine2:
status: In Progress → Fix Committed
Revision history for this message
Reinhard Tartler (siretart) wrote :

cfengine2 (2.1.22-1ubuntu1) gutsy; urgency=low

  [ William Lima ]
  * Re-created debian/patches directory.
  * Add patches/100_fix_lsb (thanks to Robert Gerlach). (LP: #50789)

  [ Reinhard Tartler ]
  * Modify Maintainer value to match Debian-Maintainer-Field Spec

 -- Reinhard Tartler <email address hidden> Fri, 22 Jun 2007 17:25:36 +0000

Changed in cfengine2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.