Puppet Class: profile::rancid

Defined in:
modules/profile/manifests/rancid.pp

Overview

Really Awful Notorious CIsco config Differ

Parameters:

  • active_server (Any) (defaults to: hiera('netmon_server'))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'modules/profile/manifests/rancid.pp', line 2

class profile::rancid (
    $active_server = hiera('netmon_server')
){

    class { '::rancid':
        active_server => $active_server,
    }

    backup::set { 'rancid': }

    rsync::quickdatacopy { 'var-lib-rancid':
      ensure      => present,
      auto_sync   => false,
      source_host => 'netmon2001.wikimedia.org',
      dest_host   => 'netmon1002.wikimedia.org',
      module_path => '/var/lib/rancid',
    }
}