Hello,
in the meantime I've added RAM and extended the heap to 2GB. But still I'm
getting crashes of PuppetDB.
Last time it was the kernel OOM that killed the java process as I saw in
/var/log/messages
kernel: Out of memory: Kill process 10146 (java) score 158 or sacrifice
child
kernel: Killed
Hi,
I've this custom fact,
- it's working fine when running via puppet on Debian 6-7, Centos/Rhel 6
- it's going on timeout when running via puppet on Rhel5. "Warning:
Could not load fact file
/var/lib/puppet/lib/facter/interfaces_duplex.rb: execution expired"
- it's working fine when I get it
> in the meantime I've added RAM and extended the heap to 2GB. But still I'm
> getting crashes of PuppetDB.
> Last time it was the kernel OOM that killed the java process as I saw in
> /var/log/messages
> kernel: Out of memory: Kill process 10146 (java) score 158 or sacrifice
> child
> kernel: Kill
On Monday, January 12, 2015 at 9:42:50 AM UTC-6, Gavin Williams wrote:
>
> John
>
> Cheers for the response.
>
> I guess I could have explained the issue a bit better :)
> By pattern, I'm referring to using a params.pp class with variable
> interpolation... I.e.
>
> # --glassfish/manifests/par
I had two puppet modules that needed the same data, so I tried to define
the data once in hiera and then refer to the first definition via the
hiera() function. When I did this as soon as puppet began loading the
module that used one of these variables it hung.I checked using the
hiera CL
On Monday, January 12, 2015 at 4:49:50 PM UTC-6, puppetrier wrote:
>
> I am trying to assign classes to node either through site.pp or a custom
> ENC and I am getting nowhere.
> The nodes successfully receive empty catalogs from the master.
>
I suggest leaving ENCs out of the picture for the
Man, so many typos today :(.
But also this error:
>
>1. Create a "default" node block in your site manifest, and put a
>notify resource in it: notify{"I am ${client_cert}": }. Delete or
>comment out all other node blocks, so that the default block will be
>matched to every nod
John
Cheers again for the response...
I had a feeling that the issue was due to evaluation order of params etc...
Moving the logic into glassfish::install has had the desired outcome, and
all my tests now pass :)
The changes I made are
here:
https://github.com/fatmcgav/fatmcgav-glassfish/c
I can't say I've ever seen nested hiera lookups, and I don't know if
they're supported.
If these values are all in the same yaml file you might have better luck
using anchors and references (
https://en.wikipedia.org/wiki/YAML#Repeated_nodes). I think it would work
for all of the above entries exc
Cool I will look into. Concerning support, I got the idea to use it
from the hiera documentation:
https://docs.puppetlabs.com/hiera/1/variables.html#using-lookup-functions
And as I said with the hiera command line it worked:
$ hiera resolvconf::nameserver -c puppet.yaml ::site=corp
::ro
We use recursive Hiera lookups here, works fine for us on Puppet >= 3.7,
haven't tested anything below that.
If you do "puppet master --compile --debug" you will get the Hiera debug
output as well which might narrow down your problem.
--
Luke Bigum
Senior Systems Engineer
Information Systems
Hi folks,
Got a question about the best way to handle Forge module migrations
without screwing over anyone who uses that module.
Some time ago I started using a Puppet module from Github[1], which was
not available on the Forge at the time. I contacted the author to ask if
he would consider
How about this as an example ? :
https://forge.puppetlabs.com/puppetlabs/nginx
They set the version to 99.99.99 and made a notation that that the module is
no longer supprted.
“Sometimes I think the surest sign that intelligent life exists elsewhere in the
universe is that none of it has tr
Thank you. The --debug option looks very useful.
Indeed there seems to be a problem with the environment config folder
location.
I assume the path in the "Did not match path" line bellow is not actually
referring to an absolute path...
Anyway, the class mapping still doesn't work. I made the
hi,
Some more debug ...
strace puppet agent -t
open("./interfaces_duplex.rb", O_RDONLY) = 5
close(5)= 0
open("./interfaces_duplex.rb", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=439, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANO
lsof when running puppet - /sys/class/net/eth0/operstate is open 2 times :
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
...
puppet 9952 root4r REG0,0 4096 5043
/sys/class/net/eth0/operstate
puppet 9952 root5r REG0,0 40
I think I've got it
https://www.ruby-forum.com/topic/92722
Le 13/01/2015 20:18, Poil a écrit :
lsof when running puppet - /sys/class/net/eth0/operstate is open 2
times :
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
...
puppet 9952 root4r REG
17 matches
Mail list logo