[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-11-05 Thread Trevor Vaughan
t;> and issues_url are not filled out in an expected format (or absent all >> together). >> > > We can absolutely improve metadata-lint to include whatever checks we > think are useful. Probably a good first step would be a formal spec for > that file 😜 > > _._,_._,_ >

[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-10-29 Thread Trevor Vaughan
hecks - Code coverage checks - Taking time to add tests for trivial non-critial-path items just makes it more difficult to refactor the module. Acceptance tests should be used for functionality. Trevor On Thu, Oct 28, 2021 at 4:33 PM Ben Ford wrote: > Trick question, I know

Re: [Puppet Users] Where is source rpm for puppet6 open source rpm

2020-04-22 Thread Trevor Vaughan
m would be > much easier.. > > On Wed, Apr 22, 2020 at 12:43 PM Trevor Vaughan > wrote: > > > > This community hosted project contains dockerfiles that outline the > steps required for building from source > https://github.com/simp/releng-misc/tree/master/puppet_ag

Re: [Puppet Users] Where is source rpm for puppet6 open source rpm

2020-04-22 Thread Trevor Vaughan
KfxoWsFAtiWX9Vh_RnWrG4TOw-YEA%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CA%2BFnDv1o75DP2zZN%2BHdrSKfxoWsFAtiWX9Vh_RnWrG4TOw-YEA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 x788 -

Re: [Puppet Users] Beaker - what’s your perspective?

2020-04-22 Thread Trevor Vaughan
gnificant real-world implications across the board. Note, we do use InSpec for compliance testing and have actually integrated it with Beaker in the simp-beaker-helpers gem. Thanks, Trevor On Tue, Apr 21, 2020 at 2:51 PM Konrad Scherer wrote: > On 4/21/20 3:33 AM, Bram Vogelaar wrote: > > I too f

Re: [Puppet Users] Beaker - what’s your perspective?

2020-04-20 Thread Trevor Vaughan
correct my biased opinions in here (I like Beaker). I have a presentation that I did on exactly what I use Beaker for and why I like it from last year's conference at https://www.youtube.com/watch?v=4iBEIMQkBCk. The associated repository can be found at https://github.com

[Puppet Users] Re: Building puppet-agent AIO from scratch on EL7 (partially working)

2019-09-25 Thread Trevor Vaughan
Finally got this working with the help of Morgan Rhodes at Puppet. The final working version is currently at https://github.com/trevor-vaughan/releng-misc/blob/puppet-agent-build/puppet_agent_build/Puppet_EL7_Build.dockerfile Ref: abf6b72 On Tue, Sep 24, 2019 at 2:46 PM Trevor Vaughan wrote

[Puppet Users] Re: Building puppet-agent AIO from scratch on EL7 (partially working)

2019-09-24 Thread Trevor Vaughan
As an update, the latest push to this works using a pre-built docker container. It looks like you need a stock ruby installation so I'm going to give that a go to see if I can go all the way from pure CentOS 7. On Mon, Sep 23, 2019 at 3:28 PM Trevor Vaughan wrote: > Hi All, > >

[Puppet Users] Building puppet-agent AIO from scratch on EL7 (partially working)

2019-09-23 Thread Trevor Vaughan
Hi All, I thought that some of you might be interested in helping me figure out what's wrong here. I've got a Dockerfile that I'm working on at https://github.com/trevor-vaughan/releng-misc/blob/puppet-agent-build/puppet_agent_build/Puppet_EL7_Build.dockerfile that can build the

Re: [Puppet Users] How do you keep the forge modules you use up to date (and keep your sanity)

2019-07-20 Thread Trevor Vaughan
I agree with the approach proposed by Martin. Forge for discovery, Git mirrors, pinning, and testing for daily use. This also makes it really easy to mesh in with your own internal module development and add privacy controls across the board without standing a new service. Trevor On Wed, Jul 10

Re: [Puppet Users] Re: Pastebin like service for sharing Profiles?

2019-07-19 Thread Trevor Vaughan
alternate paths, just a different module name similar to the '_p' suggestion above. Trevor On Mon, Jul 15, 2019 at 8:13 AM Rob Nelson wrote: > Hrm, I wonder how much this has to do with definitions of what a profile > module is. To me, a profile module includes a lot of comp

Re: [Puppet Users] Puppet Gurus, Question

2018-10-19 Thread Trevor Vaughan
ect, we consult on all things Puppet and are active in the community. Thanks, Trevor On Fri, Oct 19, 2018 at 6:22 AM Nick Hasser wrote: > Have you tried https://www.onyxpoint.com/? > > On Thu, Oct 18, 2018 at 2:41 PM > wrote: > >> Puppet Gurus, I am looking for a person or

Re: [Puppet Users] Problems installing PuppetDB from source - the instructions don't actually work

2018-07-05 Thread Trevor Vaughan
Hi Simon, While this isn't directly related to your question, you might want to pile onto this ticket to ensure that the community can build all of the package artifacts. https://tickets.puppetlabs.com/browse/LTH-156 Thanks, Trevor On Wed, Jun 13, 2018 at 8:01 PM Simon Tideswell

Re: [Puppet Users] How can one communicate the $confdir to the catalog builder?

2018-04-16 Thread Trevor Vaughan
Hey John, We've tested it all the way through a running Puppet 5 from upstream at this point. Feedback is most welcome! Trevor On Mon, Apr 16, 2018 at 9:31 AM, jcbollinger wrote: > > > On Sunday, April 15, 2018 at 9:11:48 PM UTC-5, Trevor Vaughan wrote: >> >> Hey Jo

Re: [Puppet Users] How can one communicate the $confdir to the catalog builder?

2018-04-15 Thread Trevor Vaughan
Hey John, We added this to 'simplib' a while ago. We named it 'simp_puppet_settings' so we didn't get name smashed whenever Puppet Inc decides to incorporate it. https://github.com/simp/pupmod-simp-simplib/blob/master/lib/facter/simp_puppet_settings.rb Thanks, Trevor

[Puppet Users] Re: [Puppet-dev] Ticket Backlog triages

2017-05-16 Thread Trevor Vaughan
ribe from this group and stop receiving emails from it, send an > email to puppet-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-dev/CADWDnr%3D%3DoCurj29EBFRVQzuYZDyxV20y4e- > GfKiBEOubp%3DYLVg%40mail.gmail.com > <https://groups.googl

Re: [Puppet Users] puppetlabs-firewall rspec

2017-04-13 Thread Trevor Vaughan
Hi Brian, You can get ahold of the catalog directly by using the 'catalogue' object. See the following for an example: https://github.com/simp/pupmod-simp-auditd/blob/master/spec/classes/config/audit_profiles/simp_spec.rb#L85 Thanks, Trevor On Wed, Apr 12, 2017 at 9:20 AM, bri

Re: [Puppet Users] Puppet Agent starting too soon

2017-03-29 Thread Trevor Vaughan
there must be *something* > triggering it. Even a simple race condition should result in some successes > if Laverne has rebooted it a few dozen times. > > > Rob Nelson > rnels...@gmail.com > > On Tue, Mar 28, 2017 at 9:08 AM, Trevor Vaughan > wrote: > >> Disabling

Re: [Puppet Users] Puppet Agent starting too soon

2017-03-28 Thread Trevor Vaughan
Disabling NetworkManager hasn't caused any issues for me so far. That said, EL7.3 might break that, so Fedora may already be broken. Trevor On Tue, Mar 28, 2017 at 9:00 AM, Rob Nelson wrote: > That wiki page says that all you should need to do is have NetworkManager > or syste

Re: [Puppet Users] Puppet Agent starting too soon

2017-03-28 Thread Trevor Vaughan
This does seem to be the fix that is required both for Fedora and EL7. Trevor On Mon, Mar 27, 2017 at 11:33 PM, Laverne Schrock wrote: > I have a box on which puppet-agent does not start correctly on reboot. > Well, to be more precise, the puppet-agent starts, but never contacts the &g

Re: [Puppet Users] RHEL 7 STIG compliance using Puppet

2017-03-03 Thread Trevor Vaughan
Hi Chris, So glad you asked. Try https://github.com/NationalSecurityAgency/SIMP for the 'official' overview and https://simp-project.com for the more visually appealing version. Thanks, Trevor On Fri, Mar 3, 2017 at 1:09 PM, Chris S. wrote: > Hello all, > > Does anyone ha

[Puppet Users] Re: [Puppet-dev] Re: Draft for new type and provider API

2017-03-01 Thread Trevor Vaughan
; if $?.exitstatus != 0 >> logger.error(title: title, "Failed executing apt-key #{...}") >> else >> logger.attribute_changed( >> title: title, >> attribute: 'content', >> old_value: nil, >> new_value: content_ha

[Puppet Users] Re: [Puppet-dev] Draft for new type and provider API

2017-02-03 Thread Trevor Vaughan
on the fly https://github.com/simp/pupmod-simp-compliance_markup Thanks, Trevor On Fri, Feb 3, 2017 at 12:23 PM, David Schmitt wrote: > > > On 3 February 2017 at 11:12, Martin Alfke wrote: > >> Hi David, >> >> many thanks for sharing your ideas. >> >> As

[Puppet Users] Re: [Puppet-dev] Draft for new type and provider API

2017-02-02 Thread Trevor Vaughan
And, of course, if we use the heap/stack model, the data is all in place (but may change based on resource processing). Hopefully this all makes sense. Thanks, Trevor On Thu, Feb 2, 2017 at 8:42 AM, David Schmitt wrote: > > > On 2 February 2017 at 02:50, Trevor Vaughan > wrote: &g

[Puppet Users] Re: [Puppet-dev] Draft for new type and provider API

2017-02-01 Thread Trevor Vaughan
, I want my clients to do as little work as possible since they're meant to be running business processes. I'll definitely be keeping an eye on this conversation though. Thanks, Trevor On Tue, Jan 31, 2017 at 11:04 AM, David Schmitt wrote: > Hi *, > > The type and provider A

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Trevor Vaughan
'puppet apply' and files with resource generators and 'notify' statements. Thanks, Trevor On Wed, Jan 11, 2017 at 2:59 PM, Zachary Vida wrote: > Exponential? Really or just an expression, but rough estimate is probably > about 5k > > On Wed, Jan 11, 2017, 2:50 P

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Trevor Vaughan
How many resources are in your catalog? Puppet starts to hit exponential catalog sizes and run times as you approach 10k resources. Thanks, Trevor On Wed, Jan 11, 2017 at 12:58 PM, Zachary Vida wrote: > Hello, I was wonder if there are any significant impovements in later > version of

Re: [Puppet Users] Over-engineering rant

2017-01-10 Thread Trevor Vaughan
be hairy. > > this really is the same flow as I highlighted and as shown puppet could > just > do it for us > > > > > > > Rob Nelson > > rnels...@gmail.com > > > > On Tue, Jan 10, 2017 at 9:16 AM, Trevor Vaughan > > wrote: > > >

Re: [Puppet Users] Over-engineering rant

2017-01-10 Thread Trevor Vaughan
over certificates with ease. Trevor On Mon, Jan 9, 2017 at 9:04 PM, Rob Nelson wrote: > I think certificate handling is a valid critique of puppet's security > implementation. Running a public key infrastructure of any sort is > difficult. Things like expired CAs and a lack of inter

Re: [Puppet Users] Issue using NFS directories as environments in Puppet 4

2017-01-03 Thread Trevor Vaughan
The Puppet *server* should be running as 'puppet' or 'pe-puppet', not 'root'. Can you double check that this isn't the root of your issue? Trevor On Tue, Jan 3, 2017 at 2:10 PM, PK wrote: > Rob, > > No. Symlink to a local file system works fine.

Re: [Puppet Users] Issue using NFS directories as environments in Puppet 4

2017-01-03 Thread Trevor Vaughan
Do you have SELinux enabled? Also, do you have 'all_squash' enabled on your NFS directories? Trevor On Mon, Jan 2, 2017 at 5:51 PM, PK wrote: > Hi All, > > I seem to be running into an issue when I try to use environments in my > test Puppet 4 setup. I am in the pro

Re: [Puppet Users] Exported resources in Puppet 4 without using PuppetDB?

2016-12-18 Thread Trevor Vaughan
faster than getting approval from on high! Thanks, Trevor On Sun, Dec 18, 2016 at 1:14 PM, Johnson Earls wrote: > Trevor: PostgreSQL is considered a competing product. We're not allowed > to use competing products without getting approval from the corporate > information security g

Re: [Puppet Users] Exported resources in Puppet 4 without using PuppetDB?

2016-12-18 Thread Trevor Vaughan
ular basis. In Puppet functions, you have the entire catalog at your disposal and can do with the data what you will. Good Luck, Trevor On Fri, Dec 16, 2016 at 5:52 PM, Johnson Earls wrote: > Hello all, > > I was just wondering - has anyone come across a plugin or something that >

Re: [Puppet Users] any way to debug a Puppet custom function?

2016-09-20 Thread Trevor Vaughan
Hi Thomas, This might help as a reference if you want to use rspec to test your functions. https://github.com/simp/pupmod-simp-simplib/tree/master/spec/functions Thanks, Trevor On Mon, Sep 19, 2016 at 9:30 PM, Thomas Cheng wrote: > Hi howdies, > > Recently I'm picking up some

Re: [Puppet Users] A Scalable HA Setup with on 2 configs, check this out !

2016-09-19 Thread Trevor Vaughan
S SRV structure, but that doesn't really help with load unless your servers are active rejecting above a given connection load. Thanks, Trevor On Mon, Sep 19, 2016 at 5:09 AM, Neil - Puppet List < maillist-pup...@iamafreeman.com> wrote: > Hello > > One extra thing to men

Re: [Puppet Users] I'd like to see you at PuppetConf 2016

2016-09-19 Thread Trevor Vaughan
/ > msgid/puppet-users/CAMto7L%2BRv6Qwkqpn1rcDSQn6DSStZj_ > 4EtVrCVgD6zfbnpwNxw%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAMto7L%2BRv6Qwkqpn1rcDSQn6DSStZj_4EtVrCVgD6zfbnpwNxw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visi

Re: [Puppet Users] Stubbing functions in Puppet rspec

2016-08-05 Thread Trevor Vaughan
Hi Peter, See if this helps https://github.com/onyxpoint/puppet-gpasswd/blob/master/spec/unit/provider/group/gpasswd_spec.rb Thanks, Trevor On Fri, Aug 5, 2016 at 8:04 AM, Peter Berghold wrote: > I have this wonderful module that calls various custom functions that I've > writt

Re: [Puppet Users] new CIS Benchmark compliance module for RHEL 7

2016-08-01 Thread Trevor Vaughan
Hi Mike, I would HIGHLY suggest renaming your module unless you've paid CIS the requisite $9-20k to use their name. Red Hat has a C2S profile that should work. Trevor On Sun, Jul 31, 2016 at 12:58 PM, mike r wrote: > testing welcome. thanks. > > https://forge.puppet.com/perfec

Re: [Puppet Users] Newbie question re Hiera

2016-06-22 Thread Trevor Vaughan
Hi Alex, You can use this Gist to do what you want: https://gist.github.com/trevor-vaughan/2c404efd0f1f881bbf56eef7bc949eb0 Thanks, Trevor On Tue, Jun 21, 2016 at 7:14 PM, Alex Samad wrote: > Hi > > I have a greenfield install. Centos 6.x puppet opensource latest. > installed

Re: [Puppet Users] Broken puppetdb

2016-06-11 Thread Trevor Vaughan
Get rid of this: storeconfigs = true Trevor On Sat, Jun 11, 2016 at 10:35 PM, Zeke Dehnert wrote: > Here is my puppet.conf. > > # This file can be used to override the default puppet settings. > # See the following links for more details on what settings are available: &

Re: [Puppet Users] Broken puppetdb

2016-06-11 Thread Trevor Vaughan
That still looks like your server is trying to send things to PuppetDB. Check the puppet.conf and grep for puppetdb in your puppet and puppet server configuration settings and make sure it's been removed. Also, fully restart your puppetserver process. An API hit won't do the job. Trev

Re: [Puppet Users] Broken puppetdb

2016-06-11 Thread Trevor Vaughan
ng in there). Restart the puppet server and things should work again. Trevor On Fri, Jun 10, 2016 at 11:36 PM, jdehnert wrote: > Greetings All, > > I decided to try and implement the puppetlabs-puppetdb and > puppetlabs-postgres modules after I had both puppetdb and postgres > i

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-25 Thread Trevor Vaughan
Hi Jim, Your logs should be in /var/log/puppetserver/puppetserver.log. Also, I'm guessing that you need to change the Xmx java option in your puppetserver start script. Trevor On Tue, May 24, 2016 at 8:51 AM, Jim wrote: > Any idea which log file to look at when I run the service pupp

Re: [Puppet Users] Hiera 2.0 with Puppet 3.x

2016-05-24 Thread Trevor Vaughan
Hi Scott, We're using Hiera 3.0.5 with Puppet 3.8 on the SIMP project right now with absolutely no issues. We used Hiera 2 briefly, but moved on to Hiera 3 when it got to be stable. Thanks, Trevor On Thu, May 19, 2016 at 4:19 PM, Scott Briggs wrote: > Does anyone have any experie

Re: [Puppet Users] My custom puppet function changes values

2016-05-18 Thread Trevor Vaughan
This should work in all versions of Ruby (YMMV) 'foo.bar.baz'.each_byte.map{|x| x}.join.to_i % 64511 + 1024 Trevor On Wed, May 18, 2016 at 7:37 PM, p wrote: > I'm doing this instead: > module Puppet::Parser::Functions > newfunction(:ip_port, :type => :rvalue) do

Re: [Puppet Users] My custom puppet function changes values

2016-05-18 Thread Trevor Vaughan
cron. Trevor On Tue, May 17, 2016 at 7:42 PM, p wrote: > Hi Everyone, > > My custom puppet code changes values randomly. Why? > > This code creates a random port for me based on the argument's hash. The > idea is that this will create a TCP port for me based on the name of t

Re: [Puppet Users] Puppet 4 syntax highlighting in Wordpress

2016-04-11 Thread Trevor Vaughan
/groups.google.com/d/msgid/puppet-users/CAGUqgV8abAnVfSzk5mH_nzMETxjo2APa-%2B7-V_HUTUL9o499bg%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAGUqgV8abAnVfSzk5mH_nzMETxjo2APa-%2B7-V_HUTUL9o499bg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > >

Re: [Puppet Users] Puppet Types auto generator

2016-04-07 Thread Trevor Vaughan
r. Thanks, Trevor On Thu, Apr 7, 2016 at 4:15 AM, Christoph Andreas Torlinsky < christ...@nuagenetworks.net> wrote: > Hello there, i'm looking for a puppet types generator tool / toolkit as we > have an API (Restful interface) and spec files that we would like > to convert to

Re: [Puppet Users] how to check existences of a file in a ERB template?

2016-03-29 Thread Trevor Vaughan
be ideal. Then, in your template, change your line to <%- if @has_wp_extra_config -%> and you should be good to go. Trevor On Mon, Mar 28, 2016 at 3:44 PM, Sans wrote: > Hi there, > > I'm setting up a multi-tenancy WordPress environment, where multiple sites > are structured

Re: [Puppet Users] Puppet 4 syntax highlighting in Wordpress

2016-03-27 Thread Trevor Vaughan
Hi Alex, I don't think that any specific highlighting has been released for Puppet 4 but I find that the Ruby syntax highlighting does a reasonable job in most cases. Trevor On Sun, Mar 27, 2016 at 4:53 AM, Alex Harvey wrote: > Hi all, > > Does anyone out there have any tips fo

Re: [Puppet Users] Puppet Enterprise + SELinux

2016-03-24 Thread Trevor Vaughan
Hi Thomas, This looks like a bug in the installation RPM. I would file a bug against PE with your proposed fix as it looks correct and should be part of the RPM post installation. Trevor On Thu, Mar 24, 2016 at 5:16 AM, Thomas Müller wrote: > Hi > > Does Puppet Enterprise suppor

Re: [Puppet Users] Is there a solid EOL date for the Puppet 3.8 release family?

2016-03-22 Thread Trevor Vaughan
Thanks Eric. I know I'm being super irritating on this thread, but a link from one to the other might make this management proof. For now, I'll just send along both to those that ask. Thanks, Trevor On Tue, Mar 22, 2016 at 4:54 PM, Eric Sorenson wrote: > Oh boy. It could, I gue

Re: [Puppet Users] Is there a solid EOL date for the Puppet 3.8 release family?

2016-03-22 Thread Trevor Vaughan
Security releases are really all that's important to most compliance-focused orgs. Could that page link to the versions of each sub-component that is included? Thanks! Trevor On Tue, Mar 22, 2016 at 11:37 AM, Eric Sorenson < eric.soren...@puppetlabs.com> wrote: > Sorry for the

Re: [Puppet Users] Is there a solid EOL date for the Puppet 3.8 release family?

2016-03-19 Thread Trevor Vaughan
Thanks Carthik. Unfortunately, we need to know this for all of the components, FOSS or otherwise. Thanks for the links. Trevor On Tue, Mar 15, 2016 at 7:51 PM, Carthik Sharma wrote: > HI Trevor, > > For PE, this page might help: > https://puppetlabs.com/misc/puppet-enterprise-lif

Re: [Puppet Users] Is there a solid EOL date for the Puppet 3.8 release family?

2016-03-19 Thread Trevor Vaughan
Certainly possible, but deductions aren't stated facts on URLs that you can put in front of management. Trevor On Wed, Mar 16, 2016 at 10:41 AM, Miguel Di Ciurcio Filho < mig...@instruct.com.br> wrote: > On Wed, Mar 16, 2016 at 10:12 AM, Trevor Vaughan > wrote: &

Re: [Puppet Users] Pasword retrievel from external source on node

2016-03-10 Thread Trevor Vaughan
t quite hit the mark across the board for what I would like. If anyone would like to start this, I'd be more than happy to help contribute when I have time. Otherwise, I'll just hack at it when I get the chance. Thanks, Trevor On Thu, Mar 10, 2016 at 11:01 AM, Craig Dunn wrote: >

[Puppet Users] Is there a solid EOL date for the Puppet 3.8 release family?

2016-03-09 Thread Trevor Vaughan
I've had a few questions and I realized that I didn't actually know. Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 -- This account not approved for unencrypted proprietary information -- -- You received this message because you are subscribed to

Re: [Puppet Users] Force Fact within manifest

2016-03-07 Thread Trevor Vaughan
very much like to have the (thread related) ability to add one-off values to the fact DB from either the master or the client. Outside of that, a simple method for extending the PuppetDB schema to store items of interest would be most welcome. Trevor On Wed, Mar 2, 2016 at 3:03 PM, Kylo Gin

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Trevor Vaughan
in environment caching. Finally, you can add a notify to the code in question and see what comes out the other side. Trevor On Thu, Mar 3, 2016 at 9:02 AM, Sans wrote: > > Looks like to me it's not getting value from the Hiera at all. How can I > make sure of that? > > -S > &

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Trevor Vaughan
Hi Sam, Are you 100% sure that $wp_multisite is getting the value from Hiera? In this case, it looks like the value is empty. Thanks, Trevor On Thu, Mar 3, 2016 at 5:23 AM, Sans wrote: > > Hi guys, > > Suddenly started getting this error, which I cannot understand why I'

Re: [Puppet Users] Puppet Strings 'Stack Level Too Deep'

2016-02-24 Thread Trevor Vaughan
PDOC-71 Created: https://tickets.puppetlabs.com/browse/PDOC-71 Thanks, Trevor On Tue, Feb 23, 2016 at 8:54 PM, Henrik Lindberg < henrik.lindb...@puppetlabs.com> wrote: > On 23/02/16 23:54, Trevor Vaughan wrote: > >> Thanks for the response Henrik, >> >> I was worr

Re: [Puppet Users] Puppet Strings 'Stack Level Too Deep'

2016-02-23 Thread Trevor Vaughan
ps://github.com/trevor-vaughan/simp-doc git fetch --all git checkout autodoc bundle rake docs:auto Thanks, Trevor On Tue, Feb 23, 2016 at 3:41 PM, Henrik Lindberg < henrik.lindb...@puppetlabs.com> wrote: > On 23/02/16 19:24, Trevor Vaughan wrote: > >> Hi All, >> >> I&#x

[Puppet Users] Puppet Strings 'Stack Level Too Deep'

2016-02-23 Thread Trevor Vaughan
rints "SystemStackError: stack level too deep'. It also starts printing errors on files that clearly do not have errors (lint passes and 'puppet strings' on just the failing file passes). Not quite sure what's going on here or even how to debug it properly. Thanks, T

Re: [Puppet Users] Updating facts for a client in PuppetDB independently from the master

2016-02-17 Thread Trevor Vaughan
abase interface. Thanks, Trevor On Wed, Feb 17, 2016 at 4:28 PM, Thomas Müller wrote: > wouldnt next puppet run replace your out of band added fact? > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To uns

[Puppet Users] Updating facts for a client in PuppetDB independently from the master

2016-02-17 Thread Trevor Vaughan
t the API and it seems like I might have to use 'replace_facts' but I'd need to fetch the last fact set, update it, and then resubmit it with the updated information which isn't ideal but would be doable. Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410)

Re: [Puppet Users] Problems testing branching using rspec-puppet with hiera

2016-02-17 Thread Trevor Vaughan
files automatically. Thanks, Trevor On Wed, Feb 17, 2016 at 10:11 AM, Joseph Wilkicki wrote: > It isn't really feasible to convert to a class parameter since I'm testing > profiles which, as I understand it, should not be using class parameters. > I've since found a solu

Re: [Puppet Users] puppet 3 to 4 deprication error

2016-01-22 Thread Trevor Vaughan
>From the error, I would say that not all of those values are defined at that point and that's why you're seeing issues. You'll need to rewrite the statement to check if the variables are defined. Trevor On Fri, Jan 22, 2016 at 12:38 PM, wrote: > I typed the code here. It

Re: [Puppet Users] puppet 3 to 4 deprication error

2016-01-22 Thread Trevor Vaughan
If that's a copy/paste, then your second occurrence of enable_nfsd is misspelled. Trevor On Fri, Jan 22, 2016 at 11:51 AM, wrote: > I'm planning to migrate puppet3.8 to 4.x, so testing the compatibility of > code by using parser=future in puppet.conf file and was stuck at the &

Re: [Puppet Users] How to manage half file.

2016-01-15 Thread Trevor Vaughan
Sorry...Hunter's! Too early in the morning. On Fri, Jan 15, 2016 at 6:07 AM, Trevor Vaughan wrote: > Albert's suggestion is probably your best bet at the least amount of work. > > First, create a custom fact that pulls that line out of your file. > https://docs.pup

Re: [Puppet Users] How to manage half file.

2016-01-15 Thread Trevor Vaughan
plate... <%= @my_custom_fact %> ---remaining_template... This isn't a great solution but it's probably the easiest way to solve your problem quickly. I would not do this if that line is huge (some encoded binary blob or something). Trevor On Thu, Jan 14, 2016 at 11:47 AM, Albert S

Re: [Puppet Users] Possible to subscribe to all resources of a specific type?

2016-01-12 Thread Trevor Vaughan
Hi Ben, A resource collector should do what you want https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html. User<| |> ~> Resource['my_resource'] *should* work (not tested). Thanks, Trevor On Tue, Jan 12, 2016 at 3:34 PM, Schofield wrote: > Is it po

Re: [Puppet Users] Scaling with open source puppet 4?

2015-12-28 Thread Trevor Vaughan
Hi Ryan, You should be able to follow the 3.X documentation to scale Puppet 4. Some of the paths will be different, but the fundamental method should be the same. Trevor On Mon, Dec 28, 2015 at 10:50 AM, Ryan Anderson wrote: > I am using open source puppet 3.7 with a single server hosting

[Puppet Users] Baltimore PUG Catalog Diff Tool with Beaker

2015-11-23 Thread Trevor Vaughan
x27;d love to get some feature enhancements in there. It was a good time getting it all to work and hopefully we'll be doing more work like this in the future. http://www.meetup.com/Baltimore-Puppet-User-Group/events/226530296/ Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point

Re: [Puppet Users] RHEL 7 - Satellite 6.1 - Puppet Locally

2015-10-27 Thread Trevor Vaughan
Hi Tom, What's the content of test.pp? Thanks, Trevor On Mon, Oct 26, 2015 at 9:47 AM, Tom Zurita wrote: > We deploy our servers and use Puppet using Satellite 6.1. I deployed a > server and am trying to test modules locally and it NEVER works. > > cat /etc/puppet/puppet

Re: [Puppet Users] What is the preferred method for getting back a single custom fact now that facter -p is deprecated?

2015-10-25 Thread Trevor Vaughan
Got it, thanks for the update! Trevor On Fri, Oct 23, 2015 at 6:00 PM, Peter Huene wrote: > Hi Trevor, > > On Fri, Oct 23, 2015 at 2:46 PM, Trevor Vaughan > wrote: > >> While I'm a master of parsing clumped JSON by eye, not everyone might >> be... >>

[Puppet Users] What is the preferred method for getting back a single custom fact now that facter -p is deprecated?

2015-10-23 Thread Trevor Vaughan
While I'm a master of parsing clumped JSON by eye, not everyone might be... Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 -- This account not approved for unencrypted proprietary information -- -- You received this message because you are subscribed t

Re: [Puppet Users] Security: Potential exposure of CA key under puppetserver

2015-09-30 Thread Trevor Vaughan
Hi Eric, Will a CVE be issued for this? Thanks, Trevor On Wed, Sep 30, 2015 at 12:47 AM, Eric Sorenson < eric.soren...@puppetlabs.com> wrote: > We've identified and are fixing a condition in puppet where the > auto-generated > CA private key is created with too-leinent

Re: [Puppet Users] Submit a talk for an upcoming Puppet Camp

2015-09-23 Thread Trevor Vaughan
n also hit Atlanta and North Carolina if you would like. Thanks, Trevor On Tue, Sep 15, 2015 at 2:40 PM, Kara Sowles wrote: > I wanted to remind everyone that we have several open CFPs for > upcoming events, and I would love to see more people submitting talk > proposals for them! >

Re: [Puppet Users] fact truth, string interpolation, and str2bool

2015-09-15 Thread Trevor Vaughan
If I'm remembering correctly, str2bool used to fail when passed a Boolean. Therefore, to be safe in *all* cases, you would want to use the prescribed method. Trevor On Tue, Sep 15, 2015 at 5:53 PM, Clay Caviness wrote: > I'm going through our puppet configuration trying to get

Re: [Puppet Users] Digest for puppet-users@googlegroups.com - 2 updates in 1 topic

2015-09-15 Thread Trevor Vaughan
The audit -> exec trigger was one that I hadn't thought about really and is a valid use case. However, that does scream that a custom type is needed. Trevor On Mon, Sep 14, 2015 at 12:17 PM, Corey Osman wrote: > I have actually used audit quite extensively at a previous client. >

Re: [Puppet Users] puppet module - check if port is opened before running resource

2015-09-15 Thread Trevor Vaughan
://docs.puppetlabs.com/facter/2.2/custom_facts.html. Thanks, Trevor On Tue, Sep 15, 2015 at 10:28 AM, aldantas wrote: > No, it is remote. I am deploying a application cluster that has some nodes > dependencies, so basically in order to execute a script in one node I need > to make sure first that t

Re: [Puppet Users] puppet module - check if port is opened before running resource

2015-09-14 Thread Trevor Vaughan
nd go from there. Generally, Puppet would be managing the service that actually listens on the port and you would simply include your manifest after starting that service. However, without knowing your setup, it's difficult to tell if you are in this situation. Thanks, Trevor On Mon, Sep 14,

Re: [Puppet Users] Do you use Audit attribute or "puppet inspect" ?

2015-09-14 Thread Trevor Vaughan
hanks, Trevor On Mon, Sep 14, 2015 at 5:01 AM, Jo Rhett wrote: > I have numerous clients using the audit attribute to track changes to > files not managed by Puppet. This provides tripwire-like functionality for > observing changes to files not directly managed by Puppet. It also allows &g

Re: [Puppet Users] Is there a method for puppet to find all suid files?

2015-09-08 Thread Trevor Vaughan
27;ll end up slowing everything down over time.) Thanks, Trevor On Tue, Sep 8, 2015 at 12:15 AM, Corey Osman wrote: > As Trevor mentioned above this is something you want to control externally > via cron and not puppet. I took a slightly different approach and used an > external fac

Re: [Puppet Users] Is there a method for puppet to find all suid files?

2015-09-06 Thread Trevor Vaughan
your system over time. Thanks, Trevor On Fri, Sep 4, 2015 at 2:54 PM, Sean wrote: > Hi, > > I'm using a module from the Forge to manage auditd rules, the module works > quite well and managing rules is very easy. The hard part is that there's > a requirement to aud

Re: [Puppet Users] vhosts with multiple ip addresses with apache Forge Module

2015-09-02 Thread Trevor Vaughan
Looks like that is, indeed, a bug. I would file a bug report over at https://tickets.puppetlabs.com/browse/MODULES/ Trevor On Wed, Sep 2, 2015 at 10:17 AM, wrote: > Hello, > > within the last project, I recognized that there is no way to generate one > vhost with more than one ip

Re: [Puppet Users] Can I store my hiera data file inside puppet agent side

2015-08-31 Thread Trevor Vaughan
. If you could provide some additional details, it would be easier to provide you with an answer that might meet your goals. Thanks, Trevor On Mon, Aug 31, 2015 at 12:44 AM, Malintha Adikari wrote: > Hi, > > Can I store and use my hiera data file in my puppet agent machine rather >

Re: [Puppet Users] How do you track large lists of modules?

2015-08-29 Thread Trevor Vaughan
s this morning and ran into most of them still. Thanks, Trevor On Sat, Aug 29, 2015 at 1:05 AM, Trevor Vaughan wrote: > Hi Lindsey, > > These may be fixed (hoping!) > > 1) The ability to run it as a Gem > > 2) The ability to generate docs for all of your modules without

