Server IP : 127.0.0.2 / Your IP : 13.59.48.34 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | 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: *)