/usr/share/augeas/lenses/dist/openshift_quickstarts.aug is in augeas-lenses 1.2.0-0ubuntu1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | (*
Module: OpenShift_Quickstarts
Parses
- /etc/openshift/quickstarts.json
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/quickstarts.json
...
* Delete the quickstart named WordPress
> rm /files/etc/openshift/quickstarts.json/array/dict[*]/entry/dict/entry[*][string = 'WordPress']/../../../
Saving your file:
> save
About: Configuration files
/etc/openshift/quickstarts.json - Quickstarts available via the
OpenShift Console.
About: Examples
The <Test_OpenShift_Quickstarts> file contains various examples and tests.
*)
module OpenShift_Quickstarts =
autoload xfm
(* View: json *)
let json = Json.lns
(* View: lns *)
let lns = (Util.empty | json )*
(* Variable: filter *)
let filter = incl "/etc/openshift/quickstarts.json"
let xfm = transform lns filter
(* vim: set ts=4 expandtab sw=4: *)
|