puppetlabs / puppetlabs-ibm_installation_manager Goto Github PK
View Code? Open in Web Editor NEWManages the installation of IBM Installation Manager
License: Apache License 2.0
Manages the installation of IBM Installation Manager
License: Apache License 2.0
This doesn't work on my machine, Was there supposed to be a ps fact?
I tried to run puppet agent -t --noop to fetch ibm_installation _manager catalog from master. but i faced below errors. Can some one help to resolve the issue?
Error: Could not autoload puppet/provider/exec/windows: can't convert Hash into Integer
Error: Could not autoload puppet/type/exec: Could not autoload puppet/provider/exec/windows: can't convert Hash into Integer
Error: Could not retrieve catalog from remote server: Could not intern from text/pson: Could not autoload puppet/type/exec: Could not autoload puppet/provider/exec/windows: can't convert Hash into Integer
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
I get this error whenever I run this code and all other instances of ibm_pkg. Did this ever work? Seems like it should.
ibm_pkg { 'com.ibm.websphere.NDTRIAL.v85':
ensure => 'present',
package => 'com.ibm.websphere.NDTRIAL.v85',
version => '8.5.5000.20130514_1044',
target => '/opt/IBM/WebSphere/AppServer',
repository => '/opt/IBM/repository.config',
imcl_path => '/opt/Apps/WebSphere/was8.5/product/eclipse/tools/imcl'
}
Debug: Ibm_pkg[com.ibm.websphere.NDTRIAL.v85](provider=imcl): Executing '' to find processes that match /opt/IBM/WebSphere/AppServer
Error: Could not set 'present' on ensure: no implicit conversion of nil into String at 11:/etc/puppet/modules/websphere_instance/tests/init.pp
Error: Could not set 'present' on ensure: no implicit conversion of nil into String at 11:/etc/puppet/modules/websphere_instance/tests/init.pp
Wrapped exception:
no implicit conversion of nil into String
Error: /Stage[main]/Main/Ibm_pkg[com.ibm.websphere.NDTRIAL.v85]/ensure: change from absent to present failed: Could not set 'present' on ensure: no implicit conversion of nil into String at 11:/etc/puppet/modules/websphere_instance/tests/init.pp
There are 3 modes that IIM can be installed in: admin, nonAdmin and group. This module only works for admin.
I've worked out how to fix this but I'm new to puppet and git (double whammy) and I haven't worked out how to connect my local git to github through a corporate firewall yet let alone fork/pull properly, so hopefully the attached file will help - it adds a new parameter "install_mode" and then sets the correct command to call.
Unless is pretty cool, but this is a bad code smell. Consider just using normal if/else conditions so the code is more readable if your going to have a else in your unless block.
unless resource[:imcl_path]
path = XPath.first(doc, '//installInfo/location[@id="IBM Installation Manager"]/@path')
imcl = path.to_s + '/tools/imcl'
unless imcl
raise Puppet::Error, "Could not discover path to imcl"
end
else
imcl = resource[:imcl_path]
end
The symbolic link is getting overridden by ibm_installation_manager code and the link is not created successfully.
I am doing this because I wish to have the im_installation_manager logs and information to be on a different file system than the /home/wasadmin file system.
Can this use case be addressed in the code , Please let me know
Thanks
Venkatesh
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.