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

collectd::plugin::network - Add data types #775

Merged
merged 1 commit into from Apr 4, 2018

Conversation

juniorsysadmin
Copy link
Member

  • $port is now required to be an Integer type, not String

- $port is now required to be an Integer type, not String
@@ -0,0 +1,2 @@
#
type Collectd::Network::SecurityLevel = Enum['Encrypt', 'Sign', 'None']
Copy link
Member

Choose a reason for hiding this comment

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

should we namespace this or use a shorter name, like: Collectd::SecurityLevel? That would keep the lines in the Puppet files shorter.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was trying to keep it consistent...I'm not sure that you can avoid many long lines when using types though.

@juniorsysadmin juniorsysadmin merged commit 3e19fed into voxpupuli:master Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants