Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (23 loc) · 902 Bytes

DEVELOPING.md

File metadata and controls

28 lines (23 loc) · 902 Bytes

Developing addon builders

In order to load this module properly into the Splunk Add-On builder for development, the following needs to happen:

  • Checkout the branch you want to work on
  • tar.gz the directory
  • Go to the splunk addon builder
  • Delete a previous version of the add-on if it exists
  • Import this version
$ git checkout -b 'my working branch'
$ tar -C .. --exclude=".git" --exclude="tmpdir" -czvf tmpdir/SplunkTAforPuppetEnterprise.tar.gz SplunkTAforPuppetEnterprise

To add your finished work back to the repo:

  • Export the build from the Splunk Add-On tool
  • Move the downloaded tar.gz to tmpdir
  • Expand the export the export in tmpdir
  • sync the local repo with the tmpdir contents
  • proceed with git commits as needed, etc
$ cd tmpdir
$ tar xzvf SplunkTAforPuppetEnterprise_2_0_1_export.tgz
$ cd ..
$ rsync -vr tmp/SplunkTAforPuppetEnterprise_2_0_1_export/* ./