andy-dufour / chef-jboss7 Goto Github PK
View Code? Open in Web Editor NEWA chef recipe for JBoss 7.
License: Other
A chef recipe for JBoss 7.
License: Other
The current init script does not work on centos
I am new to chef etc so apologies is this is not the correct etiquette.
I have a Berksfile that uses Chef Supermarket which currently uses 0.11.1. When I clicked the link to view source it takes me to 0.11.2 which caused a few headscratching moments until I realised the code I was looking at was not the code that was being run on my instance (more specifically I was falling foul of the hardcoded user and group of "web" that was fixed in cc87c21
HI
i'm running jboos7 cookbook on centos65 and getting below error
jboss7_user[Administrator] action create
service[jboss] action nothing (skipped due to action :nothing)
service[jboss] action enable
enable
on resource 'service[jboss]'No such file or directory - /usr/sbin/update-rc.d -n -f jboss remove
102: service 'jboss' do
103: provider Chef::Provider::Service::Init::Debian
104: restart_command "/etc/init.d/jboss stop; sleep 10; nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
105: start_command "nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
106: action [ :nothing ]
107: end
service("jboss") do
provider Chef::Provider::Service::Debian
action [:nothing]
supports {:restart=>false, :reload=>false, :status=>false}
retries 0
retry_delay 2
guard_interpreter :default
service_name "jboss"
pattern "jboss"
start_command "nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
restart_command "/etc/init.d/jboss stop; sleep 10; nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
cookbook_name "jboss7"
recipe_name "default"
end
service[jboss] action restart
restart
on resource 'service[jboss]'No such file or directory - /usr/sbin/update-rc.d -n -f jboss remove
102: service 'jboss' do
103: provider Chef::Provider::Service::Init::Debian
104: restart_command "/etc/init.d/jboss stop; sleep 10; nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
105: start_command "nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
106: action [ :nothing ]
107: end
service("jboss") do
provider Chef::Provider::Service::Debian
action [:nothing]
supports {:restart=>false, :reload=>false, :status=>false}
retries 0
retry_delay 2
guard_interpreter :default
service_name "jboss"
pattern "jboss"
start_command "nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
restart_command "/etc/init.d/jboss stop; sleep 10; nohup /etc/init.d/jboss start >/dev/null 2>&1 &"
cookbook_name "jboss7"
recipe_name "default"
end
Running handlers:
[2014-11-13T19:19:23+05:30] ERROR: Running exception handlers
Running handlers complete
[2014-11-13T19:19:23+05:30] ERROR: Exception handlers complete
[2014-11-13T19:19:23+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 13 resources updated in 293.218262398 seconds
[2014-11-13T19:19:23+05:30] ERROR: Chef::Exceptions::MultipleFailures
[2014-11-13T19:19:24+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.