Re: [Puppet Users] puppet module - check if port is opened before running resource

2015-09-15 Thread aldantas
y, Puppet would be managing the service that actually listens on > the port and you would simply include your manifest after starting that > service. However, without knowing your setup, it's difficult to tell if you > are in this situation. > > Thanks, > > Trevor > > On Mon,

[Puppet Users] puppet module - check if port is opened before running resource

2015-09-14 Thread aldantas
Hello, I am writing a puppet module and I am looking into a way to have a validation before trying to execute something in puppet. For example: If host is listing on port 3306 { file { 'name': ensure => file, } } or If host is listing on port 3306 { include