Ask Your Question
0

how to execute wlst file (weblogic) by puppet script ?

asked 2016-06-27 20:21:12 -0500

arjun gravatar image

how to execute wlst file (weblogic) by puppet script ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-07-01 15:58:59 -0500

Nizen gravatar image

You can execute anything that you can do on a command line.

exec { 'wlst-command':
  command => 'command-line command',
  path => '/usr/bin/command',
}
edit flag offensive delete link more

Comments

I would look into the modules provided by https://forge.puppet.com/biemond for solid weblogic patterns, even if you aren't using the modules directly. You also want to typically use either unless/onlyif or refreshonly=>true to make sure your exec doesn't happen every puppet run

DarylW gravatar imageDarylW ( 2016-07-02 23:42:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-27 20:21:12 -0500

Seen: 47 times

Last updated: Jul 01 '16