Skip to content

Commit 6213bae

Browse files
committed
Fixing Issues
Fixes issue #57 by upgrading the Splunk TA Example shipped with this module Fixes issue #54 Will release to the forge today Includes pull request #56 into forge release
1 parent a300c2f commit 6213bae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+808
-900
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.7.0 - Joe Eaves <jinux@alluha.net>, Tim Hartmann <tfhartmann@gmail.com>
2+
* Fixes issue #54 by adding configure_outputs parameter
3+
* Fixed invalid puppet variable $SPLUNKHOME
4+
* Fixes issus #57 by upgrading Splunk TA to version 5.1.2
15
1.6.1 - Rob Ruma
26
* Fixed https://github.com/huit/puppet-splunk/issues/51
37
* Splunk upgrade prompts during Puppet run

files/ta/Splunk_TA_nix/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Unix Add-on
22
----------------------------------------
33
Author: Splunk
44
Author: Splunk
5-
Version/Date: 5.0.0/09-30-2013
5+
Version/Date: 5.1.2/2015-04-01
66
Has index-time operations: true, this TA must be deployed on indexers
77
Supported product(s):
88
* DHCPD (DHCP server)
@@ -22,4 +22,4 @@ Using this Add-on:
2222
http://docs.splunk.com/Documentation/UnixApp/latest/User/AbouttheSplunkTechnicalAdd-on(TA)forUnixandLinux
2323

2424

25-
Copyright (C) 2005-2013 Splunk Inc. All Rights Reserved.
25+
Copyright (C) 2005-2015 Splunk Inc. All Rights Reserved.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import json
2+
import sys
3+
4+
import cherrypy
5+
import splunk
6+
import splunk.appserver.mrsparkle.controllers as controllers
7+
from splunk.appserver.mrsparkle.lib.decorators import expose_page
8+
9+
10+
# JIRA: Must use private API (splunkweb controllers) for server-side
11+
# endpoint due to lack of public API. (SPL-90798)
12+
class SetupService(controllers.BaseController):
13+
@expose_page(must_login=True, methods=['GET'])
14+
def is_unix(self, **kwargs):
15+
"""
16+
Returns whether current OS is a recognized Unix.
17+
"""
18+
19+
is_recognized_unix = not sys.platform.startswith('win')
20+
21+
cherrypy.response.headers['Content-Type'] = 'text/json'
22+
return json.dumps(is_recognized_unix)

files/ta/Splunk_TA_nix/appserver/controllers/taunixsetup.py

Lines changed: 0 additions & 189 deletions
This file was deleted.

files/ta/Splunk_TA_nix/appserver/modules/TA_Unix_FTR/TA_Unix_FTR.conf

Lines changed: 0 additions & 5 deletions
This file was deleted.

files/ta/Splunk_TA_nix/appserver/modules/TA_Unix_FTR/TA_Unix_FTR.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

files/ta/Splunk_TA_nix/appserver/modules/TA_Unix_FTR/TA_Unix_FTR.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

files/ta/Splunk_TA_nix/appserver/modules/TA_Unix_FTR/TA_Unix_FTR.js

Lines changed: 0 additions & 49 deletions
This file was deleted.

files/ta/Splunk_TA_nix/appserver/modules/TA_Unix_FTR/TA_Unix_FTR.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

files/ta/Splunk_TA_nix/appserver/modules/TA_Unix_Iframe/TA_Unix_Iframe.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)