-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Fix issues 230, 232, 235, and 249 #250
Open
nick-markowski
wants to merge
2
commits into
voxpupuli:master
Choose a base branch
from
nick-markowski:issue_230_232_235_249
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
splunk::enterprise::manage_password: false | ||
splunk::enterprise::seed_password: false | ||
splunk::enterprise::reset_seeded_password: false | ||
splunk::enterprise::secret: 'hhy9DOGqli4.aZWCuGvz8stcqT2/OSJUZuyWHKc4wnJtQ6IZu2bfjeElgYmGHN9RWIT3zs5hRJcX1wGerpMNObWhFue78jZMALs3c3Mzc6CzM98/yGYdfcvWMo1HRdKn82LVeBJI5dNznlZWfzg6xdywWbeUVQZcOZtODi10hdxSJ4I3wmCv0nmkSWMVOEKHxti6QLgjfuj/MOoh8.2pM0/CqF5u6ORAzqFZ8Qf3c27uVEahy7ShxSv2K4K41z' | ||
splunk::enterprise::password_hash: '$6$pIE/xAyP9mvBaewv$4GYFxC0SqonT6/x8qGcZXVCRLUVKODj9drDjdu/JJQ/Iw0Gg.aTkFzCjNAbaK4zcCHbphFz1g1HK18Z2bI92M0' | ||
splunk::enterprise::password_content: ":admin:${password_hash}::Administrator:admin:[email protected]::" | ||
splunk::enterprise::manage_package_source: true | ||
splunk::enterprise::src_root: 'https://download.splunk.com' | ||
splunk::enterprise::service_ensure: 'running' | ||
splunk::enterprise::splunkd_port: 8089 | ||
splunk::enterprise::logging_port: 9997 | ||
splunk::enterprise::web_httpport: 8000 | ||
splunk::enterprise::server: 'splunk' | ||
splunk::enterprise::boot_start: true | ||
splunk::enterprise::use_default_config: true | ||
splunk::enterprise::input_default_host: "${facts.fqdn}" | ||
splunk::enterprise::input_connection_host: 'dns' | ||
splunk::enterprise::splunkd_listen: '127.0.0.1' | ||
splunk::enterprise::purge_alert_actions: false | ||
splunk::enterprise::purge_authentication: false | ||
splunk::enterprise::purge_authorize: false | ||
splunk::enterprise::purge_deploymentclient: false | ||
splunk::enterprise::purge_distsearch: false | ||
splunk::enterprise::purge_indexes: false | ||
splunk::enterprise::purge_inputs: false | ||
splunk::enterprise::purge_limits: false | ||
splunk::enterprise::purge_outputs: false | ||
splunk::enterprise::purge_props: false | ||
splunk::enterprise::purge_server: false | ||
splunk::enterprise::purge_serverclass: false | ||
splunk::enterprise::purge_transforms: false | ||
splunk::enterprise::purge_uiprefs: false | ||
splunk::enterprise::purge_web: false | ||
|
||
splunk::forwarder::server: 'splunk' | ||
splunk::forwarder::service_ensure: 'running' | ||
splunk::forwarder::manage_package_source: true | ||
splunk::forwarder::src_root: 'https://download.splunk.com' | ||
splunk::forwarder::boot_start: true | ||
splunk::forwarder::use_default_config: true | ||
splunk::forwarder::splunkd_listen: '127.0.0.1' | ||
splunk::forwarder::splunkd_port: 8089 | ||
splunk::forwarder::logging_port: 9997 | ||
splunk::forwarder::purge_deploymentclient: false | ||
splunk::forwarder::purge_outputs: false | ||
splunk::forwarder::purge_inputs: false | ||
splunk::forwarder::purge_props: false | ||
splunk::forwarder::purge_transforms: false | ||
splunk::forwarder::purge_web: false | ||
splunk::forwarder::manage_password: false | ||
splunk::forwarder::seed_password: false | ||
splunk::forwarder::reset_seeded_password: false | ||
splunk::forwarder::secret: 'hhy9DOGqli4.aZWCuGvz8stcqT2/OSJUZuyWHKc4wnJtQ6IZu2bfjeElgYmGHN9RWIT3zs5hRJcX1wGerpMNObWhFue78jZMALs3c3Mzc6CzM98/yGYdfcvWMo1HRdKn82LVeBJI5dNznlZWfzg6xdywWbeUVQZcOZtODi10hdxSJ4I3wmCv0nmkSWMVOEKHxti6QLgjfuj/MOoh8.2pM0/CqF5u6ORAzqFZ8Qf3c27uVEahy7ShxSv2K4K41z' | ||
splunk::forwarder::password_hash: '$6$pIE/xAyP9mvBaewv$4GYFxC0SqonT6/x8qGcZXVCRLUVKODj9drDjdu/JJQ/Iw0Gg.aTkFzCjNAbaK4zcCHbphFz1g1HK18Z2bI92M0' | ||
splunk::forwarder::password_content: ":admin:${password_hash}::Administrator:admin:[email protected]::" | ||
splunk::forwarder::addons: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
|
||
splunk::enterprise::package_name: 'splunk' | ||
splunk::enterprise::splunk_user: 'root' | ||
splunk::enterprise::staging_dir: '/opt/staging/splunk' | ||
splunk::enterprise::homedir: '/opt/splunk' | ||
splunk::enterprise::path_delimiter: '/' | ||
splunk::enterprise::seed_config_file: "%{lookup('splunk::enterprise::homedir')}/etc/system/local/user-seed.conf" | ||
splunk::enterprise::password_config_file: "%{lookup('splunk::enterprise::homedir')}/etc/passwd" | ||
splunk::enterprise::secret_file: "%{lookup('splunk::enterprise::homedir')}/etc/splunk.secret" | ||
splunk::enterprise::confdir: "%{lookup('splunk::enterprise::homedir')}/etc" | ||
splunk::enterprise::src_subdir: 'linux' | ||
splunk::enterprise::install_options: [] | ||
|
||
splunk::forwarder::package_name: 'splunkforwarder' | ||
splunk::forwarder::staging_dir: '/opt/staging/splunk' | ||
splunk::forwarder::path_delimiter: '/' | ||
splunk::forwarder::homedir: '/opt/splunkforwarder' | ||
splunk::forwarder::confdir: "%{lookup('splunk::forwarder::homedir')}/etc" | ||
splunk::forwarder::src_subdir: 'linux' | ||
splunk::forwarder::install_options: [] | ||
splunk::forwarder::splunk_user: 'root' | ||
splunk::forwarder::password_config_file: "%{lookup('splunk::forwarder::homedir')}/etc/passwd" | ||
splunk::forwarder::seed_config_file: "%{lookup('splunk::forwarder::homedir')}/etc/system/local/user-seed.conf" | ||
splunk::forwarder::secret_file: "%{lookup('splunk::forwarder::homedir')}/etc/splunk.secret" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
|
||
splunk::enterprise::package_name: 'splunk' | ||
splunk::enterprise::splunk_user: 'root' | ||
splunk::enterprise::staging_dir: '/opt/staging/splunk' | ||
splunk::enterprise::homedir: '/opt/splunk' | ||
splunk::enterprise::path_delimiter: '/' | ||
splunk::enterprise::seed_config_file: "%{lookup('splunk::enterprise::homedir')}/etc/system/local/user-seed.conf" | ||
splunk::enterprise::password_config_file: "%{lookup('splunk::enterprise::homedir')}/etc/passwd" | ||
splunk::enterprise::secret_file: "%{lookup('splunk::enterprise::homedir')}/etc/splunk.secret" | ||
splunk::enterprise::confdir: "%{lookup('splunk::enterprise::homedir')}/etc" | ||
splunk::enterprise::src_subdir: 'solaris' | ||
splunk::enterprise::install_options: [] | ||
|
||
splunk::forwarder::package_name: 'splunkforwarder' | ||
splunk::forwarder::staging_dir: '/opt/staging/splunk' | ||
splunk::forwarder::path_delimiter: '/' | ||
splunk::forwarder::homedir: '/opt/splunkforwarder' | ||
splunk::forwarder::confdir: "%{lookup('splunk::forwarder::homedir')}/etc" | ||
splunk::forwarder::src_subdir: 'solaris' | ||
splunk::forwarder::install_options: [] | ||
splunk::forwarder::splunk_user: 'root' | ||
splunk::forwarder::password_config_file: "%{lookup('splunk::forwarder::homedir')}/etc/passwd" | ||
splunk::forwarder::seed_config_file: "%{lookup('splunk::forwarder::homedir')}/etc/system/local/user-seed.conf" | ||
splunk::forwarder::secret_file: "%{lookup('splunk::forwarder::homedir')}/etc/splunk.secret" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
|
||
splunk::enterprise::package_name: 'Splunk Enterpirse' | ||
splunk::enterprise::splunk_user: 'Administrator' | ||
splunk::enterprise::staging_dir: "%{facts.archive_windir}\\splunk" | ||
splunk::enterprise::homedir: 'C:\\Program Files\\Splunk' | ||
splunk::enterprise::path_delimiter: '\\' | ||
splunk::enterprise::seed_config_file: "%{lookup('splunk::enterprise::homedir')}\\etc\\system\\local\\user-seed.conf" | ||
splunk::enterprise::password_config_file: "%{lookup('splunk::enterprise::homedir')}\\etc\\passwd" | ||
splunk::enterprise::confdir: "%{lookup('splunk::enterprise::homedir')}\\etc" | ||
splunk::enterprise::src_subdir: 'windows' | ||
splunk::enterprise::install_options: [ | ||
{INSTALLDIR: "%{lookup('splunk::enterprise::homedir')}"}, | ||
{SPLUNKD_PORT: "%{lookup('splunk::enterprise::splunkd_port')}"}, | ||
'ARGEETOLICENSE=Yes', | ||
'LAUNCHSPLUNK=0'] | ||
|
||
splunk::forwarder::splunk_user: 'Administrator' | ||
splunk::forwarder::package_name: 'UniversalForwarder' | ||
splunk::forwarder::staging_dir: "%{facts.archive_windir}\\splunk" | ||
splunk::forwarder::homedir: 'C:\\Program Files\\SplunkUniversalForwarder' | ||
splunk::forwarder::confdir: "%{lookup('splunk::forwarder::homedir')}\\etc" | ||
splunk::forwarder::src_subdir: 'windows' | ||
splunk::forwarder::path_delimiter: '\\' | ||
splunk::forwarder::password_config_file: "%{lookup('splunk::forwarder::homedir')}\\etc\\passwd" | ||
splunk::forwarder::seed_config_file: "%{lookup('splunk::forwarder::homedir')}\\etc\\system\\local\\user-seed.conf" | ||
splunk::forwarder::install_options: [ | ||
{INSTALLDIR: "%{lookup('splunk::forwarder::homedir')}"}, | ||
'AGREETOLICENSE=Yes', | ||
'LAUNCHSPLUNK=0', | ||
'SERVICESTARTTYPE=auto', | ||
'WINEVENTLOG_APP_ENABLE=1', | ||
'WINEVENTLOG_SEC_ENABLE=1', | ||
'WINEVENTLOG_SYS_ENABLE=1', | ||
'WINEVENTLOG_FWD_ENABLE=1', | ||
'WINEVENTLOG_SET_ENABLE=1', | ||
'ENABLEADMON=1'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
|
||
splunk::enterprise::package_provider: 'dpkg' | ||
|
||
splunk::forwarder::package_provider: 'dpkg' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
|
||
splunk::enterprise::package_provider: 'rpm' | ||
|
||
splunk::forwarder::package_provider: 'rpm' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
|
||
splunk::enterprise::package_provider: 'sun' | ||
|
||
splunk::forwarder::package_provider: 'sun' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
|
||
splunk::enterprise::package_provider: 'windows' | ||
|
||
splunk::forwarder::package_provider: 'windows' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
version: 5 | ||
|
||
defaults: | ||
datadir: data | ||
data_hash: yaml_data | ||
|
||
hierarchy: | ||
- name: "OS family" | ||
path: "os/%{facts.os.family}.yaml" | ||
|
||
- name: "Kernel" | ||
path: "kernel/%{facts.kernel}.yaml" | ||
|
||
- name: "common" | ||
path: "common.yaml" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does embedding variables in this way work hiera the same as it did with manifest interpolation? Documentation seems to indicate, no.
https://puppet.com/docs/puppet/latest/hiera_merging.html#the-lookup-and-hiera-function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corroborated by the fact that this was caught in other data files, e.g. Linux.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this should certainly be a lookup