Displaying 1 result from an estimated 1 matches for "grantopt".
Did you mean:
grantpt
2013 Aug 23
1
Test the result of a hiera_hash() lookup
...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 can only include that class on nodes where I define explicit
grants. If I don''...