-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
we shall see
- Loading branch information
nate st. germain
committed
Oct 16, 2019
1 parent
380ba09
commit 3edd43c
Showing
6 changed files
with
59 additions
and
21 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
.bundle | ||
.kitchen.local.yml | ||
.librarian/ | ||
*.swp | ||
*.orig | ||
*.log | ||
*.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 |
---|---|---|
|
@@ -54,10 +54,26 @@ | |
# Ruleset(s) to apply to host. | ||
# type: array | ||
# | ||
# [*tmpdir*] | ||
# Used to download Windows agent MSI | ||
# type: string | ||
# | ||
# [*ts_hostname*] | ||
# Hostname as reported to Threat Stack. | ||
# type: string | ||
# | ||
# [*windows_download_url*] | ||
# Windows MSI download url | ||
# type: string | ||
# | ||
# [*windows_install_options*] | ||
# Windows MSI install options | ||
# type: array | ||
# | ||
# [*windows_ts_package*] | ||
# Windows MSI package name | ||
# type: string | ||
# | ||
# === Examples | ||
# | ||
# Standard usage: | ||
|
@@ -78,25 +94,31 @@ | |
# | ||
# Pete Cheslock <[email protected]> | ||
# Tom McLaughlin <[email protected]> | ||
# Nate St. Germain <[email protected]> | ||
# | ||
# === Copyright | ||
# | ||
# Copyright 2016 Threat Stack, Inc. | ||
# Copyright 2019 Threat Stack, Inc. | ||
# | ||
class threatstack ( | ||
$deploy_key = undef, | ||
$package_version = $::threatstack::params::package_version, | ||
$configure_agent = true, | ||
$extra_args = $::threatstack::params::extra_args, | ||
$agent_config_args = undef, | ||
$repo_class = $::threatstack::params::repo_class, | ||
$repo_url = $::threatstack::params::repo_url, | ||
$gpg_key = $::threatstack::params::gpg_key, | ||
$rulesets = $::threatstack::params::rulesets, | ||
$confdir = $::threatstack::params::confdir, | ||
$ts_hostname = $::fqdn, | ||
$disable_auditd = $::threatstack::params::disable_auditd, | ||
$disable_auditd_cmd = $::threatstack::params::disable_auditd_cmd | ||
$deploy_key = undef, | ||
$package_version = $::threatstack::params::package_version, | ||
$configure_agent = true, | ||
$extra_args = $::threatstack::params::extra_args, | ||
$agent_config_args = undef, | ||
$repo_class = $::threatstack::params::repo_class, | ||
$repo_url = $::threatstack::params::repo_url, | ||
$gpg_key = $::threatstack::params::gpg_key, | ||
$rulesets = $::threatstack::params::rulesets, | ||
$confdir = $::threatstack::params::confdir, | ||
$ts_hostname = $::fqdn, | ||
$disable_auditd = $::threatstack::params::disable_auditd, | ||
$disable_auditd_cmd = $::threatstack::params::disable_auditd_cmd, | ||
$tmpdir = $::threatstack::params::tmpdir, | ||
$windows_download_url = $::threatstack::params::download_url, | ||
$windows_ts_package = $::threatstack::params::ts_package, | ||
$windows_install_options = $::threatstack::params::windows_opts | ||
|
||
) inherits ::threatstack::params { | ||
|
||
$ts_package = $::threatstack::params::ts_package | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
# This class is not meant to be directly realized outside of | ||
# Class['::threatstack']. | ||
# | ||
# This is sort of a dummy class but might be used at some point. | ||
# | ||
# === Authors | ||
# | ||
# Nate St. Germain <[email protected]> | ||
|
@@ -15,4 +17,5 @@ | |
# | ||
# Copyright 2019 Threat Stack, Inc. | ||
# | ||
|
||
class threatstack::msi inherits ::threatstack::params { | ||
} |
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
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 |
---|---|---|
|
@@ -23,4 +23,3 @@ | |
} | ||
|
||
} | ||
|