1 martin 1.5 //%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.6 //
|
3 martin 1.5 // Licensed to The Open Group (TOG) under one or more contributor license
4 // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 // this work for additional information regarding copyright ownership.
6 // Each contributor licenses this file to you under the OpenPegasus Open
7 // Source License; you may not use this file except in compliance with the
8 // License.
|
9 martin 1.6 //
|
10 martin 1.5 // Permission is hereby granted, free of charge, to any person obtaining a
11 // copy of this software and associated documentation files (the "Software"),
12 // to deal in the Software without restriction, including without limitation
13 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 // and/or sell copies of the Software, and to permit persons to whom the
15 // Software is furnished to do so, subject to the following conditions:
|
16 martin 1.6 //
|
17 martin 1.5 // The above copyright notice and this permission notice shall be included
18 // in all copies or substantial portions of the Software.
|
19 martin 1.6 //
|
20 martin 1.5 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.6 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.5 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
27 martin 1.6 //
|
28 martin 1.5 //////////////////////////////////////////////////////////////////////////
|
29 karl 1.2 /*
30 //
31 //%/////////////////////////////////////////////////////////////////////////////
32 */
33
34 #if defined(PEGASUS_USE_RELEASE_DIRS) && \
35 defined(PEGASUS_OVERRIDE_DEFAULT_RELEASE_DIRS)
36 # include <Pegasus/Config/ProductDirectoryStructure.h>
37 #endif
38
39 #ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
|
40 s.kodali 1.7 #ifndef PEGASUS_FLAVOR
|
41 karl 1.2 {"httpPort", "5988"},
42 {"httpsPort", "5989"},
|
43 s.kodali 1.7 #endif
|
44 s.kodali 1.3 #ifdef PEGASUS_ENABLE_SLP
|
45 karl 1.2 {"slp", "false"},
|
46 s.kodali 1.3 #endif
|
47 karl 1.2 {"enableAuthentication", "true"},
48 {"httpAuthType", "Basic"},
49 {"enableBinaryRepository", "false"},
50 #endif
51 #if defined(PEGASUS_USE_RELEASE_DIRS)
52 # if defined(PEGASUS_OVERRIDE_DEFAULT_RELEASE_DIRS)
53 {"traceFilePath", PEGASUS_TRACE_FILE_PATH},
54 # if !defined(PEGASUS_USE_SYSLOGS)
55 {"logdir", PEGASUS_LOG_DIR},
56 # endif
57 {"passwordFilePath", PEGASUS_CONFIG_DIR"/cimserver.passwd"},
58 {"sslCertificateFilePath", PEGASUS_SSL_CERT_FILE_PATH},
59 {"sslKeyFilePath", PEGASUS_SSL_KEY_FILE_PATH},
60 {"sslTrustStore", PEGASUS_SSL_SERVER_TRUSTSTORE},
61 # ifdef PEGASUS_ENABLE_SSL_CRL_VERIFICATION
62 {"crlStore", PEGASUS_SSL_SERVER_CRL},
63 # endif
64 {"repositoryDir", PEGASUS_REPOSITORY_DIR},
|
65 s.kodali 1.8 {"providerDir", PEGASUS_EXTRA_PROVIDER_LIB_DIR PEGASUS_PROVIDER_LIB_DIR
66 ":/usr/" PEGASUS_ARCH_LIB "/cmpi"},
|
67 karl 1.2 {"providerManagerDir", PEGASUS_PROVIDER_MANAGER_LIB_DIR},
68 # else /* PEGASUS_OVERRIDE_DEFAULT_RELEASE_DIRS */
69 {"traceFilePath", "/var/opt/tog-pegasus/cache/trace/cimserver.trc"},
70 # if !defined(PEGASUS_USE_SYSLOGS)
71 {"logdir", "/var/opt/tog-pegasus/log"},
72 # endif
73 {"passwordFilePath", "/etc/opt/tog-pegasus/cimserver.passwd"},
74 {"sslCertificateFilePath", "/etc/opt/tog-pegasus/server.pem"},
75 {"sslKeyFilePath", "/etc/opt/tog-pegasus/file.pem"},
76 {"sslTrustStore", "/etc/opt/tog-pegasus/cimserver_trust"},
77 {"crlStore", "/etc/opt/tog-pegasus/crl"},
78 {"repositoryDir", PEGASUS_REPOSITORY_DIR},
79 # if defined(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER)
80 {"providerDir", "/opt/tog-pegasus/providers/lib:/usr/"
81 PEGASUS_ARCH_LIB "/cmpi"},
82 # else
83 {"providerDir", "/opt/tog-pegasus/providers/lib"},
84 # endif
85 {"providerManagerDir", "/opt/tog-pegasus/providermanagers"},
86 {"messageDir", "/opt/tog-pegasus/share/locale/ICU_Messages"},
87 # endif /* PEGASUS_OVERRIDE_DEFAULT_RELEASE_DIRS */
88 karl 1.2 #endif /* defined(PEGASUS_USE_RELEASE_DIRS) */
89 #if !defined(PEGASUS_USE_RELEASE_CONFIG_OPTIONS) && \
90 !defined(PEGASUS_USE_RELEASE_DIRS)
91 {"bogus", "MyBogusValue"} /* Remove this line if others are added */
92 #endif
|