Re: [Puppet Users] Error 500 on SERVER undefined method safe_load

2023-11-09 Thread James Millsap
Ok, so yea, it was a good samaritan updating all the puppet agents via satellite. No big deal on the clients, but that does break the server in a very annoying way. Thank you for the assistance! On Thursday, November 9, 2023 at 12:23:05 PM UTC-8 James Millsap wrote: > Migrating/upgrad

Re: [Puppet Users] Error 500 on SERVER undefined method safe_load

2023-11-09 Thread James Millsap
/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `' Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run On Thursday, November 9, 2023 at 8:25:05 AM UTC-8 Martin Alfke wrote: > > On 8. Nov 2023, at 20:17, James Millsap

Re: [Puppet Users] Error 500 on SERVER undefined method safe_load

2023-11-08 Thread James Millsap
Thank you very much for the reply! We are running these versions... puppetserver version: 5.3.11 ruby 2.0.0p648 psych (2.0.0) hiera 3.12.0 On Wednesday, November 8, 2023 at 11:01:16 AM UTC-8 ben.ford wrote: > Hey James! That error sounds like you have an out-of-date Psych YAML gem. >

[Puppet Users] Error 500 on SERVER undefined method safe_load

2023-11-08 Thread James Millsap
We have a fairly mature puppet instance along with foreman for classification. For some reason, yesterday, everything started failing with this error: Info: Using environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog

Re: [Puppet Users] Can I store RPM's on the Puppet Server to install on agents ?

2022-09-29 Thread James Pryor
I would not choose an Exec resource type as the method to install RPM packages from vendors, be it RPMs on a local filesystem or served by HTTPS-based repo. You can and have the ability to keep the OS Packages (RPM/DEB) on the PE host machine like you can store any files on the PE host. But I

Re: [Puppet Users] Puppet Log Directory Permissions

2019-06-04 Thread James Pryor
u:nonprivuser:r /etc/somefile [root@centos7 etc]# getfacl somefile # file: somefile # owner: root # group: root user::rw- user:nonprivuser:r-- group::r-- mask::r-- other::--- Regards, James On Tue, Jun 4, 2019 at 1:59 PM Peter Krawetzky wrote: > I want to be able to ingest the puppet serv

[Puppet Users] Re: Error: The source does not exist:

2019-05-06 Thread james . adams71
I am not familiar with windows install but on Linux - in the module make a folder called files. then put any of your files in there and see if it picks up. Keep the same puppet:/// . line and see what happens. On Sunday, May 5, 2019 at 12:31:58 PM UTC-5, Deo Breathnu wrote: > > Sorry I am

[Puppet Users] New to puppet trying to copy files based on extension to certain nodes

2019-04-12 Thread James Adams
Is there a wildcard type feature I can use to copy all files from a folder with specific extension to certain hosts? Here is what I have I have a large number of files with the hostname at end of file. files/ssl.conf_xq-poc02 files/svn-deny.conf_xq-poc02 files/userdir.conf_xq-poc02

[Puppet Users] Using variable for user password hash causes password updated each run.

2018-10-18 Thread James Perry
I have been asked to set password for a user so it is unique on every single host we support. I have a script that generates the password and I had pulled it in via a generate call. The scripts takes in two of facter values to be used to aid in generating the password. $myvar =

Re: [Puppet Users] Using Start-Job from a Puppet module

2018-04-16 Thread James Pogran
ng 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/81ddfefb-ea11-4cc5-bd08-05a62db0fa5e%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/81ddfef

Re: [Puppet Users] DSC / StorageDSC - Supported? Multiple resource name definitions?

2018-03-07 Thread James Pogran
n the web visit https://groups.google.com/d/ > msgid/puppet-users/f9968e37-bc67-4001-a17a-d6a64c01b647%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/f9968e37-bc67-4001-a17a-d6a64c01b647%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, v

[Puppet Users] Re: interpolation of puppet fact, with quotes, into erb template

2017-08-19 Thread James Perry
Did you try assigning the @domain_suffix to a local variable in the embedded Ruby and see if that would permit it to do as you want? On Friday, August 18, 2017 at 8:02:59 PM UTC-4, John wrote: > > i have this bit of code here > ><% @microservices.sort.each do |service,val| -%> >

Re: [Puppet Users] Puppet agent installation error.

2017-06-12 Thread James Pryor
That error message output is perhaps telling you what you need to do to fix the problem, which is to classify your master node with the appropriate pe_repo::platform:: subclass. Have you followed the directions for PE agents?

[Puppet Users] Re: Patch Automation By Puppet

2017-06-01 Thread James Perry
It really depends on the OS and how you want to handle it. Puppet already has the package ( https://docs.puppet.com/puppet/latest/type.html#package) with the option *ensure => latest,* that will keep the package at the most recent patches available in repos defined on the hosts. If you

[Puppet Users] Re: Need to put iterative value in a file

2017-05-05 Thread James Perry
Have you looked into the sshkey type already built into Puppet at https://docs.puppet.com/puppet/4.10/types/sshkey.html? Another option or possible combination would be to look at file_line function in Puppet's stdlib package. Using

[Puppet Users] Have Puppet remove a user when the associated class which created it is removed

2017-05-05 Thread James Perry
As I keep tweaking our Puppet/Foreman setup, I was wondering if it was somehow possible to auto-magically remove uses when the associated class is removed from the server. All of our Puppet code is under source code management and requires a full change approval process to implement. I

[Puppet Users] Way to dynamically build a hash / array using wrapper class

2017-04-28 Thread James Perry
So as I began working through sudo setups I found a unexpected problem I'm trying to find the *proper* way to correct the first time instead of having to hack code to make it work for now. In particular we have multiple cases were the same Cmnd_alias is used with different settings. I know the

[Puppet Users] Re: err: Could not request certificate: unknown message digest algorithm

2017-04-28 Thread James Perry
Looking at the help for the Puppet Agent (puppet agent --help), it seems that the supportable message digests depend on what your version of OpenSSL installed. * --digest: Change the certificate fingerprinting digest algorithm. The default is SHA256. Valid values depends on the version of

Re: [Puppet Users] theforeman\foreman module?

2017-04-28 Thread James Perry
This may sound stupid, or even idiotic, but have you tried running the foreman-installer --noop --verbose to see what it shows? I have found that when I patch my Linux servers that HTTP and other configs get completely messed up. Running the foreman-installer pulls the details from the answers

[Puppet Users] Re: puppetlabs-inifile versus sudoers

2017-04-28 Thread James Perry
As I have very recently dug into modifying sudoers myself, you may want to look at the saz/sudo module at Puppet Forge. It allows you to do a lot of different methods to create a sudoers file that fits the supported OS. If you want to just do edits, you may want to look at the stdlib -

Re: [Puppet Users] Re: How to dynamically change sudoers

2017-04-26 Thread James Perry
of setups when we let them do that on the old config. On Wednesday, April 26, 2017 at 11:54:24 AM UTC-4, Rob Nelson wrote: > > > On Wed, Apr 26, 2017 at 10:45 AM James Perry <jjpe...@gmail.com > > wrote: > >> Since all of our Puppet code is in a source code repo and re

[Puppet Users] Re: How to dynamically change sudoers

2017-04-26 Thread James Perry
I guess I should have running a Foreman / Puppet setup, so I am trying to keep from having to go creating .yaml files as well as editing things like site.pp and other files. The object I am trying to accomplish is on the KISS principal. So for example my sudoers.erb has an array block for

Re: [Puppet Users] How to dynamically change sudoers

2017-04-26 Thread James Perry
What I seem to be missing is do you have subsequent classes called sudo::user_alias and sudo::user_priv? I get the Hiera yaml file setup, not how to use them selectively to have them added to the sudoers file. Thanks! -- You received this message because you are subscribed to the Google

Re: [Puppet Users] How to dynamically change sudoers

2017-04-23 Thread James Perry
Thanks. That is probably definitely easier than what I planned to try to hack into place. On Apr 23, 2017 16:45, "Rob Nelson" <rnels...@gmail.com> wrote: > James, > > Sure, I've whipped up a gist for this in the past at > https://gist.github.com/rnelson0/f407

Re: [Puppet Users] How to dynamically change sudoers

2017-04-21 Thread James Perry
I will look into that John, thanks. I haven't gotten to the Yaml level yet, but we already have a temple we use now that is standard across the OS we support. We then add in lines accordingly. I had some luck with the sudo::config setup, so I may try to merge the two. With having a class

Re: [Puppet Users] How to dynamically change sudoers

2017-04-21 Thread James Perry
BTW. I am running Foreman 1.14.3 and Puppet 4. All class assignments to nodes are done via Foreman versus the site.pp. On Friday, April 21, 2017 at 1:33:38 PM UTC-4, James Perry wrote: > > Thanks. I looked at saz/sudo, but at least they I did it, it didn't for my > needs. We have a w

Re: [Puppet Users] How to dynamically change sudoers

2017-04-21 Thread James Perry
Thanks. I looked at saz/sudo, but at least they I did it, it didn't for my needs. We have a wide range of hosts that would have oracle, dba and tomcat sudo rules. On another it would only have dba rules. I didn't quite get how I would have it setup the sudo::conf blocks to do what I would

[Puppet Users] Re: How to copy and install 3 different files from puppet master to 3 different locations

2017-04-21 Thread James Perry
I'm no expert by far, but since I have been doing a lot of reading lately for an issue I am trying to resolve, would it make sense to do a define block for this? Looking at https://docs.puppet.com/puppet/4.9/lang_defined_types.html it seems this *may* work for you with some tweaking / testing.

[Puppet Users] How to dynamically change sudoers

2017-04-21 Thread James Perry
I'm at an impasse. Due to changing requirements we have different local service accounts being added 'ad hoc' to various servers. Each needs their own set of sudoers lines. When moving from Puppet 0.25 to Puppet 4 I had to kludge something together in a hurry. It works, but not well. I

Re: [Puppet Users] Catalog compilation performance issues in Puppet 3

2017-04-20 Thread James Pryor
ster server. From https://indico.cern.ch/event/ 320819/contributions/742968/ download the PDF https://indico.cern.ch/event/320819/contributions/742968/ attachments/619020/851687/Configuration_Management_ Change_Management-James-Pryor.pdf and please see pages 32 - 37 that show the load on the single pu

Re: [Puppet Users] First Time Installing Puppet

2017-03-23 Thread James Pryor
alhost ~]# ruby --version ruby 2.0.0p648 (2015-12-16) [x86_64-linux] [root@localhost ~]# You might want to identify where all those ruby RPMs came from: # for i in $(rpm -qa | grep -i ruby) ; do echo $i ; yum info $i ; echo "---" ; done Regards, James On Wed, Mar 22, 2017

Re: [Puppet Users] Configure Puppet master as a universal caching proxy server

2017-03-13 Thread James Pryor
ally managed package repository system running on a server (or tiers of servers) often needs large amounts of bandwidth, especially in cases of thundering-herd problems. I hope this helps. James On Mon, Mar 13, 2017 at 9:48 AM, Patryk Bęza <patryk.b...@gmail.com> wrote: > I'm Puppet's new

Re: [Puppet Users] Manage delivery and execution of RPMs not in YUM

2017-03-02 Thread James Pryor
2 14:17:01 localhost yum[13840]: Installed: mesecond-1.0.0-1.el7.x86_64 Mar 2 14:17:02 localhost vagrant: look it works I hope this has been fruitful and must bow out as I don't have any more spare-time to give to this list today, sorry. Regards, James On Thu, Mar 2, 2017 at 2:12 PM, James Pryor <

Re: [Puppet Users] Manage delivery and execution of RPMs not in YUM

2017-03-02 Thread James Pryor
ackage[mesecond]/ensure: created Notice: Finished catalog run in 4.76 seconds I hope this helps. James On Thu, Mar 2, 2017 at 11:48 AM, warron.french <warron.fre...@gmail.com> wrote: > Garrett, thanks. > > So, to clarify for myself in terms of a BEST practice are you d

Re: [Puppet Users] Puppet Language Style Guide update

2017-02-13 Thread James Perry
Are the any open source or free replacements for Geppetto? RubyMine is like $200/year, which is outside of an IT budget of $0/year for tools. On Friday, January 13, 2017 at 5:03:48 AM UTC-5, Henrik Lindberg wrote: > > On 13/01/17 08:38, Peter Faller wrote: > > Has the Gepetto auto-formatter

Re: [Puppet Users] Re: No nodes reported in Dashboard 2.0.0

2017-02-10 Thread James Pryor
109; basically glosses over PuppetDB when PuppetDB brings a whole lot to the table. Regards, James On Fri, Feb 10, 2017 at 5:21 PM, Dimitri Yioulos <dyiou...@gmail.com> wrote: > A bit more information: > > - I used instructions from O'Reilly *Learning Puppet 4* > - I se

[Puppet Users] drop-down list for class parameter values

2017-02-02 Thread James Boone
, James -- 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 vi

Re: [Puppet Users] How to read in file into array of hashes to use build start script template

2017-01-27 Thread James Perry
cycle level) to just go back to the good old days :) On Sunday, January 22, 2017 at 10:56:46 PM UTC-5, John Gelnaw wrote: > > On Friday, January 20, 2017 at 12:28:02 PM UTC-5, James Perry wrote: >> >> Thanks. >> >> The reason I have a CSV is that is what

Re: [Puppet Users] How to read in file into array of hashes to use build start script template

2017-01-20 Thread James Perry
Thanks. The reason I have a CSV is that is what is provided from the users out of their own private database where they keep this data. I have to take the detail as it is given. Now I can manually process the data to be how I think I want, but I'm trying to keep this as simple as possible for

[Puppet Users] Re: How to read in file into array of hashes to use build start script template

2017-01-20 Thread James Perry
Thanks for the code. What I am trying to find is the correct way to use what Puppet has already defined in the code base to handle processing everything into a hash of key/value pairs inside of the class, if possible. It seems that it should be able to do it, I am just looking at it wrong.

[Puppet Users] How to read in file into array of hashes to use build start script template

2017-01-13 Thread James Perry
After spending most of they day digging around and researching, I find Puppet's immutable variables are keeping me from properly handling what I'm trying to do, so I want to see if anyone else has some suggestions on how to handle was I need to accomplish. Goal: Ingest a CSV file provided by a

Re: [Puppet Users] PuppetConf talk recommendations?

2016-11-08 Thread James Pryor
Rich, I wrote up some notes and a PuppetConf re-cap at: https://github.com/jjpryor/rpug-2016-11 for the Raleigh Puppet User Group https://www.meetup.com/Raleigh-Puppet-User-Group/ Thanks, James Talks that I liked: - "Enjoying the Journey from Puppet 3.x to Puppet 4.x" -

[Puppet Users] Terraform provisioner?

2016-10-10 Thread James Turnbull
Is anyone working on a Terraform provisioner? Or have one internal that they'd like to open source (If so, am volunteering to make it all nice for the outside world and write you documentation, etc). Cheers James -- * The Art of Monitoring (https://artofmonitoring.com) * The Docker Book (https

[Puppet Users] Validation of File Issue

2016-10-03 Thread James Denton
Hi I have around 20 servers using puppet. I recently made a change to a module that adds an sshd_config file. Originally this was shipped to servers as a file however i swapped it over to become a template as a few of a servers required an addition to sshd_config. When puppet agent was run all

Re: [Puppet Users] Puppet agent for VMware agent nodes

2016-09-30 Thread James Pryor
of support, but purely my opinion. I assume your site, or customer, has a relationship with Red Hat customer facing personnel. You've mentioned the visiting Red Hat Consultant. Or perhaps there is the customer's RH Sales rep or Technical Account Manager. I would follow up with them. Regards, James On F

Re: [Puppet Users] Puppet agent for VMware agent nodes

2016-09-29 Thread James Pryor
cumentation/en/red-hat- satellite/6.2/single/host-configuration-guide#sect-Red_Hat_Satellite-Host_ Configuration_Guide-Registration-Installing_and_Configuring_the_Puppet_Agent I hope this helps, James On Thu, Sep 29, 2016 at 7:34 PM, Warron French <warron.fre...@gmail.com> wrote:

Re: [Puppet Users] Puppet 3.8 EOL Question

2016-09-28 Thread James Pryor
w up with your contacts in RH's Customer Experience & Engagement departments (Sales rep, Technical Account Manager. etc) I hope that helps, James On Wed, Sep 28, 2016 at 1:56 PM, Dan White <d_e_wh...@icloud.com> wrote: > Good idea, but I thought I'd ask in both

Re: [Puppet Users] Re: Sidedoor module

2016-06-04 Thread James Pryor
ry (noop) Notice: Class[Sidedoor]: Would have triggered 'refresh' from 3 events Notice: Stage[main]: Would have triggered 'refresh' from 1 events Notice: Applied catalog in 0.04 seconds --- end shell output On Sat, Jun 4, 2016 at 1:18 AM, James Pryor <pryj...@gmail.com> wrote: > Has

Re: [Puppet Users] Re: Sidedoor module

2016-06-03 Thread James Pryor
aris 10 VM locally, as in without speaking to the master server, via a: puppet apply --noop A "puppet apply" requires the sidedoor code to be on the solaris 10VM https://docs.puppet.com/guides/tests_smoke.html#testing-in-brief Regards, James On Sat, Jun 4, 2016 at 12:55 AM, Warro

Re: [Puppet Users] How to get modules recognized for use during classification

2016-06-01 Thread James Pryor
ards, James [1] http://puppet-lint.com [2] https://atom.io/ [3] https://atom.io/packages/search?q=puppet [4] http://www.vim.org/ [5] https://forge.puppet.com/ [6] https://puppet.com/community/user-groups On Wed, Jun 1, 2016 at 8:23 PM, warron.french <warron.fre...@gmail.com> wrote: &g

Re: [Puppet Users] How to get modules recognized for use during classification

2016-06-01 Thread James Pryor
familiarity with the docs will eventually make you speed up. Regards, James On Wed, Jun 1, 2016 at 3:20 PM, warron.french <warron.fre...@gmail.com> wrote: > Another question... > I have rebuilt my Puppetmaster (as some of you already know), and > copied into place a

Re: [Puppet Users] Reset Admin password

2016-05-30 Thread James Pryor
https://puppet.com/blog/puppet-enterprise-console-password-reset I hope this helps. James On Mon, May 30, 2016 at 9:39 PM, warron.french <warron.fre...@gmail.com> wrote: > I have root access to the server, which has a monolithic installation of > PE installed. > > > Can s

[Puppet Users] Duplicate resource declaration error.

2016-05-17 Thread James Denton
Hi All I've been having the following issue when inheriting a base class into another class that requires a resource file to be overwritten, im not sure if this is a puppet or Foreman error though. The error i receive is: Could not retrieve catalog from remote server: Error 400 on SERVER:

Re: [Puppet Users] Error: Could not find a suitable provider for ec2_instance : puppet Enterprise 2016.1

2016-05-04 Thread James Pryor
/gems.markdown#installing-and-removing-gems I hope I'm correct and I hope this helps. James On Wed, May 4, 2016 at 6:04 AM, Saurabh Agrahari <agrahari.saur...@gmail.com > wrote: > I keep getting error "Could not find a suitable provider for ec2_instance" > while running a

Re: [Puppet Users] Puppet enterprise, setup and use different environment for a node

2016-04-13 Thread James Pryor
For PE 2015.x I think you are looking for "*Agent-specified** environment*" https://docs.puppet.com/pe/2015.3/console_classes_groups.html On Apr 13, 2016 10:53 AM, "'Manuela Atoui' via Puppet Users" < puppet-users@googlegroups.com> wrote: > Dear all, > beg your pardon if this question was already

Re: [Puppet Users] puppet module environment bug?

2016-01-29 Thread James Green
/tools_office/modules and got the expected results for both list and upgrade, but I'm concerned that --environment does not provide equivalent exclusivity for change operations. James On 29 January 2016 at 10:19, Lowe Schmidt <m...@loweschmidt.se> wrote: > /etc/puppet/modules is availabl

[Puppet Users] puppet module environment bug?

2016-01-29 Thread James Green
in the other environments? Is it a bug? Version: 3.8.5 Thanks, James -- 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...@google

Re: [Puppet Users] Active Directory integration for Linux and Solaris - possible with Puppet ?

2015-08-31 Thread James A. Peltier
? Yes | Thanks in advance for the answers. You're welcome | With kind regards | Zalezny -- -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 604-365-6432 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.sfu.ca

[Puppet Users] 2015 IT Monitoring Survey - closing shortly!

2015-07-17 Thread James Turnbull
. The survey is totally anonymous and the data won’t be used for any commercial purposes. Thanks in advance! James Turnbull -- * The Art of Monitoring (http://artofmonitoring.com) * The Docker Book (http://dockerbook.com) * The LogStash Book (http://logstashbook.com) * Pro Puppet (http://tinyurl.com

[Puppet Users] Please take the 2015 Monitoring Survey!

2015-06-16 Thread James Turnbull
://www.surveymonkey.com/s/monitoringsurvey2015. Thanks in advance! James Turnbull -- * The Art of Monitoring (http://artofmonitoring.com) * The Docker Book (http://dockerbook.com) * The LogStash Book (http://logstashbook.com) * Pro Puppet (http://tinyurl.com/ppuppet2 ) * Pro Linux System Administration (http

Re: [Puppet Users] Re: Multiple facts getting the same value

2015-05-11 Thread James Olin Oden
That was exactly what was confusing me. I had figured this out shortly after sending the email...but I'm glad I didn't reply as I got your structured facts answer which is good information to know. Thanks...James On Mon, May 11, 2015 at 10:01 AM, jcbollinger john.bollin...@stjude.org wrote

[Puppet Users] Multiple facts getting the same value

2015-05-08 Thread James Olin Oden
wrong or not understanding? Thanks...James -- 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

[Puppet Users] Upgrading from 0.25.1 to 3.7.4

2015-04-01 Thread James Perry
I have been tasked to upgrade puppet 0.25.1 to 3.7.4. There has been a lot of past admins tweaking this puppet server and most of the existing modules are all ad-hoc creations. I want to ensure I do not miss any expected dependencies, but I also do not have months to manually traverse the

Re: [Puppet Users] Trouble with service resource detecting systemd as provider on FC19

2015-03-26 Thread James Olin Oden
...James On Wed, Mar 25, 2015 at 8:17 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, it sure is disappointing that the most recent agent version will not select the correct default provider on your FC19. Is systemd default on this platform? Or have you configured this box this way

Re: [Puppet Users] Trouble with service resource detecting systemd as provider on FC19

2015-03-26 Thread James Olin Oden
snip It appears[1] that systemd should work without modification on FC19. James, what version of facter do you have? Most importantly does it have a fact for operatingsystemmajrelease? It does: [root@jefe ~]# facter | grep operatingsystemmajrelease operatingsystemmajrelease = 19 Best

Re: [Puppet Users] Could not retrieve file metadata ... end of file reached

2015-03-17 Thread James Green
: Could not retrieve catalog; skipping run The above all happened within a few seconds. I might argue within 4-5 seconds. Unless of course I'd misunderstood your hypothesis? On 13 March 2015 at 05:28, Josh Cooper j...@puppetlabs.com wrote: On Thu, Mar 12, 2015 at 4:21 AM, James Green

[Puppet Users] Trouble with service resource detecting systemd as provider on FC19

2015-03-13 Thread James Olin Oden
', } The puppet apply would work fine. This however makes my resource non portable to systems not using systemd. Is this a bug of some sort? Am I doing something wrong? Thanks...James -- You received this message because you are subscribed to the Google Groups Puppet Users group

Re: [Puppet Users] Could not retrieve file metadata ... end of file reached

2015-03-12 Thread James Green
to run under mod passenger Are we looking at a known bug or are we really going to need to debug this? James On 11 March 2015 at 09:47, James Green james.mk.gr...@gmail.com wrote: Hi, Sorry for the delayed response. In our case we are using Passenger. On 5 March 2015 at 15:24, Henrik Lindberg

Re: [Puppet Users] Could not retrieve file metadata ... end of file reached

2015-03-12 Thread James Green
I was running puppet agent -t --noop repeatedly with this error. Running again, this time omitting --noop, it succeeded. Not entirely clear what this tells me... On 12 March 2015 at 10:58, James Green james.mk.gr...@gmail.com wrote: Error: /Stage[main]/Our_unattended_upgrades/File[/etc/apt

[Puppet Users] puppetdb console and docs

2015-03-11 Thread James Green
The documentation at https://docs.puppetlabs.com/puppetdb/latest/maintain_and_tune.html talks about checking the MQ depth. I'm not seeing such a thing on our dashboard but plenty of others not documented such as Catalogue Duplication. Am I looking at outdated documentation? James -- You

Re: [Puppet Users] Could not retrieve file metadata ... end of file reached

2015-03-11 Thread James Green
Hi, Sorry for the delayed response. In our case we are using Passenger. On 5 March 2015 at 15:24, Henrik Lindberg henrik.lindb...@cloudsmith.com wrote: On 2015-05-03 12:02, James Green wrote: We occasionally have an agent fail because of this. I'm told by others running the agents more

[Puppet Users] puppet module list upgrades-available

2015-03-09 Thread James Green
, James -- 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

[Puppet Users] Could not retrieve file metadata ... end of file reached

2015-03-05 Thread James Green
to debug this? A few minutes on, and the agent in this case has now succeeded... Thanks, James -- 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

Re: [Puppet Users] Continuous Availability

2015-02-19 Thread James A. Peltier
- Original Message - | I am trying to setup CA environment or puppet. How do i approach for the | solution and what are the options available? | Thank you in advance. Perhaps you're mixing two technologies? High Availability and Continuous Integration/Delivery/Deployment? -- James

Re: [Puppet Users] puppetdb dies at random

2015-02-17 Thread James Green
parameters, we'll see how things go for the time being. Thanks, James On 16 February 2015 at 13:04, Ken Barber k...@puppetlabs.com wrote: 16850 puppetdb 20 0 12.697g 418684 14848 S 0.9 0.4 4:32.74 java That's top now since it began running around 10.30 this morning (GMT). 12G

Re: [Puppet Users] puppetdb dies at random

2015-02-16 Thread James Green
, 2015 at 11:23 AM, James Green james.mk.gr...@gmail.com wrote: We have a puppet-master box with the following installed: root@puppet-master:/var/log/puppetdb# dpkg -l | grep puppet ii facter 2.4.1-1puppetlabs1 all Ruby module for collecting simple

Re: [Puppet Users] puppetdb dies at random

2015-02-16 Thread James Green
16850 puppetdb 20 0 12.697g 418684 14848 S 0.9 0.4 4:32.74 java That's top now since it began running around 10.30 this morning (GMT). 12G of ram? It's the only proc in the list having a 'g' against it. Seems excessive..? On 16 February 2015 at 12:43, James Green james.mk.gr

[Puppet Users] puppetdb dies at random

2015-02-16 Thread James Green
:34:32,752 INFO [c.p.p.c.services] Finished database garbage collection And then we're back to replacing facts again. Any ideas where we should go from here? Thanks, James -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

Re: [Puppet Users] Puppet module

2015-02-15 Thread James A. Peltier
, for example r10k or puppet-librarian, which can be used to manage modules that get installed on the server in an environment. -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpelt

Re: [Puppet Users] Re: representing undef in hiera?

2015-02-11 Thread James Olin Oden
Hey Clayton is this documented somewhere (i.e. the us of ~ like this, or the use of ~ as a value in hiera file?). Thanks...James On Wed, Feb 11, 2015 at 10:53 AM, Clayton O'Neill clayton.one...@gmail.com wrote: In my experience using tilde as the value will pass through the equivalent

Re: [Puppet Users] Re: representing undef in hiera?

2015-02-11 Thread James Olin Oden
Never, mind I was looking in the wrong place. It's in the YAML spec (or it's a YAML thing). Tilde represents NULL (or is equivalent too): http://www.yaml.org/spec/1.2/spec.html#id2805071 Thanks...James On Wed, Feb 11, 2015 at 11:01 AM, James Olin Oden james.o...@gmail.com wrote: Hey

Re: [Puppet Users] Re: Apparent unexpectedly synthesized dependency

2015-02-05 Thread James Olin Oden
something). That said, concerning the approach of notifying a class, when doing this does this mean that all notifiable resources in the class get the notify message too? Thanks...James -- You received this message because you are subscribed to the Google Groups Puppet Users group

[Puppet Users] Apparent unexpectedly synthesized dependency

2015-02-04 Thread James Olin Oden
to development in virtual hosts]. Symbolically, I expect the dependency graphs: A - B A - C - D where B contains C, but in no way expected the graph: A-C-B-A Why might this be happening and what am I not understanding? Thanks...James -- You received this message because you

[Puppet Users] Re: Pip provider fails on RedHat osfamily when pip not installed via RPM (Could not locate the pip command)

2015-02-02 Thread Dafydd James
Thank you! This really helped. sudo ln -s /usr/bin/pip /usr/bin/python-pip Or in puppet format: file { '/usr/bin/pip-python': ensure = link, target = '/usr/bin/pip', require = Package['python-pip'] } -- You received this message because you are subscribed to

Re: [Puppet Users] concurrent r10k runs?

2015-01-19 Thread James A. Peltier
/011e02bf-0727-4d15-aca5-e8b8583c9f5e%40googlegroups.com | . | For more options, visit https://groups.google.com/d/optout . We use a lock file to ensure that only one R10K run can operate at a time. R10K does not work in a concurrent manner in our testing. -- James A. Peltier IT Services

Re: [Puppet Users] Re: Puppet hangs when hiera data uses hiera lookup

2015-01-14 Thread James Olin Oden
, it's just old software? Thanks...James On Wed, Jan 14, 2015 at 2:53 PM, Tony Thayer tony.tha...@gmail.com wrote: Are you running PE 3.4.2? I don't think it came with Hiera 1.3 bundled (the version that supports nested Hiera calls). Calling hiera from the command line won't necessarily use

Re: [Puppet Users] Puppet hangs when hiera data uses hiera lookup

2015-01-13 Thread James Olin Oden
::role=dev ::hwtype=vagrant [10.135.82.132, 10.35.249.52, 10.35.249.41] Such that I think it may be bug. Thanks for the anchors info though. Best...James On Tue, Jan 13, 2015 at 10:47 AM, Stephen Marlow tega...@gmail.com wrote: I can't say I've ever seen nested hiera lookups, and I don't know

[Puppet Users] Puppet hangs when hiera data uses hiera lookup

2015-01-13 Thread James Oden
. Thanks...James -- 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

[Puppet Users] Re: Case Statement for setting IP addresses

2014-12-16 Thread James Taylor
Ok, I found the problem. On the line with: $addr=$net$ip Should look like this: $addr=$net$ip Plus a quick thank you to Peter Bukowinski for the correction, I have clean running test code. -- James On Thursday, December 11, 2014 11:23:51 AM UTC

[Puppet Users] Case Statement for setting IP addresses

2014-12-11 Thread James Taylor
the hostname prj-sfo-ibm-102.foo.com but the structure keeps breaking with a Syntax error at '}'; expected '}' at /etc/puppet/manifests/nodes.pp:19 on node prj-sfo-ibm-102.foo.com I have looked in a couple of books and a number of websites, the structure looks correct... A little help? -- James

[Puppet Users] augeas failure - any ideas?

2014-12-10 Thread James Green
, see debug Any ideas? Thanks, James -- 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

[Puppet Users] Re: augeas failure - any ideas?

2014-12-10 Thread James Green
2014 at 14:59, James Green james.mk.gr...@gmail.com wrote: augeas { 'postfix-master-smtp-inet' : context = /files/etc/postfix/master.cf, changes = [ set smtp[type = inet]/private n, set smtp[type = inet]/unprivileged -, set smtp[type = inet]/chroot n, set

Re: [Puppet Users] Q: Maintaining installation profiles and privisioning using puppet

2014-12-07 Thread James A. Peltier
| On Friday, 21 November 2014 19:11:37 UTC, James Peltier wrote: | | You are talking about merging provisioning and management of machines in | | such | | a way that Puppet would control all aspects of the infrastructure, | | including | | what OS would be provisioned on the bare metal

Re: [Puppet Users] Q: Maintaining installation profiles and privisioning using puppet

2014-11-21 Thread James A. Peltier
control all aspects of the infrastructure, including what OS would be provisioned on the bare metal and then how it would be maintained throughout its lifecycle using Puppet. It sounds like you're interested in Puppet Razor (https://docs.puppetlabs.com/pe/latest/razor_intro.html). -- James

[Puppet Users] Re: many agents connecting at same time and 100+ nodes failed.

2014-11-06 Thread james . eckersall
Try using the splay config option on the agents. It should help to distribute the agent runs. https://docs.puppetlabs.com/references/latest/configuration.html#splay If that fails, you could try running the puppet agent from a cron job instead with randomised start times as per the below link.

Re: [Puppet Users] Re: many agents connecting at same time and 100+ nodes failed.

2014-11-06 Thread james . eckersall
I used to have issues with the agent leaking memory over time. This is going back to 2.6 days. I implemented a cron job back then to restart the agent every night and never removed the job (even though I'm now running 3.6), so I don't know if there are still memory issues with the agent

[Puppet Users] IT Monitoring Survey

2014-10-25 Thread James Turnbull
minutes to answer. The link to the survey is here: https://www.surveymonkey.com/s/monitorings Many thanks! James Turnbull -- * The Docker Book (http://dockerbook.com) * The LogStash Book (http://logstashbook.com) * Pro Puppet (http://tinyurl.com/ppuppet2 ) * Pro Linux System Administration (http

[Puppet Users] Re: pull defined type into puppet template?

2014-10-24 Thread james . eckersall
Hi Trey, You could always use the concat module. https://forge.puppetlabs.com/puppetlabs/concat Create the global fragment in the class and then use a defined type to create a concat fragment for each entry that you want. You can pass a template to each fragment. -- You received this

Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-15 Thread james . eckersall
Hi, In the cs_primitive provider, I added debug code to write the updated var to a file in /tmp. I then tried applying that with crm update as the provider does. Crm was returning errors to me that the provider wasn't. I was able to use that to determine that I didn't have all the params set

[Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-13 Thread james . eckersall
Try running the agent with --debug and --evaltrace to identify what Puppet is doing in relation to those resources. -- 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

  1   2   3   4   5   6   7   8   9   10   >