Report abuse

1
2
3
4
5
6
7
8
9
10
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
    ##- base splunk 
    file { splunk_etc:
        path => "/opt/splunk/etc",        
        owner => "root", 
        group => "root", 
        mode  => 755,
        ensure => directory,         
        recurse => true,
        force => true,
        source => "puppet:///transfer/xxxxxxx/splunk2/etc",        
        notify => Service["splunk"]
    }



(root@s2hb-net-adm3) etc > pwd
/puppet/transfer/xxxxxxx/splunk2/etc
(root@s2hb-net-adm3) etc > ls -lR
.:
total 16
drwxr-xr-x 5 root root 4096 Dec 17 21:24 apps/
drwxr-xr-x 2 root root 4096 Dec 17 21:13 auth/
-rwxr-xr-x 1 root root   76 Dec 17 21:13 passwd*
-rwxr-xr-x 1 root root  361 Dec 17 20:57 splunk.license*

./apps:
total 12
drwxr-xr-x 3 root root 4096 Dec 17 21:23 base_netops/
drwxr-xr-x 6 root root 4096 Dec 17 21:11 sample_app/
drwxr-xr-x 4 root root 4096 Dec 17 20:46 splunkd_conf/

./apps/base_netops:
total 4
drwxr-xr-x 2 root root 4096 Dec 17 21:23 local/

./apps/base_netops/local:
total 4
-rwxr-xr-x 1 root root 594 Dec 17 21:23 inputs.conf*

./apps/sample_app:
total 16
drwxr-xr-x 2 root root 4096 Dec 17 21:11 default/
drwxr-xr-x 2 root root 4096 Dec 17 21:10 local/
drwxr-xr-x 2 root root 4096 Dec 17 21:12 logs/
drwxr-xr-x 2 root root 4096 Dec 17 21:11 metadata/

./apps/sample_app/default:
total 16
-rwxr-xr-x 1 root root  76 Dec 17 21:11 app.conf*
-rwxr-xr-x 1 root root 164 Dec 17 21:11 indexes.conf*
-rwxr-xr-x 1 root root 120 Dec 17 21:11 inputs.conf*
-rwxr-xr-x 1 root root  92 Dec 17 21:11 props.conf*

./apps/sample_app/local:
total 4
-rwxr-xr-x 1 root root 27 Dec 17 21:10 app.conf*

./apps/sample_app/logs:
total 0

./apps/sample_app/metadata:
total 4
-rwxr-xr-x 1 root root 101 Dec 17 21:11 default.meta*

./apps/splunkd_conf:
total 8
drwxr-xr-x 2 root root 4096 Dec 17 20:46 local/
drwxr-xr-x 2 root root 4096 Dec 17 20:46 metadata/

./apps/splunkd_conf/local:
total 4
-rwxr-xr-x 1 root root 51 Dec 17 20:46 server.conf*

./apps/splunkd_conf/metadata:
total 4
-rwxr-xr-x 1 root root 19 Dec 17 20:46 local.meta*

./auth:
total 4
-rwxr-xr-x 1 root root 255 Dec 17 21:13 splunk.secret*