if I'm trying to put a few dconf::db resources into the same db (e.g. local), I have to do something like this
dconf::db { 'firstone':
db_dir => "${dconf::db_base_dir}/local.d",
db_filename => '00-firstone',
locks_filename => '00-firstone',
settings => {
'setting1' => {
'key1' => 'value1',
},
},
locks => [
'key1',
],
}
dconf::db { 'secondone':
db_dir => "${dconf::db_base_dir}/local.d",
db_filename => '02-secondone',
locks_filename => '02-secondone',
settings => {
'setting2' => {
'key2' => 'value2',
},
},
locks => [
'key2',
],
}
Each of these would be in a separate class, and included or not based on a config, so I'd like to keep them separate like this (vs combining into one big dconf::db resource)
maybe we could make the locks_filename default to db_filename instead of 00-default
if I'm trying to put a few
dconf::dbresources into the same db (e.g.local), I have to do something like thisEach of these would be in a separate class, and included or not based on a config, so I'd like to keep them separate like this (vs combining into one big
dconf::dbresource)maybe we could make the
locks_filenamedefault todb_filenameinstead of00-default