GithubHelp home page GithubHelp logo

puppetlabs / puppetlabs-ibm_installation_manager Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 35.0 402 KB

Manages the installation of IBM Installation Manager

License: Apache License 2.0

Ruby 85.68% Puppet 13.91% Dockerfile 0.40%
module unsupported

puppetlabs-ibm_installation_manager's People

Contributors

adrianiurca avatar bfekete avatar bmjen avatar chelnak avatar clairecadman avatar daianamezdrea avatar david22swan avatar davidmalloncares avatar davids avatar disha-maker avatar eimlav avatar eputnam avatar hail9000 avatar hunner avatar jonnytdevops avatar joshbeard avatar jpogran avatar lavinia-dan avatar lionce avatar lukasaud avatar michaeltlombardi avatar mwaggett avatar petems avatar phongdly avatar pmcmaw avatar sanfrancrisko avatar sarameisburger avatar sheenaajay avatar tphoney avatar witsec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

puppetlabs-ibm_installation_manager's Issues

Error: Could not autoload puppet/provider/exec/windows: can't convert Hash into Integer

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

can't execute command

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

Does work with user or group mode

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.

init.pp.txt

invalid use case of unless

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

Handling symbolic links for wasadmin home directory


when I am executing the below code

exec { 'Link wasinstall_var': this is managed by ibm installation manger of puppet module

command => 'mv /home/wasadmin/var /opt/ibm/was/InstallationManager &&

ln -s /opt/ibm/was/InstallationManager/var /home/wasadmin/var' ,

path => '/bin',

unless => 'test -L /home/wasadmin/var',

}

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.