Re: [Puppet Users] Re: agent not launching on windows client

2022-05-23 Thread Andrew Jones
>>> 3) after I run it manually at least once. >>>> >>>> The problem is that I need it to run withOUT being run manually. >>>> Suggestions? >>>> >>> -- > You received this message because you are subscribed to the Google Groups >

[Puppet Users] Re: agent not launching on windows client

2022-05-23 Thread Andrew Jones
Open a power shell window and run `puppet resource service puppet` you should see something like this; PS C:\Users\Administrator> puppet resource service puppet service { 'puppet': ensure => 'running', enable => 'true', logonaccount => 'LocalSystem', provider => 'windows',

[Puppet Users] Why do my SERVER certs get revoked?

2017-02-14 Thread Dayton Jones
I'm intermittently getting Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=my.puppet.master] when clients try to connect...this is very random and could go months without the error, but I've got it sev

[Puppet Users] What is the limit of nodes mcollective and activemq can maintain?

2016-11-03 Thread Dayton Jones
I've seen posts of the "800 node wall" with mcollective/activemq, but nothing recent (http://ramblings.narrabilis.com/books/masteringpuppet/mcollective). Is there a logical limit of nodes that a collective can contain? I'm working in an environment that currently has about 27,000 nodes - the

Re: [Puppet Users] Re: hiera-eyaml - masterless puppet

2016-10-04 Thread Nathan Jones
hiera-eyaml-kms is a good solution that uses AWS KMS to manage encryption keys. EC2 instances can be provisioned with an IAM instance profile that grants access to the required keys. -- You received this message because you are subscribed to the Goo

Re: [Puppet Users] Logging output of a long running exec

2015-12-15 Thread Dayton Jones
g too much for puppet to capture... On Tuesday, December 15, 2015 at 12:16:04 PM UTC-6, Steve Traylen wrote: > > In this case the screen session stays forever and you can connect to it > later to see the output. That may or may not be useful to you of course > --- > Steve Traylen

Re: [Puppet Users] Logging output of a long running exec

2015-12-15 Thread Dayton Jones
/sbin/zrep init ${src_vol} ${dst_host} ${dst_vol}", onlyif => > "zfs get -H zrep:src-fs -o value ${src_vol} | grep -qv ${src_vol}", path => > ['/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/', '/usr/local/bin', > '

[Puppet Users] Logging output of a long running exec

2015-12-11 Thread Dayton Jones
I have a legacy "provisioning" script that I'm calling with puppet on brand new machines (I'm slowly taking the functionality out of the script and into puppet, but for reasons I can't do a full replacement yet) I'd like to log the output of the provisioning and have included "logoutput" to the

[Puppet Users] Re: Passing a generated variable inside a template...how?

2015-11-30 Thread Dayton Jones
ress_#{int}"]) -%> <% name = (fqdn.split('.')) -%> <%= scope["ipaddress_#{int}"] -%> <%= fqdn -%> <%= name.first %> On Monday, November 30, 2015 at 8:52:00 AM UTC-6, Dayton Jones wrote: > > Ok... I switched tactics somewhat and have more or less what

[Puppet Users] Re: Passing a generated variable inside a template...how?

2015-11-30 Thread Dayton Jones
hort name (myhost vs myhost.domain.com) 2) Is there a way to order the output (put 127.0.0.1 at the top, etc)? On Wednesday, November 25, 2015 at 2:25:22 PM UTC-6, Dayton Jones wrote: > > I'm writing a template to populate a file - easy enough... > > What I want is to to grab t

Re: [Puppet Users] Passing a generated variable inside a template...how?

2015-11-25 Thread Dayton Jones
hat maybe the error you're seeing there, "cannot interpret as address". > > On Thu, Nov 26, 2015 at 8:54 AM, Dayton Jones > wrote: > >> First, thanks for the help - I've been banging my head against the wall >> too much on this. >> >> Unfortunately

