Hi, sorry for stupid question, but how I can specify package depends on class with parameters?
class nginx::install ( $nginx = "nginx-light", $ensure = 'installed' ) { include nginx::service package { $nginx : ensure => $ensure, notify => Class["nginx::service"], } } Must depend on: apt::ppa { "ppa:nginx/stable": } How to correctly specify this inside class "nginx::install"? Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/26BnW1awwx4J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.