Skip to content

Commit 54686a6

Browse files
committed
Merge pull request #40 from puppetlabs-operations/fix_file_mode
Change file mode to string.
2 parents 6d3b800 + f00fe77 commit 54686a6

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

README.markdown

+2-6
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,14 @@ Splunk Universal Forwarder installation media. Installation media will need to
2727
be aquired seperately, and the module configured to use it. Users can use yum
2828
or apt to install these components if they're self-hosted.
2929

30-
31-
If applicable, this section should have a brief description of the technology the module integrates with and what that integration enables. This section should answer the questions: "What does this module *do*?" and "Why would I use it?"
32-
33-
3430
## Setup
3531

3632
### What splunk affects
3733

3834
* Installs the Splunk/Forwarder package and manages their config files. It does not purge them by default.
3935
* The module will set up both Splunk and Splunkforwarder to run as the 'root' user on POSIX platforms.
4036

41-
### Setup Requirements **OPTIONAL**
37+
### Setup Requirements
4238

4339
To begin using this module, use the Puppet Module Tool (PMT) from the command
4440
line to install this module:
@@ -190,6 +186,6 @@ This virtual resource will get collected by the `::splunk::forwarder` class if i
190186

191187
TBD
192188

193-
## Release Notes/Contributors/Etc **Optional**
189+
## Release Notes/Contributors/Etc
194190

195191
TBD

manifests/forwarder.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
File {
155155
owner => $splunk_user,
156156
group => $splunk_user,
157-
mode => 644,
157+
mode => '0644',
158158
}
159159

160160
file { "/opt/splunkforwarder/etc/system/local/inputs.conf":

manifests/init.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
File {
249249
owner => $splunk_user,
250250
group => $splunk_user,
251-
mode => 600,
251+
mode => '0600',
252252
}
253253

254254
file { "/opt/splunk/etc/system/local/authentication.conf":

0 commit comments

Comments
 (0)