Re: [Puppet Users] How do you track large lists of modules?

2015-08-28 Thread Trevor Vaughan
the way that I *expect* it to work is: $ puppet-strings /path/to/my/development/stack/modules Output: puppet_doc/index.html Faces are fun until you start trying to use them across 3 different versions of Ruby and not have them inject into your working module set. Thanks, Trevor On Fri, Aug

Re: [Puppet Users] How do you track large lists of modules?

2015-08-28 Thread Trevor Vaughan
README.md in each module and we're slowly getting there but it's quite time consuming. Trevor On Fri, Aug 28, 2015 at 5:00 PM, leam hall wrote: > I'm wondering how people track large lists of modules, to ensure new team > members know which does what, when the last time a mod

Re: [Puppet Users] comments on the Type system and some questions

2015-08-01 Thread Trevor Vaughan
path => Optional[String[1]], NotUndef[owner] => Optional[String[1]] } ] I honestly have no idea if that will process correctly though, it's massively tedious, and it would probably need a lot of commenting. Trevor On Thu, Jul 30, 2015 at 10:36 AM, R.I.Pienaar wrote: > hell

Re: [Puppet Users] Case of the "missing" Ruby file

2015-07-20 Thread Trevor Vaughan
wrong with your GEM_PATH, but it could be any number of things including conflicts with the system Ruby. Thanks, Trevor On Mon, Jul 20, 2015 at 9:39 AM, Peter Berghold wrote: > Hi folks, > > I've bravely stepped out into the world of writing tests for my Puppet > modules to ensure

