Keep name in Target.
authorCarl Hetherington <cth@carlh.net>
Mon, 29 Apr 2013 14:33:00 +0000 (15:33 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 29 Apr 2013 14:33:00 +0000 (15:33 +0100)
cdist

diff --git a/cdist b/cdist
index 92b383723ca7bb40c13e99e31063fb5492264d5f..a7557d5d4bf230a2bf4ced5f6d0c1f1b0c2d8ad7 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -266,6 +266,7 @@ class WindowsEnvironment(HostEnvironment):
 
 class Target:
     def __init__(self, name):
+        self.name = name
         if name.startswith('ubuntu-') or name.startswith('debian-'):
             self.platform = 'linux'
             self.version = name.split('-')[1]