Displaying 1 result from an estimated 1 matches for "lock_tables_priv".
2013 Aug 23
1
Test the result of a hiera_hash() lookup
...) lookup in a manifest? I 
am trying to use hiera to do most of my configuration, like this for 
example:
mysql::grants:
  ''user1@localhost'':
    privileges:
      - select_priv
  ''user2@localhost'':
    privileges:
      - select_priv
      - insert_priv
      - lock_tables_priv
I have a wrapper class that then does this:
class custom::mysql::grants {
  $grantoptions = hiera_hash(''mysql::grants'')
  create_resources(''database_grant'', $grantoptions)
}
That works fine as long as I include the custom::mysql::grants class. But 
right now I...