used with puppetmaster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-ceph |
New
|
Undecided
|
Unassigned |
Bug Description
You could consider improving the module (and guides) to work with a puppet master..
f.ex. using something like this - to make sure puppet does not do anything, until it has 3 registered mon servers:
$pdbquery_res = ["from", "resources",
["and",
["=", "type", "Class"],
["=", "title", "Role::
$pdbquery_facts = ["from", "facts",
["and",
["=", "name", "ipaddress"],
["in", "certname",
$cephmon_res = puppetdb_
$cephmon_facts = puppetdb_
$cephmon = delete_
$node_res = delete_
if ( $res['parameter
}
})
if ( size($node_res) > 0 ) {
{ certname => regsubst(
}
})
if ( size($cephmon) == 3 ) {
actually try to setup config files..
}