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*