GithubHelp home page GithubHelp logo

Comments (4)

myii avatar myii commented on July 18, 2024 1

That portion of the code is from around 5 years ago, so it's going to be tough getting feedback from the original author.

We need someone to make some time to dig into this to figure out what's going on.

from mysql-formula.

dimduj avatar dimduj commented on July 18, 2024

I also confirm this bug.
@BrianSidebotham : Any advice to success on one pass ?

from mysql-formula.

pprkut avatar pprkut commented on July 18, 2024

It looks like for some reason the onlyif condition doesn't work?

The way this is set up is that there's three ways to configure the salt user. The state tries all of them in this order:

  • With an already configured salt user (i.e. from the second run forward, ideally)
  • With a root user that has a password configured
  • With a password-less root user (default after initial installation)

The state checks in the onlyif condition if the respective user has access to the database and only if that's the case, executes the state.

The reason behind the /bin/true is that the salt-user state needs to override the mysql_root_password state from the server.sls file (which uses cmd.run to configure the root password). But with the salt-user state we want to configure it using mysql_user.present.

from mysql-formula.

saltstack-formulas-travis avatar saltstack-formulas-travis commented on July 18, 2024

🎉 This issue has been resolved in version 0.55.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from mysql-formula.

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.