Re: [Puppet Users] Passing a generated variable inside a template...how?

2015-11-25 Thread Dayton Jones
First, thanks for the help - I've been banging my head against the wall too much on this. Unfortunately, it's still not working for me.. I'm not using an inline template, I have an actual .erb file called out in my manifest - though I don't see why this would be any different. my erb now loo

Re: [Puppet Users] Passing a generated variable inside a template...how?

2015-11-25 Thread Dayton Jones
at 3:10:55 PM UTC-6, denmat wrote: > > Sorry, rushing around on trains. Try this: > > irb(main):002:0> require 'resolv' > => true > irb(main):003:0> Resolv.new.getname('127.0.0.1') > => "localhost" > > On Thu, Nov 26, 2015 at 7:54 AM,

[Puppet Users] Passing a generated variable inside a template...how?

2015-11-25 Thread Dayton Jones
I'm writing a template to populate a file - easy enough... What I want is to to grab the list of interfaces, get the ip assigned to that interface and then do a lookup of the ip to get the dns name. I'm able to get the interfaces/ips just fine, but can't figure out how to then pass the IP to th

[Puppet Users] Re: Issues in setting up puppet agent and master configuratuon

2014-01-13 Thread Morris Jones
Anil, I ran into this problem as well. Here's the solution: puppetdb binds to learn.localdomain at startup for the https service, as you can see in /etc/puppetlabs/puppetdb/conf.d/jetty.ini. The problem you have is probably the same as the one I had. I edited /etc/hosts to move learn.localdomai

[Puppet Users] Re: Baffled by variable scope problem

2013-10-24 Thread Bob Jones
On Thursday, October 24, 2013 9:27:58 AM UTC-4, jcbollinger wrote: > > > > On Wednesday, October 23, 2013 10:07:37 AM UTC-5, Bob Jones wrote: >> >> Hello all. I have been banging my head against this problem and I cannot >> for the life of me determine what is

[Puppet Users] Re: Baffled by variable scope problem

2013-10-24 Thread Bob Jones
I guess I'm not the only one stumped by this problem. :) Bob On Wednesday, October 23, 2013 11:07:37 AM UTC-4, Bob Jones wrote: > > Hello all. I have been banging my head against this problem and I cannot > for the life of me determine what is wrong. We are running Puppet v3.2

[Puppet Users] Baffled by variable scope problem

2013-10-23 Thread Bob Jones
Hello all. I have been banging my head against this problem and I cannot for the life of me determine what is wrong. We are running Puppet v3.2.2. Here's the situation: We have a module called domex. The domex modules has an init.pp that defines a domex class. Various things happen in that

[Puppet Users] Re: if defined not working when class is enlcosed within Class[ ]

2013-08-19 Thread Florian Gray Jones
d(Define[ ])" or is best practice to continue using "if defined('supervisor::service')" to just check for anything of that name. Thanks again fLo On Monday, 19 August 2013 23:33:09 UTC+8, Florian Gray Jones wrote: > > Hi, > > I am learning puppet usi

[Puppet Users] if defined not working when class is enlcosed within Class[ ]

2013-08-19 Thread Florian Gray Jones
Hi, I am learning puppet using version 2.7.18 on a fresh ubuntu install. I am trying to test this module https://github.com/liamjbennett/puppet-sabnzbd/blob/master/manifests/init.ppbut I'm having trouble with the if defined(Class['supervisor::service']) section in that it doesn't get run even

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

