Ask Your Question

Managing Tripwire Enterprise?

asked 2014-01-23 12:54:47 -0600

mlanghor gravatar image

updated 2014-01-23 17:07:05 -0600

llowder gravatar image

I've only been using Puppet in a lab setting for a few months, one "checkbox item" on a migration from our current tool is installation & managing of Tripwire Enterprise on RHEL

The installer I have is a binary (te_agent.bin), that along with some command line options installs an rpm. This te_agent.bin is a script with the archive embedded. I can find and alter if needed the files after ok, but not sure how to handle the ensure present/installation via puppet.

Thinking it from my limited experience, I could do something like looking for a file/dir ... (more)

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2015-10-30 10:24:42 -0600

The amusing thing is that BIN file contains, in the case of RHEL/CentOS, an RPM that the installer script installs. I was able to extract the RPM from the BIN file and then create an exec resource to run a configuration command that is necessary to get the client connected to the server.

Anyone want details for RHEL/CentOS ?

edit flag offensive delete link more


That would be great. I extracted the rpm's and attempted to do the same but the result wasn't responding properly from the manager.

mlanghor gravatar imagemlanghor ( 2015-10-30 13:46:43 -0600 )edit

Here you go : Two bits: init.pp and a replacement for the init script as the one Tripwire installs does not have the chkconfig line in it.

LinuxDan gravatar imageLinuxDan ( 2015-10-31 10:52:18 -0600 )edit

answered 2014-01-23 17:13:03 -0600

llowder gravatar image

You have a couple of different options.

You can use a file resource to serve the file to the node, then after that use an exec resource to run the script as with the needed command line options. This is doable, quick and easy, but will not scale well and will not be too easy to maintain.

What would be best is to build a real package, and for that you can use a tool like fpm and build a straight package. At this point, you can host the package in your local repo and then just use a package ... (more)

edit flag offensive delete link more

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


Asked: 2014-01-23 12:54:47 -0600

Seen: 822 times

Last updated: Oct 30 '15