925b7eb5d58718791517d48ea51e679f2d6c6880
Dev In the spirit of applicatio...

Dev authored 7 years ago

1) # Notes on tool's architecture
2) 
3) This is Rudimentary Configuration Management (RCM) tool and is super true to its name. Everything is under `RCM` module/namespace to differentiate with other gems/ruby classes on the system.
4) 
5) Things are dependent on order of execution; especially if a resource is created by another one in the run. In our case, this is experienced for managing `/var/www/html/index.html` file as it is created by installation of `apache2`.
6) 
7) ## Target system configuration
8) 
9) `apache2`, `php5`  and `libapache2-mod-php5` are installed. Then default `/var/www/html/index.html` is deleted and `/var/www/html/index.php` is dropped in its place.
10) 
Dev Adding how to install and i...

Dev authored 7 years ago

11) ## Installation and invocation
12) 
13)     wget http://src.devghai.com/rcm/tarball/master -O rcm.tar
14)     mkdir rcm
15)     tar --directory rcm -xzf rcm.tar
16)     cd rcm
17)     sudo ./bootstrap.sh
18)     sudo ./task.rb 
19)     
20)