Downgrade mysql cookbook for now

It doesn't play well with our current dev server setup
This commit is contained in:
Greg Karékinian
2017-06-16 22:43:51 +02:00
parent e39792ea36
commit bdfb3a1afb
398 changed files with 12716 additions and 10889 deletions

View File

@@ -0,0 +1,15 @@
# This module is used to retain state during the course of a chef
# run. The LWRPs in the cookbook modify a global hash in this module,
# and at the end of the chef run if user authorizations change they
# are written out into the system.
#
module RBAC
def self.authorizations
@authorizations ||= {}
end
def self.add_authorization(username, auth)
authorizations[username] ||= []
authorizations[username] << auth
end
end