2 Module: OpenShift_Config
4 - /etc/openshift/broker.conf
5 - /etc/openshift/broker-dev.conf
6 - /etc/openshift/console.conf
7 - /etc/openshift/console-dev.conf
8 - /etc/openshift/node.conf
9 - /etc/openshift/plugins.d/*.conf
11 Author: Brian Redbeard <redbeard@dead-city.org>
14 This file is licenced under the LGPL v2+, conforming to the other components
18 Sample usage of this lens in augtool:
20 * Get your current setup
21 > print /files/etc/openshift
24 * Change OpenShift domain
25 > set /files/etc/openshift/broker.conf/CLOUD_DOMAIN ose.example.com
31 About: Configuration files
32 /etc/openshift/broker.conf - Configuration file for an OpenShift Broker
33 running in production mode.
34 /etc/openshift/broker-dev.conf - Configuration file for an OpenShift
35 Broker running in development mode.
36 /etc/openshift/console.conf - Configuration file for an OpenShift
37 console running in production mode.
38 /etc/openshift/console-dev.conf - Configuration file for an OpenShift
39 console running in development mode.
40 /etc/openshift/node.conf - Configuration file for an OpenShift node
41 /etc/openshift/plugins.d/*.conf - Configuration files for OpenShift
42 plugins (i.e. mcollective configuration, remote auth, dns updates)
45 The <Test_OpenShift_Config> file contains various examples and tests.
47 module OpenShift_Config =
50 (* Variable: blank_val *)
51 let blank_val = del /["']{2}/ "\"\""
53 (* View: primary_entry *)
54 let primary_entry = Build.key_value_line Rx.word Sep.equal Quote.any_opt
56 (* View: empty_entry *)
57 let empty_entry = Build.key_value_line Rx.word Sep.equal blank_val
60 let lns = (Util.empty | Util.comment | primary_entry | empty_entry )*
62 (* Variable: filter *)
63 let filter = incl "/etc/openshift/broker.conf"
64 . incl "/etc/openshift/broker-dev.conf"
65 . incl "/etc/openshift/console.conf"
66 . incl "/etc/openshift/resource_limits.conf"
67 . incl "/etc/openshift/console-dev.conf"
68 . incl "/etc/openshift/node.conf"
69 . incl "/etc/openshift/plugins.d/*.conf"
70 . incl "/var/www/openshift/broker/conf/broker.conf"
71 . incl "/var/www/openshift/broker/conf/plugins.d/*.conf"
74 let xfm = transform lns filter
75 (* vim: set ts=4 expandtab sw=4: *)