[Puppet Users] Serving files from custom mount point in Puppet 4
Hi Is serving files from custom mount point depreciated in puppet 4? I configured fileserver.conf file in same way as in puppet 3 but it is not working. I could not find any explicit statement in puppet 4 documents about custom mount points. Has any one managed to serve from custom mount point in puppet 4? Thanks Kashif -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CADXPHmu30cVHzm48A1huSp-rgCu3aMmRXC%3D3BPSqCBGjmxRQuQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Exporting resource to a particular host
Hi I am using puppetdb and exported resource to manage autmatic nagios setup. It works very well. Now I want to setup another nagios server for another set of machines using same puppetdb and puppet master. As for I understand, a client exports @@nagios_host and nagios server collect it by Nagios_host | | I want some Nagios_host to be collected by different nagios server. Is it possible ? I was thinking about 'tag' but am not sure how to use with exported resources. Thanks Kashif -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CADXPHmuT5_R2z4gmSpnhjPUxANvF8sLWJ8NUXi21oJC7in6okQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Problem after updating to puppet-3.6.2-1
Hi I am having an issues after updating to puppet-3.6.2-1. Main problem is that few nodes are failing with Error: Could not retrieve catalog; skipping run all the time. I am running puppet with passenger and it was working perfectly before upgrade. I am managing almost 200 nodes with puppet. Added debug to /usr/share/puppet/rack/puppetmasterd/config.ru and I can see a lot of logs at master but there is no error in it. puppet server is running on a vm with 8GB RAM and 4 core. It seems that the main culprit is a module which creates user account on the machine. I want to create around 4000 pool accounts and it worked really well before update. But now I can not create all these accounts together although it work in small chunks. I have looked into passenger-status and there are enough memory left so it doesn't look like memory issue. I don't understand that what has change with new update. I will appreciate any pointer or suggestion . Thanks Kashif -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CADXPHmtb8CjTu1Qtekyd4C2Rcg8Sd%3DzYruLx5mNuPSz6M6MpnA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] stdlib file_line type
Hi I am just testing file_line type in puppetlabs stdlib library. It is a very simple line file_line { 'testing file_line' : ensure = present, line = 'This is a test' path = '/etc/puppet/puppet-test' } It works but when I look at client log it seems that in every puppet run, it removes all of the lines added through file_line and then add it again. Is it a bug or feature ? I am using puppet 3.2 and stdlib 4.1.0. Thanks Kashif -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] augeas for hosts.allow
Hi I am trying to configure hosts.allow using augeas with puppet. I can add a ip range if process exists with this code augeas { Add ${name} to ${process}: context = /files/etc/hosts.allow, changes = set *[process='${process}']/client[last()+1] ${name}, onlyif = match *[process='${process}']/client[.='${name}'] size == 0, but if a process doesn't exist then I can't do it dynamically, some thing like this works augeas { Add ${name} - ${process}: context = /files/etc/hosts.allow, changes = [ set 02/process ${process}, set 02/client[.='{$name}'] ${name} ], onlyif = match *[process='${process}'] size == 0, } But I have to provide node number (02 here) . The above code is mostly based on https://gist.github.com/rodjek/18c50d8800840696bac0 Can some one give a better option. What I want is that I can define different process and ip range in node manifest file like this ssh::hosts_allow { [ '1.1.1.1', '2.2.2.2', ]: process = 'sshd', ssh::hosts_allow { [ '3.3.3.3 ]: process = 'nrpe', Thanks Kashif -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.