Moved to https://docs.google.com/document/d/13ZVCcaFNyqOuR7ttBG4QtjaFh9Fs-ivcu8olHA-B-UQ/edit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#.fixtures.yml | |
fixtures: | |
forge_modules: | |
zypprepo: | |
repo: "darin/zypprepo" | |
ref: "1.0.2" | |
archive: | |
repo: "puppet/archive" | |
ref: "1.2.0" | |
jenkins: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class test ( | |
$override_options = undef | |
) { | |
notice($test::override_options) | |
} | |
include test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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... | |