Hi,
Does anybody know how to perform auto removing certificate of host which is
unreachable some period?
Thanks.
--
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
and invokes puppet ca accordingly (to get rid of stale certificates).
>
> HTH,
> Felix
>
> On 03/04/2013 11:04 AM, Roman Alekseev wrote:
> > Hi,
> >
> > Does anybody know how to perform auto removing certificate of host which
> > is unreachable some period?
Hi Everyone,
Is it possible to use File directive only if some software is installed,
otherwise do nothing?
For example:
file { "/tmp/puppet-nginx-init.sh":
ensure => "present",
owner => "root",
group
On 20.06.2013 17:46, Martin Alfke wrote:
this case the file resource will only be managed if the package resource has
been defined.
This does not mean, that the package has been installed successfully!
For this option you have to add
require => Package['nginx'],
to your file resource.
Thank
Is the module below correct?
class nginx {
if defined(Package['nginx']) {
file { "/tmp/puppet-nginx.sh":
ensure => "present",
owner => "root",
group => "root",
mode
Hello,
What is the best way in puppet to create a variable as result of command
below:
*$nginx_dir=`/usr/sbin/nginx -V 2> /etc/puppet/nginx.args | /bin/cat
/etc/puppet/nginx.args | /usr/bin/awk -F'--http-proxy-temp-path=' {'print
$2'} | /usr/bin/awk {'print $1'} | /bin/grep '\/'`*
Any advices
proxy-temp-path=' {'print $2'} | /usr/bin/awk {'print $1'} |
/bin/grep '\/'") endend*
Thanks.
среда, 19 марта 2014 г., 12:13:16 UTC+4 пользователь Jose Luis Ledesma
написал:
>
> Hi,
>
> I think that the best way is a custom fact.
>
> Re
')
end
end
****
среда, 19 марта 2014 г., 11:27:15 UTC+4 пользователь Roman Alekseev написал:
>
> Hello,
>
> What is the best way in puppet to create a variable as result of command
> below:
> *$nginx_dir=`/usr/sbin/nginx -V 2> /etc/puppet/nginx.args
Thank you!
This is also working:
/usr/sbin/nginx -V 2>&1 | /bin/grep -oP "http-proxy-temp-path=.*?\s" |
/usr/bin/awk -F\'=\' {\'print $2\'}
среда, 19 марта 2014 г., 17:31:45 UTC+4 пользователь jcbollinger написал:
>
>
>
> On Wednesday, Marc
Hello,
I have two variables:
$a = some_path
$b = othe_path
and truing to compare it
if $a != $b { do something }
but always these variables are not equal for puppet.
In my case it can be equal, for example
$a = /var/cache/nginx/proxy_temp
$b = /var/cache/nginx/proxy_temp
How can it be fixed?
10 matches
Mail list logo