Re: [Puppet Users] puppetserver does not sign its certificate

2015-07-20 Thread Trevor Vaughan
Hmm...I think you'll need to run 'puppet cert' by hand to set up the CA prior to firing off the Puppet Server. I don't know that it's a bug, but it's certainly a documentation issue if you have to do this. Thanks, Trevor On Sun, Jul 19, 2015 at 5:22 PM, Felix

[Puppet Users] Re: [Puppet-dev] [announce] puppetlabs-concat 2.0.x release deletion

2015-06-11 Thread Trevor Vaughan
orted version. I'm 100% behind tossing my code if someone else is going to do the heavy lifting but it needs to meet my requirements to be able to integrate it successfully. Thanks, Trevor On Thu, Jun 11, 2015 at 5:42 PM, Bryan Jen wrote: > If you aren’t using puppetlabs-concat or are st

Re: [Puppet Users] 8K node infrastructure and CA setup

2015-06-08 Thread Trevor Vaughan
Hi Corey, That setup should work just fine and be even easier now that everything has a solid set of certs that don't cross over at all. If you're using PE, be sure to properly generate your role certificates that are used by the Console, ActiveMQ, etc... Trevor On Mon, Jun 8, 2015 a

Re: [Puppet Users] New MCollective Plugin for OpenSCAP Scanning

