Method: CloudFlock::App::Common::Exclusions::Unix#unix_exclusions

Defined in:
lib/cloudflock/app/common/exclusions/unix.rb

#unix_exclusionsObject

Public: Exclude paths which are expected to be appropriate for all Unix-like hosts.

Returns nothing.



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/cloudflock/app/common/exclusions/unix.rb', line 11

def unix_exclusions
  exclude '/boot'
  exclude '/dev'
  exclude '/etc/fstab'
  exclude '/etc/hosts'
  exclude '/etc/init.d/nova-agent*'
  exclude '/etc/driveclient'
  exclude '/etc/initramfs-tools'
  exclude '/etc/issue'
  exclude '/etc/issue.net'
  exclude '/etc/lvm'
  exclude '/etc/mdadm*'
  exclude '/etc/mtab'
  exclude '/etc/mod*'
  exclude '/etc/network/'
  exclude '/etc/network.d/*'
  exclude '/etc/networks'
  exclude '/etc/rc3.d/S99Galaxy'
  exclude '/etc/resolv.conf'
  exclude '/etc/sysconfig/network'
  exclude '/etc/sysconfig/network-scripts/*'
  exclude '/etc/system-release'
  exclude '/etc/system-release-cpe'
  exclude '/etc/udev'
  exclude '/etc/prelink*'
  exclude '/etc/rc.conf'
  exclude '/etc/conf.d/net'
  exclude '/lib/init/rw'
  exclude '/lib/firmware'
  exclude '/lib/modules'
  exclude '/lib/udev'
  exclude '/root/.rackspace'
  exclude '/mnt'
  exclude '/net'
  exclude '/opt/galaxy/'
  exclude '/proc'
  exclude '/sys'
  exclude '/tmp'
  exclude '/usr/sbin/nova-agent*'
  exclude '/usr/share/initramfs-tools'
  exclude '/usr/share/nova-agent*'
  exclude '/var/cache/yum/*'
  exclude '/var/lib/initramfs-tools'
  exclude '/var/lock'
  exclude '/var/log'
end