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

Setting FQDNLookup to false has no effect on CentOS #240

Closed
simonpasquier opened this issue Feb 17, 2015 · 1 comment
Closed

Setting FQDNLookup to false has no effect on CentOS #240

simonpasquier opened this issue Feb 17, 2015 · 1 comment

Comments

@simonpasquier
Copy link
Contributor

My manifest contains:

class { '::collectd':                                                         
     purge        => true,                                                       
     recurse      => true,                                                       
    purge_config => true,                                                       
    fqdnlookup   => false,                                                      
}                                                                             

The generated collectd.conf file contains:

Hostname node-10
FQDNLookup false

But the hostname in the collectd messages is still the fully-qualified name (eg node-10.example.com).

When I edit the collectd configuration to add double quotes then it works as expected:

Hostname "node-10"
FQDNLookup false
@simonpasquier
Copy link
Contributor Author

I used an old version of the module, this is already fixed by commit 520c382.

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

No branches or pull requests

1 participant