-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add initial Windows support. Remove apt/yumrepo_core hard dependencies. * Update checkout action to v3 * Update checkout action to v4
- Loading branch information
Showing
12 changed files
with
107 additions
and
17 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
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
osquery::config_path: 'C:/Program Files/osquery/osquery.conf' | ||
osquery::config_group: Administrator | ||
osquery::config_owner: Administrator | ||
osquery::package_provider: chocolatey | ||
osquery::package_install_options: | ||
- -params | ||
- /InstallService | ||
osquery::service_name: osqueryd | ||
osquery::settings: ~ | ||
osquery::validate_cmd: 'C:/Program Files/osquery/osqueryi --config_path "%" --config_check' |
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 |
---|---|---|
|
@@ -15,6 +15,12 @@ | |
# @param package_ensure | ||
# The osquery package ensure state | ||
# | ||
# @param package_provider | ||
# The package provider to use (Windows) | ||
# | ||
# @param package_install_options | ||
# The install_options to provide when using Chocolatey (Windows) | ||
# | ||
# @param service_name | ||
# The osquery service name | ||
# | ||
|
@@ -39,6 +45,9 @@ | |
# @param settings | ||
# A hash of settings to set in the osquery configuration file | ||
# | ||
# @param validate_cmd | ||
# The command to validate osquery.conf format changes | ||
# | ||
# @author Dan Gibbs <[email protected]> | ||
# | ||
class osquery ( | ||
|
@@ -47,14 +56,17 @@ | |
Variant[Integer[0], String[1]] $config_group = 0, | ||
String[1] $package_name = 'osquery', | ||
String $package_ensure = 'installed', | ||
Optional[String] $package_provider = undef, | ||
Optional[Array] $package_install_options = undef, | ||
String[1] $service_name = 'osqueryd', | ||
Boolean $service_enable = true, | ||
Stdlib::Ensure::Service $service_ensure = 'running', | ||
Boolean $manage_repo = true, | ||
String $repo_url = undef, | ||
Optional[String] $repo_url = undef, | ||
Optional[String] $repo_key_id = undef, | ||
Optional[String] $repo_key_server = undef, | ||
Hash $settings = {}, | ||
String $validate_cmd = '/usr/bin/osqueryi --config_path % --config_check', | ||
) { | ||
contain osquery::package | ||
contain osquery::config | ||
|
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