2013-04-01 Thread Erik Jones
There is a pid file in /var/run/puppet-dashboard.pid, but this file isn't what's stopping the startup. Puppet Dashboard also stores PID information in /usr/share/puppet-dashboard/tmp/pids. You must remove /var/run/puppet-dashboard.pid and /usr/share/puppet-dashboard/tmp/pids/*. Then you'll b

Re: [Puppet Users] Puppet Meetup Australia (Melbourne, Sydney, Brisbane)

2012-11-04 Thread Matthew Jones
I'll see you all on Thursday. On Monday, 5 November 2012 11:42:52 UTC+11, Stephen Johnson wrote: > > The Melbourne location has been decided > > Beer DeLuxe on Federation Square, Thursday 8/11/2012 5.30pm > > On Monday, November 5, 2012 11:11:19 AM UTC+11, denmat wrote: >> >> I would be glad to m

[Puppet Users] Re: puppet facts.d executable PROBLEM

2012-10-11 Thread Jones
It's finally working some guy thought it's a good idea to comment the part out in the factsd script ^^ Am Donnerstag, 11. Oktober 2012 15:24:57 UTC+2 schrieb Jones: > > Hi folks, > > I'm using this plugin > https://github.com/ripienaar/facter-facts/tree/master

[Puppet Users] puppet facts.d executable PROBLEM

2012-10-11 Thread Jones
Hi folks, I'm using this plugin https://github.com/ripienaar/facter-facts/tree/master/facts-dot-d and I can't get a fact out of a simple shell script. YAML TXT JSON works well My little shell script testfact.sh looks like #!/bin/bash echo "TEST=NOT WORKING" made it executable chmod +x testfac

[Puppet Users] Service[ssh] not known - Debian

2012-09-20 Thread Jones
Hi folks, has my puppet nuts? It worked perfectly. It's too bad that we don't have monday... that would explain everything :D example: *sshd_config{* *"PermitRootLogin": value => "no",* *notify => Service['ssh'],* *}* Am I stupid? puppet version: 2.7.

[Puppet Users] external facts - debian

2012-08-30 Thread Jones
Hi, 1st the versions I use on Debian wheezy ii facter 1.6.11-1puppetlabs1all Ruby module for collecting simple facts about a host operating system ii puppet 2.7.19-1puppetlabs2all Centralized configurat

[Puppet Users] Don't touch non-default config files

2012-08-29 Thread Jones
Hi folks, I'd like to say puppet. If the standart config file, delivered by dpkg, is changed and has also not the same md5sum as the file I want to deliver with puppet. Do nothing :) OK guys.. that was not my idea! I say everything has to be changed in puppet and not by hand. Or Maybe there i

Re: [Puppet Users] Re: all classes applied to every node

2012-08-20 Thread Jones
Thanks! I had the same issue. Works out well. node webserver01...12 inherits default { class { "nagios::webserver":stage => post } include apache::apache_security include apache::php_security include apache::apache_conf_webserver } Am Dienstag

Re: [Puppet Users] Example42 MySQL puppet-module

2012-02-21 Thread Thomas Jones
mysql::grant { ["db1", "db2"]: mysql_privileges => "ALL", mysql_password => "password", mysql_db => "db1", mysql_user => ["db1", "db2"], mysql_host => "%" } } Keep in mind this sets both users with same pw for both dbs. It would be better to just copy n paste another grant directive and chg accord

[Puppet Users] Puppet SSL Problems

2012-02-03 Thread Thomas Jones
I am attempting to implement puppet for a server block of 20. Have set it up and used for 2 months now. All of a sudden i get SSL problems. Here is what ive done: Server - removed Server SSL directory completely(/var/lib/puppetmaster/ssl). Server(Client) - removed Client SSL directory completely(/

[Puppet Users] Sensible, Manageable, CentOS puppetmaster?

2011-02-16 Thread Howard Jones
I've been going round in circles a little bit in the last few days trying to figure out how to get a 64-bit CentOS-based puppetmaster that can be managed/provisioned via puppet also - so I'd like ruby, passenger, rails etc coming from RPMs and yum. As far as I can see, the three choices are: 1) Pup

[Puppet Users] "Registering" a node with a central service?

2011-01-26 Thread Howard Jones
I have a couple of applications (backup, Cacti, Asset Tracking) where I want a node to have some package and config installed, and once that is done, some config to be done on another system to register the client with a central server. Is there a standard way to do this, short of having some kind