sainsburys / chef-websphere Goto Github PK
View Code? Open in Web Editor NEWDevelopment repository for websphere chef cookbook
Home Page: https://supermarket.chef.io/cookbooks/websphere
License: Apache License 2.0
Development repository for websphere chef cookbook
Home Page: https://supermarket.chef.io/cookbooks/websphere
License: Apache License 2.0
We should only run some steps (create profile/federate etc..) as root if necessary :
We can use the already present run_user attribute.
If we don't we have inconsistent permissions in the WAS folder
chef-websphere/libraries/websphere_base.rb
Line 204 in 77f0538
Some libraries keep saving config even when it is not required, i.e https://github.com/Sainsburys/chef-websphere/blob/master/libraries/websphere_cluster_member.rb#L44
As we only need to save the config when something happened, we should do some checks. It will help for #3
Hi,
I am from Optum global solutions and working as an IT professionals. I am middleware infrastructure engineer and currently working on websphere installation/configuration automation. I am trying to use websphere cookbook which is present in chef supermarket and git hub. Unfortunately I am getting below error while creating the websphere cluster, Could you please suggest here ?
Chef: https://supermarket.chef.io/cookbooks/websphere
Git hub: https://github.com/Sainsburys/chef-websphere
Code snippet :
Default.rb
websphere_cluster 'websphere cluster' do
cluster_name 'k1_tst_dev'
cluster_type 'APPLICATION_SERVER'
action:create
end
Note: Websphere is already installed.
Error:
Running handlers:
[2019-10-14T04:32:12-05:00] ERROR: Running exception handlers
Running handlers complete
[2019-10-14T04:32:12-05:00] ERROR: Exception handlers complete
Chef Client failed. 1 resources updated in 04 seconds
[2019-10-14T04:32:12-05:00] FATAL: Stacktrace dumped to /home/wsuser/.chef/local-mode-cache/cache/chef-stacktrace.out
[2019-10-14T04:32:12-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2019-10-14T04:32:12-05:00] FATAL: NameError: websphere_cluster[websphere cluster] (chef_iac_platform_was_base::default line 56) had an error: NameError: undefined local variable or method `cluster_name' for #<#<Class:0x0000000004f39e78>:0x0000000004260cd8>
Improve idempotency and use load_current_resource and converge_if_changed in each resource.
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.