Hi,
On 06/18/2014 03:51 PM, Sergey Arlashin wrote:
> Could you please help me figure out why this is happening ? It seems there is
> nothing in test mod whih requires testmod::nginxtest .
actually yes, there is.
file { '/tmp/nginx.test':
ensure => present,
notify => Service['nginx'];
}
The 'notify' implicitly puts File['/tmp/nginx.test'] *before*
Service['nginx'].
The
class { 'testmod::nginxtest':
require => Class['testmod']
}
ends up doing the opposite - wanting the Service['nginx'] before
File['/tmp/nginx.test'].
HTH,
Felix
--
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/53A19A45.30903%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.