Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

dependency module check in serverspec


How to check dependency modules in the serverspec test

I have below manifests and it used other modules manifests

$fs_lvm = hiera_hash('lvm::mod::cli_conf')
create_resources('lvm::filesystem', $fs_lvm)

Here I am passing hiera value to "vm::filesystem" modules. So, is this possible in the serverspec tests.