2015-05-16 Thread Trevor Vaughan
I apologize for this Walid, the post got removed by mistake. I have corrected this and the content is back online. Thanks for your interest! Trevor On Sat, May 16, 2015 at 1:05 PM, Walid wrote: > Hi Trevor > > the link is not working for me, it points to three blogs none of

Re: [Puppet Users] Fast track to learning Puppet?

2015-05-15 Thread Trevor Vaughan
om/d/msgid/puppet-users/03ec5674-f7f2-4f2e-8d55-ff93236c2e27%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/03ec5674-f7f2-4f2e-8d55-ff93236c2e27%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.googl

[Puppet Users] Re: Learning Custom Types Module

2015-05-14 Thread Trevor Vaughan
Terribly sorry to those of you having trouble with the initial release. I neglected to include the 'tests' directory which is required by the Rakefile. This has been fixed and uploaded to the Forge. Thanks! Trevor On Wed, May 13, 2015 at 10:16 PM, Trevor Vaughan wrote:

[Puppet Users] Learning Custom Types Module

2015-05-13 Thread Trevor Vaughan
GitHub at https://github.com/onyxpoint/onyxpoint-learning_custom_types. This is an extension of my presentation on Types and Providers as presented last year at Puppet Camp DC 2014. Happy Hacking! Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- This accou

[Puppet Users] New MCollective Plugin for OpenSCAP Scanning

2015-05-13 Thread Trevor Vaughan
-mcollective/. Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- This account not approved for unencrypted proprietary information -- -- You received this message because you are subscribed to the Google Groups "Puppet Users"

  1   2   3   4   5   6   >