CARVIEW |
Select Language
HTTP/2 200
date: Fri, 10 Oct 2025 22:40:37 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=85e87cc5513dd1107d099cc46115722cdca034002cbc270933c61dd6e32cca4ba%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22Kzqv1mUiOnjJO08PWu-vuWHIZvkIeCy5%22%3B%7D; HttpOnly; Path=/
cf-ray: 98c99ed7ca00a9c3-BLR
Puppet-tripwire - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modules/tripwire/manifests/init.pp
- #= Class: tripwire
- #
- # Manages tripwire
- #
- #= Usage:
- # include tripwire (in default nodes)
- #
- # Notes:
- #- Loads TWeagent rpm
- #- Copies in a chkconfig aware variation of /etc/init.d/twdaemon
- #- Runs a configuration script
- #
- class tripwire (
- $servername = '',
- $port = '',
- $password = '',
- ) {
- include stdlib
- package { 'TWeagent':
- ensure => 'installed'
- }
- exec { 'configureTripwire':
- command => "/usr/local/tripwire/te/agent/bin/twconfig postInstallConfig --server-host ${servername} --server-port ${port} --passphrase ${password}",
- unless => '/bin/grep -qF chkconfig /etc/init.d/twdaemon',
- require => Package['TWeagent'],
- }
- file { '/etc/init.d/twdaemon':
- ensure => present,
- path => '/etc/init.d/twdaemon',
- mode => '0744',
- owner => 'root',
- group => 'root',
- require => Exec['configureTripwire'],
- source => 'puppet:///modules/tripwire/chkconfigAware-twdaemon'
- }
- service { 'twdaemon':
- ensure => 'running',
- enable => true,
- hasstatus => true,
- hasrestart => true,
- require => File['/etc/init.d/twdaemon'],
- }
- $tw_servers = hiera_hash ( 'tripwire_servers', {} )
- if ! empty( $tw_servers ) {
- create_resources ( tripwire::server, $tw_servers )
- }
- }
- modules/tripwire/files/chkconfigAware-twdaemon
- #!/bin/sh
- #
- # chkconfig: 235 95 95
- # description: Tripwire daemon
- #
- /usr/local/tripwire/te/agent/bin/twdaemon "$@"
Advertisement
Add Comment
Please, Sign In to add comment
-
✅⭐ Make huge profits on trading ⭐⭐ A
JavaScript | 6 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $9OO INSTANTLY D A⭐⭐
Java | 10 sec ago | 0.10 KB
-
⭐⭐Exchange Exploit⭐⭐ E
JavaScript | 11 sec ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ O
JavaScript | 17 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ⭐⭐ 0
JavaScript | 22 sec ago | 0.24 KB
-
⭐⭐⭐Crypto Accounts⭐⭐
Java | 25 sec ago | 0.10 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 1
JavaScript | 28 sec ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ 7
JavaScript | 34 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand