Server IP : 66.29.132.122 / Your IP : 3.133.133.61 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/puppetlabs/puppet/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: *)