Re: [Puppet Users] best practice for multiple Puppet masters and external CAs in AWS?

2015-10-19 Thread Poil
Hi, You can use incron+scp or a daemon like csync2 to synchronize your certificates folder Or if you are in US just use an EFS (you can also use s3fs but it's unstable) For AutoScaling, I use a generic certificate and I force the node_name to the Tag "Name" (example : https://gist.github.com/

Re: [Puppet Users] err: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known

2015-10-19 Thread Wei Chen
Hi, After I deinstalled and re-installed the puppet on Agent, it works again. -- 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...@googlegro

[Puppet Users] Re: Install Puppet as Docker CLI image

2015-10-19 Thread Vikas Kumar
Hi Jackson, Try to run it with '--debug' switch, may be it shows something useful. Regards, Vikas On Tuesday, 20 October 2015 10:37:05 UTC+11, Justin Jackson wrote: > > Hi all, > > I am trying to set up the standalone puppet as a docker image to be used > as a CLI. I am doing this so that my c

[Puppet Users] Install Puppet as Docker CLI image

2015-10-19 Thread Justin Jackson
Hi all, I am trying to set up the standalone puppet as a docker image to be used as a CLI. I am doing this so that my colleagues and I can share the same "environment" for running puppet on our different platforms of choice. We are using Mac, Linux (Ubuntu 14+) and Windows (8 and 10). We basic

[Puppet Users] best practice for multiple Puppet masters and external CAs in AWS?

2015-10-19 Thread Erik Kennedy
Right now I have a single Puppet master for our EC2 instances, which exists within our VPC. Obviously this is a terrible single-point-of-failure and I want to turn it into a load-balanced autoscaling setup so I can spread them across multiple availability zones. However, I still need to either h

Re: [Puppet Users] Re: All Hosts Shown as Unresponsive. Worker Restart Fails. Clients Seem Happy?

2015-10-19 Thread Aaron
So, I just ran into this after my VM ran out of space. I removed all of the reports from /var/lib/puppet/reports# to free up space and then restarted the server. After the restart, I could run the following $ sudo service apache2 start * Starting web server apache2 [ OK ] $ sudo service puppetm

[Puppet Users] Puppet PowerShell api connection

2015-10-19 Thread Elwin Hidding
I do not see my last post and cannot find it, so 2nd try. I am trying to make a connection from PowerShell to the Puppet API. The CURL example on: http://docs.puppetlabs.com/puppetdb/2.3/api/query/v3/facts.html shows me this: curl -X GET http://puppetdb:8080/v3/facts --data-urlencode 'query=["=

Re: [Puppet Users] Facter 3.1 gem

2015-10-19 Thread seincin
Hey thank you for your response. Is the ruby 2.4 version of facter still sufficient for the latest puppet version? Will it continue to be? Will further development go into ruby facter or only in the compiled C++ version of facter? Thanks again. On Monday, October 19, 2015 at 1:52:37 PM UTC

Re: [Puppet Users] Facter 3.1 gem

2015-10-19 Thread Branan Riley
On Mon, Oct 19, 2015 at 9:02 AM seincin wrote: > Curious why there has not been a Facter 3.X gem made available? > Facter 3 is written in C++ and relies on a VERY modern version of GCC, as well as new versions of a number of libraries. These are not available on most of the platforms Puppet supp

[Puppet Users] Facter 3.1 gem

2015-10-19 Thread seincin
Curious why there has not been a Facter 3.X gem made available? Any timeline on a release? Thanks in advance. -- 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 t

Re: [Puppet Users] Re: Forge ACL Module 1.1.1 on Windows 7 x64 SP1

2015-10-19 Thread jmp242
Hmm, so on one test computer, the upgrade to puppet 3.8.3 fixed the issue. On the second test computer, it didn't - everything remains the same, but getting the same repeated ACE... On Thursday, October 15, 2015 at 12:27:34 AM UTC-4, Rob Reynolds wrote: > > > > On Thu, Oct 1, 2015 at 8:09 AM, jm

Re: [Puppet Users] err: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known

2015-10-19 Thread Matthew Burgess
On 19 October 2015 at 13:32, Wei Chen wrote: > ]# puppet agent --test > err: Could not retrieve catalog from remote server: getaddrinfo: Name or > service not known What Puppet master is your agent configured to try to contact in puppet.conf? Can it resolve the IP address of the hostname? i.e.

[Puppet Users] MCcollective loop

2015-10-19 Thread Sergiu Cornea
Hello guys, I am trying to create a Perl script which will give me some details about my nodes. I have added some formatting as shown on the website https://docs.puppetlabs.com/mcollective/reference/ui/nodereports.html , however, I can't seem to get the loop working. What I am trying to do is:

Re: [Puppet Users] ensure directory absent

2015-10-19 Thread Christopher Wood
I think the "force" parameter is the answer to your immediate question. http://docs.puppetlabs.com/references/latest/type.html#file-attribute-force That comes with the usual warning that automated recursive deletion has a higher than usual risk of removing something you actually needed. Since em

[Puppet Users] ensure directory absent

2015-10-19 Thread Albert Shih
Hi Stupid question : I have a module who install some file/directory. I pass a parameter "ensure" inside this module. I can do class my_module ($ensure ='present') { file { 'file0': ensure => $ensure etc. } so I can call my class with " ensure => 'abse

[Puppet Users] err: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known

2015-10-19 Thread Wei Chen
Hi, I have two agents. I call up the agent with the same command as follow: puppet agent --test By one agent, it works. But by the other, it doesn't and I got error as follow: ... ]# puppet agent --test err: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known

Re: [Puppet Users] How to ensure the rpm version?

2015-10-19 Thread Wei Chen
Many 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 to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.

[Puppet Users] Re: How to ensure the rpm version?

2015-10-19 Thread Wei Chen
Many 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 to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.