On 25 Nov 2014 11:37, "Ugo Bellavance" <ug...@lubik.ca> wrote:
>
> Sorry for top-posting, but I found my mistake. I didn't know we could not set 'require' more than once. It now looks obvious but it wasn't when I was working on it.
You can require multiple resources but they need to be in an array.
> --
> 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 puppet-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/be4870e2-f4d5-4f7e-a64b-1c9242800096%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
On 25 Nov 2014 11:37, "Ugo Bellavance" <ug...@lubik.ca> wrote:
>
> Sorry for top-posting, but I found my mistake. I didn't know we could not set 'require' more than once. It now looks obvious but it wasn't when I was working on it.You can require multiple resources but they need to be in an array.
- I've had unplanned outages (nothing critical, clients/users were warned on dev and staging environments) because the refresh was done before the logs directory was created
- Should I implement file syntax checking for httpd .conf files? Should it be on file-level or should it be in the refresh parameter of the service? (Something similar to restart => '/usr/sbin/apachectl -t && /etc/init.d/httpd graceful',