raspbian support.
authorCarl Hetherington <cth@carlh.net>
Mon, 27 Apr 2015 22:53:11 +0000 (23:53 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 27 Apr 2015 22:53:11 +0000 (23:53 +0100)
cdist

diff --git a/cdist b/cdist
index 8990440d0c5c390574f2843be16e029fa6c260cc..61cc6f74eb4a07a1a96047b6dc7170f681820376 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -521,6 +521,8 @@ def target_factory(s, debug, work):
             print >>sys.stderr,"Bad Linux target name `%s'; must be something like ubuntu-12.04-32 (i.e. distro-version-bits)" % s
             sys.exit(1)
         target = LinuxTarget(p[0], p[1], int(p[2]), work)
+    elif s == 'raspbian':
+        target = LinuxTarget(s, '', 32, work)
     elif s.startswith('osx-'):
         target = OSXSingleTarget(int(s.split('-')[1]), work)
     elif s == 'osx':