Skip to content
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

Add Optional to config_file_mode and config_folder_mode params on windows #156

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

jkkitakita
Copy link
Contributor

Pull Request (PR) description

  • Add Optional to config_file_mode and config_folder_mode params on windows

This Pull Request (PR) fixes the following issues

Fixes #155

README.md Outdated Show resolved Hide resolved
.puppet-lint.rc Outdated
@@ -0,0 +1 @@
--relative
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain why you changed this? It should not be required to run the tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I tried to git commit, puppet-lint was executed in pre-commit and it failed.
Without this fix, I couldn't git commit, so I added it.

~/jkkitakita/puppet-telegraf master +1 ❯ git commit -m "hoge"
Running pre-commit hooks
Check for trailing whitespace....................[TrailingWhitespace] OK
Runs puppet-lint on modified files only..................[PuppetLint] FAILED
Errors on lines you didn't modify:

jkkitakita/puppet-telegraf/manifests/params.pp:5:7:ERROR: telegraf::params not in autoload module layout (autoloader_layout)

✗ One or more pre-commit hooks failed

@jkkitakita
Copy link
Contributor Author

@kenyon @bastelfreak
Please let me know if there are any implementations missing in this PR.

@benh57
Copy link

benh57 commented Feb 11, 2021

Looks like this was approved, could someone merge?

@bastelfreak bastelfreak merged commit 8f9fa7e into voxpupuli:master Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot install telegraf on Windows server because config_file_mode and config_folder_mode is undefined
4 participants