Could/should be as simple as

class thruk {
  package { 'thruck':
    ensure => 'installed',
  }
  file { '/etc/httpd/conf.d/thruk.conf':
    ensure => 'file',
    require => Package['thruk'],
  }
}

Salt to taste.

On Fri, Nov 6, 2015 at 5:00 AM, Arnau <[email protected]> wrote:

> Hi Hunter,
>
> thanks for your answer.
> I don't see how to do what you suggest, could you please give me a short
> example?
> (I was using apache::custom_config as a workaround)
>
> TIA,
> Arnau
>
> --
> 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/CAM69jx9Z5phMNuUpyEbVji7TjzV-zXpJ0MUhe5PxuX%3Din%2B7gSg%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-users/CAM69jx9Z5phMNuUpyEbVji7TjzV-zXpJ0MUhe5PxuX%3Din%2B7gSg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAO7w0s6qNWzgAeYu13S9AOGFoq6D-W%2B8JfUQVtFfuxCZ39Q%2Bjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to