Minor bugfix release
- #59 - Fixed missing relationship between
Splunk::Addon
defined types and the package resource that creates the parent directory that is required.
Minor bugfix release
- #57 - Added refresh relationship between
Splunk::Addon
defined resources and the splunk service
This module has been migrated from puppetlabs/splunk
and is now maintained under the Vox Pupuli namespace as of this release.
This major release includes a major internal refactoring and code optimizations around the splunk types and providers as well as changes to how resource purging is handled. This release should be mostly backwardly compatible with the only notable API change being the title_patterns parsing of resource titles and namevar differences.
See: voxpupuli#49
-
section
andsetting
are composite namevars. This also fixes idempotency issues with duplicate section/setting pairs. -
The resource title is parsed for the title pattern "section/setting" allowing for shorter resource declarations. The new title patterns match
/^([^\/]*)$/
as "section" or/^(.*)\/(.*)$/
as "section/setting" -
Purging is now done from the
splunk_config
type. Previouslyresources
resource was used, but this was flawed since the providers cannot support aninstances
method and have the ability to change the location of the config files. -
Purging now enabled for all forwarder types
-
forwarder_confdir
andserver_confdir
are now relative to./etc
not./etc/system/local
meaning config files can be managed outside of./etc/system/local
-
(internal) Types use a kind of mixin pattern provided by
PuppetX::Puppetlabs::Splunk::Type.clone_type
so the parameters, properties and methods of the types are centrally managed - but you can still add additional ones, or documentation, to individual types. -
(internal) Providers have been simplified a bit, they are only responsible for defining what their filename is, and they inherit from
Puppet::Type.type(:ini_file).provider(:splunk)
where generic stuff around file_path is set (bysplunk_config
). This then inturn inherits from the:ini_file
provider inpuppetlabs-inifile
This major release includes new features, types and providers, as well as various bugfixes. This release introduces some backwards incompatibility.
- This release features an update to the build and version defaults to point to the latest splunk releases. This will cause installations that have unspecified or using defaults for build and version parameters to be forced into a package update.
- Adds tags to resources created by
splunk::forwarder
so they can be easily collected. - Adds ability to set
ensure => latest
on forwarder package. - Allows setting
ensure
on server package. - Exposes splunk forwarder windows install options.
- Adds ability to manage Technology Addons for splunk.
- Adds
splunk_server
type and provider. - Add
splunk_authentication
type and provider. - Add
splunk_limits
type and provider. - Add
splunk_web
type and provider. - Add
splunk_authorize
type and provider. - Add
indexes
type and provider. - Add
distsearch
type and provider. - Adds the splunkforwarder_web type and provider.
- Adds the ability to run Splunk as a non-root user on posix systems.
- Adds purging for all the new Splunk types.
- Fixes a bug where
$staged_package
could be undef in$pkg_path_parts
. - Fixes the dependencies on Exec and File creations.
- Adds conditional logic so you don't have to use
puppet-staging
. - Change the file mode parameter in the forwarder.pp/init.pp files to use a string instead of an integer.
- Fixes bug where the $splunk_user variable was referenced but undeclared for this repo.
- Update the build and version to correctly reference the most recent values.
- The $staged_package variable was referenced before declaration.
- Removes the path parameter from the enable_splunk and enable_splunkforwarder execs because it causes issues on platforms that use the systemd service provider. The resulting init script that the exec generates will not get loaded by the systemd-sysv-generate module.
- Fixes an issue where the splunkweb Service would change from 'stopped' to 'running' on every Puppet run. The pattern for discovering the running service had an incorrect regex.
##2015-09-08 - Release 3.2.1
This release fixes compatibility issues with Puppet 4 and the future parser.
- (MODULES-2448) Collectors with arrays do not work well with Puppet 4 and the future parser
This release adds the ability to install from package repos, add authentication for forwarders, and customize forwarder inputs & outputs.
- Class
splunk::password
for managing passwords - Class
splunk
pkg_provider attribute for using apt/yum repos. - Define
splunk::forwarder
parameters for customizing the inputs/outputs
This release fixes a bad checksum for the metadata.json file and also cleans up some lint errors. It also adds missing parameters in params.pp
for Solaris sparc.
For a current list of features please see the README.