Thanks a lot for your answer,
Cheers
2015-11-06 16:34 GMT+01:00 Matthew Hyclak :
> No, because puppet is now "managing" the file, it won't be included in the
> purge.
>
> On Fri, Nov 6, 2015 at 9:11 AM, Arnau wrote:
>
>> Hi,
>>
>> thanks for your answer.
>> But with this file + apache doing a d
No, because puppet is now "managing" the file, it won't be included in the
purge.
On Fri, Nov 6, 2015 at 9:11 AM, Arnau wrote:
> Hi,
>
> thanks for your answer.
> But with this file + apache doing a directory purge on each run, isn't it
> going to be add/remove the file in every run?
>
> (custom
Hi,
thanks for your answer.
But with this file + apache doing a directory purge on each run, isn't it
going to be add/remove the file in every run?
(custom_config is working like a charm)
TIA,
Arnau
2015-11-06 14:48 GMT+01:00 Matthew Hyclak :
> Could/should be as simple as
>
> class thruk {
>
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 wrote:
> Hi Hunter,
>
> thanks for your ans
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
The apache module contains many mod manifests [1] that use file
resources with templates [2] that you can pattern your code after. No
need to use apache::vhost at all.
[1] https://github.com/puppetlabs/puppetlabs-apache/tree/master/manifests/mod
[2] https://github.com/puppetlabs/puppetlabs-apache/
Hi all,
Puppetlab apache module [1] by default purges everything under
/etc/httpd/conf.d . If you want to add an extra file, you must use
apache::vhost.
I'm writing a module for managin thruk. The trhuk rpm packge provides a
apache conf file (/etc/httpd/conf.d/thruk.conf). At this point I'm
wonder