Skip to content

Instantly share code, notes, and snippets.

@abrader
Created December 14, 2016 16:29
Show Gist options
  • Select an option

  • Save abrader/28b894ff6567fc8c31874f2676379225 to your computer and use it in GitHub Desktop.

Select an option

Save abrader/28b894ff6567fc8c31874f2676379225 to your computer and use it in GitHub Desktop.
Puppet Practitioner: Lab 4.1
class system::dbadmins {
require mysql::server
mysql_user { 'zack@localhost' :
ensure => present,
max_queries_per_hour => 1200,
}
mysql_user { 'monica@localhost' :
ensure => present,
max_queries_per_hour => 600,
}
mysql_user { 'ralph@localhost' :
ensure => absent,
}
mysql_user { 'brad@localhost' :
ensure => present,
max_queries_per_hour => 600,
}
mysql_user { 'luke@localhost' :
ensure => present,
max_queries_per_hour => 600,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment