Hi All,
I have a class with stage='post-10' that mean that has to executed after main stage but a resource of that class getting executed twice that is before main and after.
example code as shown:
appneta::nodejs (
$stage = "post-10",
)
{
exec { 'install_agent':
} ->
Appneta::Updatejs<| tag == 'run_first' |>
}
Getting cyclic graph error as:
Exec[install_agent] => Appneta::Updatejs[artifact1] => Stage[main] => Stage[post-10] => Class[Appneta::Nodejs] => Exec[install_agent])
Any help will be appreciated!!
Thanks,
Afroz