Giter Club home page Giter Club logo

Comments (7)

jflorian avatar jflorian commented on June 24, 2024

@Tontonitch I'm not a developer of puppet-snmp, but a fellow user. Good catch here given this file has credentials stored that should be kept secret and protected. It seems that the Red Hat family of OSes have the wrong default mode for these files, as you can see here.

Until this gets resolved correctly, I've got the following in my Hiera data:
snmp::service_config_perms: '0600'
Alternatively, you could use something like

class { 'snmp':
  <snip>
  service_config_perms => '0600',
  <snip>
}

Thanks for pointing this out!

from puppet-snmp.

Tontonitch avatar Tontonitch commented on June 24, 2024

Ok, thanks for your solution John!Best regards,Yannick

  De : John Florian <[email protected]>

À : razorsedge/puppet-snmp [email protected]
Cc : Yannick Charton [email protected]; Mention [email protected]
Envoyé le : Samedi 12 novembre 2016 17h52
Objet : Re: [razorsedge/puppet-snmp] File permissions do not match the ones of the net-snmp (#81)

@Tontonitch I'm not a developer of puppet-snmp, but a fellow user. Good catch here given this file has credentials stored that should be kept secret and protected. It seems that the Red Hat family of OSes have the wrong default mode for these files, as you can see here.Until this gets resolved correctly, I've got the following in my Hiera data:
snmp::service_config_perms: '0600'

Alternatively, you could use something likeclass { 'snmp':

service_config_perms => '0600',

}
Thanks for pointing this out!—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

from puppet-snmp.

TomOnTime avatar TomOnTime commented on June 24, 2024

Please make this a parameter. We have certain machines that set the file perms to 0640 and the group to something non-standard. (Rationale: Certain processes need to read that file but we don't want those processes to run as root)

from puppet-snmp.

jflorian avatar jflorian commented on June 24, 2024

It already is a parameter. See my comment above. Or I don't understand what you were asking for.

John Florian

from puppet-snmp.

TomOnTime avatar TomOnTime commented on June 24, 2024

Its all good. Thanks!

from puppet-snmp.

razorsedge avatar razorsedge commented on June 24, 2024

@Tontonitch What OS/OS version/SNMP version are you using?

from puppet-snmp.

Tontonitch avatar Tontonitch commented on June 24, 2024

RedHat 7.3, Net-Snmp 5.7.2

from puppet-snmp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.