password "pass0" { length => 8, } file "/tmp/mgmt/password" { state => $const.res.file.state.exists, } Password["pass0"].password -> File["/tmp/mgmt/password"].content