Skip to content

Instantly share code, notes, and snippets.

Avatar
🦈
alignment: left

Rob Nelson rnelson0

🦈
alignment: left
View GitHub Profile
@rnelson0
rnelson0 / .fixtures.yml
Last active February 8, 2018 22:54
Jenkins Job 1.1
View .fixtures.yml
#.fixtures.yml
fixtures:
forge_modules:
zypprepo:
repo: "darin/zypprepo"
ref: "1.0.2"
archive:
repo: "puppet/archive"
ref: "1.2.0"
jenkins:
View 118.pp
class test (
$override_options = undef
) {
notice($test::override_options)
}
include test
@rnelson0
rnelson0 / profile_mysql_server.pp
Last active September 17, 2015 22:03
HI-118 workaround - deep merges are not supported properly in automatic parameter lookup
View profile_mysql_server.pp
# When using an externally provided module like mysql::server, we cannot modify the parameter lookups in the module.
# As a compromise, do lookups in our wrapper profile class and then pass on the values
class profile::mysql::server (
$override_options = hiera_hash('mysql_server_override_options', {}),
$users = hiera_hash('mysql_server_users', {}),
$grants = hiera_hash('mysql_server_grants', {}),
$databases = hiera_hash('mysql_server_databases', {}),
) {
# ...do stuff...