Page MenuHomePhabricator
Paste P13006

(An Untitled Masterwork)
ActivePublic

Authored by jbond on Thu, Oct 15, 2:59 PM.
# host.yaml
profile::mariadb::shard: s1
# manifest.pp
class profile::mariadb (
$shard
) {
# do something with $shard
include mysql
}
class profile::mariadb::core_test {
include profile::mariadb
# if we also need shard here
$shard = $profile::mariadb::shard
# or just use $profile::mariadb::shard directly
}

Event Timeline

jbond created this paste.Thu, Oct 15, 2:59 PM
jbond edited the content of this paste. (Show Details)
jbond edited the content of this paste. (Show Details)