| Server IP : 162.214.74.102 / Your IP : 216.73.216.139 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/augeas/lenses/dist/ |
Upload File : |
(*
Module: OpenShift_Config
Parses
- /etc/openshift/broker.conf
- /etc/openshift/broker-dev.conf
- /etc/openshift/console.conf
- /etc/openshift/console-dev.conf
- /etc/openshift/node.conf
- /etc/openshift/plugins.d/*.conf
Author: Brian Redbeard <redbeard@dead-city.org>
About: License
This file is licenced under the LGPL v2+, conforming to the other components
of Augeas.
About: Lens Usage
Sample usage of this lens in augtool:
* Get your current setup
> print /files/etc/openshift
...
* Change OpenShift domain
> set /files/etc/openshift/broker.conf/CLOUD_DOMAIN ose.example.com
Saving your file:
> save
About: Configuration files
/etc/openshift/broker.conf - Configuration file for an OpenShift Broker
running in production mode.
/etc/openshift/broker-dev.conf - Configuration file for an OpenShift
Broker running in development mode.
/etc/openshift/console.conf - Configuration file for an OpenShift
console running in production mode.
/etc/openshift/console-dev.conf - Configuration file for an OpenShift
console running in development mode.
/etc/openshift/node.conf - Configuration file for an OpenShift node
/etc/openshift/plugins.d/*.conf - Configuration files for OpenShift
plugins (i.e. mcollective configuration, remote auth, dns updates)
About: Examples
The <Test_OpenShift_Config> file contains various examples and tests.
*)
module OpenShift_Config =
autoload xfm
(* Variable: blank_val *)
let blank_val = del /["']{2}/ "\"\""
(* View: primary_entry *)
let primary_entry = Build.key_value_line Rx.word Sep.equal Quote.any_opt
(* View: empty_entry *)
let empty_entry = Build.key_value_line Rx.word Sep.equal blank_val
(* View: lns *)
let lns = (Util.empty | Util.comment | primary_entry | empty_entry )*
(* Variable: filter *)
let filter = incl "/etc/openshift/broker.conf"
. incl "/etc/openshift/broker-dev.conf"
. incl "/etc/openshift/console.conf"
. incl "/etc/openshift/resource_limits.conf"
. incl "/etc/openshift/console-dev.conf"
. incl "/etc/openshift/node.conf"
. incl "/etc/openshift/plugins.d/*.conf"
. incl "/var/www/openshift/broker/conf/broker.conf"
. incl "/var/www/openshift/broker/conf/plugins.d/*.conf"
. Util.stdexcl
let xfm = transform lns filter
(* vim: set ts=4 expandtab sw=4: *)