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


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/05dcdc96-c2d8-4ae7-ba84-415399151295%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to