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

[FEATURE] three minor fixes to consider #87

Open
noelmcloughlin opened this issue Jun 5, 2020 · 0 comments
Open

[FEATURE] three minor fixes to consider #87

noelmcloughlin opened this issue Jun 5, 2020 · 0 comments

Comments

@noelmcloughlin
Copy link
Member

Is your feature request related to a problem?

Describe the solution you'd like

General issue

  • The mongod.sh file contains superfluous {} line
bobby@work kubernetes % cat /etc/default/mongod.sh 
########################################################################
# File managed by Salt at <salt://mongodb/files/default/environ.sh.jinja>.
# Your changes may be overwritten.
########################################################################

export PATH=${PATH}:/usr/local/mongodb/mongod-4.2.6
{}

On MacOS-

  • The formula should manage mongod.sh in /etc/defaults/ not /etc/default/
          ID: mongodb-config-install-mongod-environ_file
    Function: file.managed
        Name: /etc/default/mongod.sh
      Result: True
     Comment: File /etc/default/mongod.sh is in the correct state
     Started: 20:43:29.766874
    Duration: 22.894 ms
  • There should be symlinks from /usr/local/mongo-xxxx/bin/cmd to /usr/local/bin/cmd
bobby@work % ls /usr/local/mongodb/mongod-4.2.6/bin 
bsondump	mongo		mongodump	mongofiles	mongoreplay	mongos		mongotop
install_compass	mongod		mongoexport	mongoimport	mongorestore	mongostat

Describe alternatives you've considered

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant