Revision 1c9e817d src/Ganeti/HsConstants.hs
b/src/Ganeti/HsConstants.hs | ||
---|---|---|
50 | 50 |
import Ganeti.Types |
51 | 51 |
import qualified Ganeti.Types as Types |
52 | 52 |
|
53 |
-- * 'autoconf' constants for Python only |
|
53 |
-- * 'autoconf' constants for Python only ('autotools/build-bash-completion') |
|
54 |
|
|
55 |
htoolsProgs :: [String] |
|
56 |
htoolsProgs = AutoConf.htoolsProgs |
|
57 |
|
|
58 |
-- * 'autoconf' constants for Python only ('lib/constants.py') |
|
54 | 59 |
|
55 | 60 |
drbdBarriers :: String |
56 | 61 |
drbdBarriers = AutoConf.drbdBarriers |
... | ... | |
61 | 66 |
lvmStripecount :: Int |
62 | 67 |
lvmStripecount = AutoConf.lvmStripecount |
63 | 68 |
|
69 |
-- * 'autoconf' constants for Python only ('lib/pathutils.py') |
|
70 |
|
|
71 |
-- ** Build-time constants |
|
72 |
|
|
73 |
exportDir :: String |
|
74 |
exportDir = AutoConf.exportDir |
|
75 |
|
|
76 |
osSearchPath :: [String] |
|
77 |
osSearchPath = AutoConf.osSearchPath |
|
78 |
|
|
79 |
esSearchPath :: [String] |
|
80 |
esSearchPath = AutoConf.esSearchPath |
|
81 |
|
|
82 |
sshConfigDir :: String |
|
83 |
sshConfigDir = AutoConf.sshConfigDir |
|
84 |
|
|
85 |
xenConfigDir :: String |
|
86 |
xenConfigDir = AutoConf.xenConfigDir |
|
87 |
|
|
88 |
sysconfdir :: String |
|
89 |
sysconfdir = AutoConf.sysconfdir |
|
90 |
|
|
91 |
toolsdir :: String |
|
92 |
toolsdir = AutoConf.toolsdir |
|
93 |
|
|
94 |
localstatedir :: String |
|
95 |
localstatedir = AutoConf.localstatedir |
|
96 |
|
|
97 |
-- ** Paths which don't change for a virtual cluster |
|
98 |
|
|
99 |
pkglibdir :: String |
|
100 |
pkglibdir = AutoConf.pkglibdir |
|
101 |
|
|
102 |
-- * 'autoconf' constants for Python only ('lib/build/sphinx_ext.py') |
|
103 |
|
|
104 |
manPages :: Map String Int |
|
105 |
manPages = Map.fromList AutoConf.manPages |
|
106 |
|
|
107 |
-- * 'autoconf' constants for QA cluster only ('qa/qa_cluster.py') |
|
108 |
|
|
109 |
versionedsharedir :: String |
|
110 |
versionedsharedir = AutoConf.versionedsharedir |
|
111 |
|
|
112 |
-- * 'autoconf' constants for Python only ('tests/py/docs_unittest.py') |
|
113 |
|
|
114 |
gntScripts :: [String] |
|
115 |
gntScripts = AutoConf.gntScripts |
|
116 |
|
|
64 | 117 |
-- * Various versions |
65 | 118 |
|
66 | 119 |
releaseVersion :: String |
... | ... | |
85 | 138 |
protocolVersion :: Int |
86 | 139 |
protocolVersion = buildVersion configMajor configMinor configRevision |
87 | 140 |
|
88 |
-- * Constants for 'lib/pathutils.py' |
|
89 |
|
|
90 |
osSearchPath :: [String] |
|
91 |
osSearchPath = AutoConf.osSearchPath |
|
92 |
|
|
93 |
esSearchPath :: [String] |
|
94 |
esSearchPath = AutoConf.esSearchPath |
|
95 |
|
|
96 | 141 |
-- * User separation |
97 | 142 |
daemonsGroup :: String |
98 | 143 |
daemonsGroup = Runtime.daemonGroup (ExtraGroup DaemonsGroup) |
Also available in: Unified diff