Ignore:
Timestamp:
May 18, 2012, 3:25:55 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Add the shorewall plugin
  • cbusterize now uses only Net::SSH2 and supports getting files owned by root with sudo called remotely (no passwd asked)
File:
1 copied

Legend:

Unmodified
Added
Removed
  • projects/casparbuster/devel/etc/cb/plugins/shorewall.conf

    r1517 r1547  
    11#=head1 NAME
    22#
    3 # Configuration file for CasparBuster for the named plugin
     3# Configuration file for CasparBuster for the shorewall plugin
    44#
    55#=head1 SYNOPSIS
    66#
    7 # Define the main parameters for the Named plugin for CasparBuster
     7# Define the main parameters for the ShoreWall plugin for CasparBuster
    88#
    99#=head1 CONFIGURATION ITEMS
     
    2020#=cut
    2121#
    22 cbpluginfiles named = /var/lib/named/etc/named.conf|root,root,0644;/var/lib/named/etc/bind.keys|root,named,0644;/var/lib/named/etc/bogon_acl.conf|root,root,0644;/var/lib/named/etc/rndc.conf|root,named,0640;/var/lib/named/etc/rndc.key|root,named,0640;/var/lib/named/etc/trusted_networks_acl.conf|root,named,0644;/var/lib/named/etc/named.conf.flecha|root,named,0644;/var/lib/named/etc/db.*|root,named,0640
     22cbpluginfiles shorewall = /etc/shorewall/*|root,root,0600
    2323#
    2424#=item B<cbplugindirs>
    2525#
    26 # Define the list of directories to recursively copy remotely on the target machine.
     26# Define the list of directories to create remotely on the target machine.
    2727# Parameters are ';' separated.
    2828# A parameter is then '|' separated, the first part being the full path name of the file
     
    3030#
    3131#=cut
    32 cbplugindirs named = /var/lib/named/etc|root,named,0755;/var/lib/named/dev|root,root,0755;/var/lib/named/proc|root,root,0755;/var/lib/named/var/tmp|named,named,0755;/var/lib/named/var/log|named,named,0755;/var/lib/named/var/run|named,named,0755;
     32cbplugindirs shorewall = /etc/shorewall|root,root,0750
    3333#
    3434#=item B<cbplugindirsandfiles>
     
    3636# Define the list of directories to recursively copy remotely on the target machine.
    3737# Parameters are ';' separated.
    38 # A parameter is then '|' separated, the first part being the full path name of the file
     38# A parameter is then '|' separated, the first part being the full path name of the dir
    3939# and the second part being the uid, gid and mode to set on the target machine, ',' separated
    4040#
    4141#=cut
    42 cbplugindirsandfiles named =
     42cbplugindirsandfiles shorewall =
    4343#
    4444#=item B<cbpluginreload>
     
    4747#
    4848#=cut
    49 cbpluginreload named = sudo /etc/init.d/named restart
     49cbpluginreload shorewall = sudo /etc/init.d/shorewall restart
Note: See TracChangeset for help on using the changeset viewer.