Created
August 31, 2014 05:27
-
-
Save comuttun/4d0c4b4265b4cca1e4f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| service "httpd" do | |
| supports :restart => true | |
| action :nothing | |
| end | |
| file "/etc/httpd/conf.d/proxy_ajaxterm.conf" do | |
| action :delete | |
| only_if { File.exists?("/etc/httpd/conf.d/proxy_ajaxterm.conf") } | |
| notifies :restart, "service[httpd]" | |
| end | |
| service "ajaxterm" do | |
| action [:disable, :stop] | |
| only_if "chkconfig --list ajaxterm" | |
| end | |
| file "/etc/init.d/ajaxterm" do | |
| action :delete | |
| only_if { File.exists?("/etc/init.d/ajaxterm") } | |
| end | |
| file "/usr/local/bin/ajaxterm" do | |
| action :delete | |
| only_if { File.exists?("/usr/local/bin/ajaxterm") } | |
| end | |
| directory "/usr/local/share/ajaxterm" do | |
| action :delete | |
| recursive true | |
| only_if { File.exists?("/usr/local/share/ajaxterm") } | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment