Re: [Puppet Users] puppet agent rpm on redhat 10

2025-06-24 Thread Ben Ford
Hi OpenVox is available for redhat 10 already!OpenVox Automation Frameworkvoxpupuli.orgOn Jun 24, 2025, at 2:55 AM, puppetstan wrote: Hello, I already need to install Red Hat 10. Has anyone compiled an rpm for Red Hat 10? Thanks in advance.regards -- You received this message because you are

Re: [Puppet Users] puppet 6 upgrade to 7, issue with file_metadatas/modules/plugins

2025-05-27 Thread Ben Ford
Out of curiosity, why are you specifying those settings? What you set them to are the defaults, assuming that your server is `puppet`. > On May 27, 2025, at 9:15 AM, Trey Ormsbee wrote: > > I figured this out, I had this in my agent config: > > pluginfactsource = puppet://puppet/modules/

[Puppet Users] Meet your new Vox Pupuli PMC

2024-05-15 Thread 'Ben Ford' via Puppet Users
The 2024 PMC elections have now concluded and it's time to meet your new Project Management Committee. The people on this committee will help take care of the Code of Conduct and its values, participate in strategic planning, decision making using lazy consensus, accounting, social media and bl

[Puppet Users] Vox Pupuli Elections closes tomorrow!

2024-05-14 Thread 'Ben Ford' via Puppet Users
If you haven’t cast your vote for the PMC elections yet then you’re running out of time because the election closes tomorrow! You can still vote until May 15 2024 23:59 UTC

Re: [Puppet Users] Re custom fact query

2024-05-08 Thread 'Ben Ford' via Puppet Users
Hi Dave! This bug was actually just fixed in https://github.com/puppetlabs/facter/pull/2705 For now, you'll need to compare to the downcased version of the string and I'll file a ticket to get that noted in docs. Good luck! On May 8, 2024, at 2:15 AM, daveford...@gmail.com wrote: You don

[Puppet Users] Vox Pupuli Elections, 2024 (ends May 15)

2024-04-09 Thread 'Ben Ford' via Puppet Users
about the candidates and to make your choices. - https://civs1.civs.us/cgi-bin/vote.pl?id=E_c3a85d1acd3e9feb&akey=dc65601945c5628c Thank you so much for your help! - Ben and the Vox Pupuli PMC. This e-mail may contain information that is privileged or confidential. If you are no

Re: [Puppet Users] Puppet Server Requirements Documentation Needs Updating

2024-03-07 Thread Ben Ford
Can you file that as an issue on https://github.com/puppetlabs/puppet-docs/issues please? Thanks! > On Mar 7, 2024, at 11:25 AM, Nathaniel Black > wrote: > > I think Java requirements documentation needs to be updated. On "Installing > Puppet Server" for 7.29.1, it says that Java 8 is stil

[Puppet Users] Vox Pupuli Elections, 2024 edition

2024-02-12 Thread 'Ben Ford' via Puppet Users
As announced at CfgMgmtCamp last week, we are kicking off the more-or-less annual PMC elections process. This is a yearly process to provide more people opportunities to get involved with our leadership and decision making. Would you like to help set roadmap or help architect our Puppet 8 suppor

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

2023-11-08 Thread 'Ben Ford' via Puppet Users
Hey James! That error sounds like you have an out-of-date Psych YAML gem. What versions of Puppet, Ruby, Hiera, and Psych are you using? On Nov 8, 2023, at 8:54 AM, James Millsap wrote: We have a fairly mature puppet instance along with foreman for classification. For some reason, yesterday

[Puppet Users] Public issue reporting is back!

2023-10-31 Thread 'Ben Ford' via Puppet Users
I’m happy to share that public issue reporting is back. You can now file issues directly in GitHub right on the project itself using the GitHub account you probably already have. Issue creation is now enabled in the following projects – PA, PUP, PDB, SERVER and FACT. We will be reviewing any ne

Re: [Puppet Users] How to create new tickets now?

2023-09-04 Thread 'Ben Ford' via Puppet Users
Hi Dirk. Unfortunately we ran into a few snags in the planned migration of the Jira instances. The team is working on evaluating the best ways for resolving them and we'll keep you all posted as soon as we have information to share. I can't give a firm timeline, but my own personal expectation

[Puppet Users] Re: Custom Fact Deployment

2023-08-28 Thread Ben Parry
If you write your bash script in Ruby (maybe ask chatgpt to do it) and put it in your class in the folder lib/facter your next puppet run will automatically update the facts and it will be available. Best you read this page; https://www.puppet.com/docs/puppet/6/custom_facts.html On Thursday, 3

[Puppet Users] Call puppet define from Hiera

2023-08-28 Thread Ben Parry
Puppeteers, I am bashing my head against a wall try to call a custom defined resource (I think that's the right terminology) from Heira. I've created a class (appconfig) and within that I have used Puppet PDK to create a define to create an application config file (loadconf). It works perfect

[Puppet Users] Debian Bookworm: augeas configs no longer executing properly

2023-08-11 Thread Ben Poliakoff
't seem to be a known issue with the Debian puppet-agent package. Any suggestions? Ben -- 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-use

Re: [Puppet Users] How does 'os' facter be determined?

2023-05-30 Thread 'Ben Ford' via Puppet Users
Here is an example pull request teaching Facter about the Mariner distro. https://github.com/puppetlabs/facter/commit/83c51ff227696cfd8e30ed62b6053ede047ca7e4 On May 30, 2023, at 3:47 AM, 羽色云烟 wrote: facter os on system OpenEuelr shows: { architecture => "aarch64", family => "Openeuler",

Re: [Puppet Users] using vault

2023-05-24 Thread 'Ben Ford' via Puppet Users
Deferred functions run on the agent. The Vault connection will be made from the agent. Therefor, if you configure Vault using environment variables, you'll want to do so from the agent. If you're using systemd, you should be able to configure those in the .service file as you suggest. On May

Re: [Puppet Users] Puppet trial license file.

2023-03-02 Thread 'Ben Ford' via Puppet Users
You should not need a license.key for a PE trial. The CD4PE yaml file will let you also trial CD4PE. On Mar 2, 2023, at 7:49 AM, eager2learn wrote: I request a trial license for my Puppet Enterprise installation. I got a CD4PE.yaml file. But the Puppet Enterprise installation requires a licen

[Puppet Users] Upcoming network maintenance

2022-12-08 Thread Ben Ford
Hey folks, This Saturday December 10th starting at 9:00 AM PST, the Puppet IT team is going to be performing some network maintenance that will result in our Jira instance being intermittently available or unavailable for up to several hours. We don't expect the Forge to be affected, but in an

[Puppet Users] Re: Puppet can't fetch catalog

2022-09-20 Thread Ben Ford
(and then you'll need to restart the server) On Tuesday, September 20, 2022 at 7:38:45 AM UTC-7 Ben Ford wrote: > On the Puppet server, you will need either both of these parameters > set (when using Satellite for classification), or both of them unset (when > not using

[Puppet Users] Re: Puppet can't fetch catalog

2022-09-20 Thread Ben Ford
On the Puppet server, you will need either both of these parameters set (when using Satellite for classification), or both of them unset (when not using Satellite for classification). *external_nodes = /etc/puppetlabs/code/node.rbnode_terminus = exec* On Thursday, September 15, 2022 at 9:15

Re: [Puppet Users] Hiera values in provider

2022-08-01 Thread Ben Ford
Not directly. Hiera provides data to the server for use when compiling the catalog. Providers run on the agent after the catalog has been compiled. If you need to get to Hiera data, write your type/provider such that it accepts a parameter, then look that up from Hiera and pass it in when you decl

[Puppet Users] Re: sensitive password for the active directory module

2022-07-18 Thread Ben Ford
This page will help you learn how to create a Sensitive string for that parameter. https://puppet.com/docs/puppet/latest/lang_data_sensitive.html On Monday, July 18, 2022 at 11:28:45 AM UTC-7 hanno...@gmail.com wrote: > hello puppet users > > i start installation of puppet with foreman and i

[Puppet Users] Re: training.foreman.com httpd[18624]: SSLCertificateFile: file '/etc/puppetlabs/puppet/ssl/certs/training.foreman.com.pem' does not exist or is empty

2021-11-12 Thread Ben Ford
Hey there! You'll probably get better help with a Foreman problem on their forums. https://community.theforeman.org Good luck! On Friday, November 12, 2021 at 10:27:40 AM UTC-8 irtizahs...@gmail.com wrote: > Hi Team, > > I tried to run the foreman installer but it throwed lot of errors related

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

2021-11-04 Thread Ben Ford
sy that a product manager can use it, and a tool that gives you early feedback, right when you need it the most! On Thu, Nov 4, 2021 at 10:14 AM Nick Maludy wrote: > Ben, > > As you describe the summary scores for new users that makes sense. One UI > idea i just had as i read your r

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

2021-11-04 Thread Ben Ford
On Thu, Nov 4, 2021 at 8:11 AM Gene Liverman wrote: > After reading through all the replies, there are bits and pieces from many > people that seem to cover most of my opinions. I am going to try and > collect those here: > > What about this idea? Instead of trying to "measure quality" as a metri

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

2021-11-02 Thread Ben Ford
Engineer > > WPEngine > > > > Sent with ProtonMail > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotonmail.com%2F&data=04%7C01%7CJohn.Bollinger%40StJude.org%7Ccf737d31ff9549b6860a08d99aea80b7%7C22340fa892264871b677d3b3e377af72%7C0%7C0%7C637711154851

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

2021-10-28 Thread Ben Ford
e up with a solid starting point as a standard definition of module quality. https://github.com/voxpupuli/voxpupuli-puppet-lint-plugins/blob/master/voxpupuli-puppet-lint-plugins.gemspec Thank you all for your help! -- Ben Ford @binford2k Ecosystem Product Manager -- You received this message b

Re: [Puppet Users] Getting the location of the manifest file

2021-08-17 Thread Ben Ford
Hiera provides an environment hierarchy. Is that what you're looking for? https://puppet.com/docs/puppet/latest/hiera_config_yaml_5.html On Mon, Aug 16, 2021 at 7:33 PM Go Iwai wrote: > Hello Martin, > > Let's say we have three directories: > > preproduction/ preproduction/ private/ > > There

Re: [Puppet Users] Getting the location of the manifest file

2021-08-16 Thread Ben Ford
Hi Go! I'm not sure what you're trying to accomplish, but you'd probably be better off locating your code in a module on your modulepath and then Puppet takes care of all the relative paths for you. https://puppet.com/docs/puppet/latest/modules_fundamentals.html On Mon, Aug 16, 2021 at 3:53 AM Ma

[Puppet Users] Re: Can we have PuppetDB docker images with 6.x latest?

2021-07-19 Thread Ben Ford
Hi! We've actually decided to ship only the most current builds (7.x right now) across the board to reduce the number of pulls used across the company. On Thursday, July 15, 2021 at 5:23:36 AM UTC-7 rcm...@gmail.com wrote: > Just noticed the same behavior with Puppet Server docker images that t

[Puppet Users] Razor project archival

2021-06-03 Thread Ben Ford
ted. So long, old friend! -- Ben Ford @binford2k Ecosystem Product Manager -- 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+unsubsc

Re: [Puppet Users] [INFO, maybe ACTION] r10k Feature Proposal

2021-03-11 Thread Ben Ford
Hey Molly, The PDK has already been ignoring the /spec directory for quite some time, so I think this is totally appropriate. It won't even have any effect for PDK enabled modules from the Forge. Those files are only used for development purposes, and if you're doing that in your production codeba

Re: [Puppet Users] init config once

2021-01-29 Thread Ben Ford
and the >> > goal is replacing its contents during the first Puppet run. The next >> > Puppet runs should ignore any changes. >> > >> > >> > On Thu, 2021-01-28 at 20:07 +0100, Martin Alfke wrote: >> > > and please use ensure => file ! >

Re: [Puppet Users] init config once

2021-01-28 Thread Ben Ford
Yep, just use the replace attribute on the file resource. https://puppet.com/docs/puppet/latest/types/file.html#file-attribute-replace On Thu, Jan 28, 2021 at 9:57 AM Steve McKuhr wrote: > I'd like to initialize a user config file once, at software install time, > then allow application admins t

Re: [Puppet Users] Installing an exe like VLC

2020-11-10 Thread Ben Ford
Welcome! I'd actually install Chocolatey and use the provider from https://forge.puppet.com/modules/puppetlabs/chocolatey to manage packages like this on Windows. On Tue, Nov 10, 2020 at 3:31 PM Jarod Schoen wrote: > Hi > so I just got started and I'm glad to be joining you. > > I have a questi

Re: [Puppet Users] External object

2020-11-09 Thread Ben Ford
is in" all the way to individual device settings. Have you read much about Hiera hierarchies? https://puppet.com/docs/puppet/latest/hiera_quick.html -Ben -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

Re: [Puppet Users] need help for slack join

2020-08-22 Thread Ben Ford
You’ll find the link on https://puppet.com/community/ Sent from my iPhone > On Aug 22, 2020, at 4:10 PM, Tej Singh Rana wrote: > >  > Hello, Team >I am not getting links to join slack channel. Puppet has a slack channel > like others? Can I get invited URLs to join slack channel? > > tha

Re: [Puppet Users] updating concat breaks puppet run

2020-08-20 Thread Ben Ford
Subscribe to Concat['/etc/exports'] instead. The concat type used to be a defined type that wrapped a file resource many years ago. It's now a first class citizen itself. On Thu, Aug 20, 2020 at 4:28 AM Andy Hall wrote: > we have updated the concat module and it no longer likes our code...so >

Re: [Puppet Users] Upgrade from puppet 5 to puppet 6

2020-06-24 Thread Ben Ford
That sounds like the server isn't compiling the code that you think it is. Can you first restart puppetserver to ensure that it's not just cached, and then check that you're deploying code correctly and that you're using the right environment, etc. Also, try commenting out the resource causing the

Re: [Puppet Users] Debugging puppet error : Could not find dependency

2020-05-21 Thread Ben Ford
Hi Milind, The critical difference here is that subscribe => File[$old_launch_agent_path] does NOT tell Puppet to watch for changes in that file on disk. Instead it will run that exec if Puppet itself is managing that resource and makes changes to that resource. In other words, File[$old_launch_a

Re: [Puppet Users] Re: Facter 4 release

2020-03-30 Thread Ben Ford
Since it was developed in parallel, they used https://github.com/puppetlabs/facter-ng. I don't know if there are plans to reconcile them in the future, but Bogdan could tell you about that later. On Mon, Mar 30, 2020 at 2:38 PM Stefan Wrobel wrote: > Where is the source for the 4.x releases? > h

Re: [Puppet Users] Conditional with find_file

2020-01-21 Thread Ben Ford
to identify a MySQL server by the existance of > > /etc/my.cnf and execute a systemctl enable mysql && systemctl start > mysql > > that should work, right? > > I guess you could write a boolean custom fact that is true if the file > exists and false otherwise. > &g

Re: [Puppet Users] Conditional with find_file

2020-01-17 Thread Ben Ford
> > But when I execute this from a server-client infrastructure it seems like > the conditionals don't work They are not even processed: Oh, they're processed just the same. But the key part that you've missed is that the catalog is compiled on the *master*. That's where all functions run. The ca

Re: [Puppet Users] Could not find resource 'File[/etc/logrotate.d/syslog]

2019-10-22 Thread Ben Ford
Hi Dan! When you subscribe to another resource like subscribe => File['/etc/logrotate.d/syslog'], the key is that you're not actually subscribing to the file on disk. You're subscribing to *another Puppet resource*, of type File and with a title of '/etc/logrotate.d/syslog'. Any time that Puppet m

Re: [Puppet Users] Locking the version of Docker?

2019-09-09 Thread Ben Ford
It uses apt::pin like so, https://github.com/puppetlabs/puppetlabs-docker/blob/7c7c38c09548b0e0ebdf92643f59efca93430e2b/manifests/repos.pp#L39-L43 On Fri, Sep 6, 2019 at 4:11 PM Stefan Lasiewski wrote: > Hi all, > > I'm using Puppet 5 to install Docker like so: > > class { 'docker': >version

Re: [Puppet Users] Re: Using bash for custom facts - results are strings, not booleans

2019-07-23 Thread Ben Ford
> On Jul 23, 2019, at 7:49 AM, Jesse Hathaway wrote: > > The docs are still out of date on this supported feature. One thing to note here is that whenever you find a docs page lacking, you can now provide feedback directly on the page. Just scroll to the bottom and give it a star ⭐️ rating.

Re: [Puppet Users] Using bash for custom facts - results are strings, not booleans

2019-07-11 Thread Ben Ford
If you just return a string, then that's how it's interpreted even if it matches a keyword. To return a datatype, you'd need to return json. echo '{"gdm_installed": true}' and echo '{"gdm_installed": false}' On Thu, Jul 11, 2019 at 12:55 PM 'Prentice Bisbal' via Puppet Users < puppet-users@

Re: [Puppet Users] pupperware experience and Console UI?

2019-07-08 Thread Ben Ford
> > This is particularly painful in Dev/Test environments were PM > installations are constantly rebuilt. What are you testing in these environments? Eg, are you testing the deployment of new infrastructure, including PE, or are you testing the Puppet codebase? It might not be worth it to build &

[Puppet Users] Coming to OSCON? You're invited to our Science Fair too

2019-07-08 Thread Ben Ford
The Puppet community has a lot of people with exciting Open Source tricks up their sleeves. Are you interested in what they're hacking on or want to share what you're hacking on? An even bigger question…. Will you be in PDX for OSCON and want to come have a good time? Puppet is hosting a Science

Re: [Puppet Users] Re: rspec test issues

2019-07-02 Thread Ben Ford
Just a sanity check here. You did try the puppetlabs/firewall module before writing your own, right? (https://forge.puppet.com/puppetlabs/firewall) On Mon, Jul 1, 2019 at 6:40 AM Bill Sirinek wrote: > Fixed this by setting AUGEAS_LENS_LIB in spec/spec_helper_local.rb > > ENV['AUGEAS_LENS_LIB']='

[Puppet Users] Coming to OSCON? Stop by our Science Fair too!

2019-06-26 Thread Ben Ford
The Puppet community has a lot of people with exciting Open Source tricks up their sleeves. Are you interested in what they're hacking on or want to share what you're hacking on? An even bigger question…. Will you be in PDX for OSCON and want to come have a good time? Puppet is hosting a Science

Re: [Puppet Users] Recent 5.5.x point releases are throwing some warnings for me

2019-06-14 Thread Ben Ford
Yes. A class without a namespace must be named the same as the module containing it, *and be in the init.pp file*. In other words, your /opt/puppetlabs/puppet/modules/adhoc/manifests/*adhoc* .pp file should be /opt/puppetlabs/puppet/modules/adhoc/manifests/*init*.pp. See https://puppet.com/docs/p

Re: [Puppet Users] switching from source => "puppet:/// to source => "file:///

2019-06-13 Thread Ben Ford
I suspect that you're misunderstanding something about how Puppet works, because as far as I can tell, you're trying to copy /etc/apache2/conf.d/testpuppet.conf to /etc/apache2/conf.d/testpuppet.conf. (The same path) It's relatively rare to use anything but a puppet:// URI in a file source att

Re: [Puppet Users] facter to return version of an installed package

2019-05-14 Thread Ben Ford
You cannot pass a variable to facter, because that's not how its model is designed. Facter is a tool that runs to gather relatively static system information, called facts. A fact with a given name has a given value. In other words, you need one unique fact for every value you're gathering. (though

Re: [Puppet Users] Replace some text

2019-04-08 Thread Ben Ford
It looks like what you're trying to do is inline editing of /etc/bashrc, but still let people poke at it themselves. That's a fragile position to be in. For example, given your regex solution, what's to stop someone from doing something like innocently defining their $PS1 iteratively? Something lik

Re: [Puppet Users] Registry module not working

2019-02-26 Thread Ben Ford
Can you include the actual error message along with this snippet of the stack trace? Also Puppet 3.x went EOL 787 days ago on December 31, 2016. You should REALLY consider upgrading, especially since your master has already been upgraded. It's generally recommended to run the same versions of mast

Re: [Puppet Users] Using lvicainne-bashrc -

2019-02-20 Thread Ben Ford
You don't explain how you classified your nodes. Creating modules just makes the classes, they don't have any effect until you actually use them via classifying nodes. See https://puppet.com/docs/puppet/latest/lang_classes.html#declaring-classes for more information. You asked why the stdlib modul

Re: [Puppet Users] [augeas] edit YAML file

2019-02-07 Thread Ben Ford
The https://forge.puppet.com/fiddyspence/hash_file module makes it very easy to manage yaml files. Sent from my iPhone > On Feb 7, 2019, at 4:47 PM, Helmut Schneider wrote: > > Hi, > > I want to edit a YAML file: > > network: > version: 2 > renderer: networkd > ethernets: >eth0: >

Re: [Puppet Users] Push Puppet custom Facts to agent

2019-01-31 Thread Ben Ford
Put your facts in a module and they'll be synced everywhere they're needed automatically. https://puppet.com/docs/puppet/5.3/plugins_in_modules.html#auto-download-of-agent-side-plug-ins-pluginsync On Thu, Jan 31, 2019 at 4:48 AM Nikhil Patil wrote: > Hi All, > > I have created the custom fact in

Re: [Puppet Users] Re: ensure_packets not working

2019-01-30 Thread Ben Ford
Sharing the code that you're working with will make it possible for people to help solve your problem. On Wed, Jan 30, 2019 at 10:22 AM Jochen Haeberle wrote: > Hi @all, > > does anyone have an idea what could be happening? I think this might be > some sort of configuration error on the node, on

Re: [Puppet Users] Replacing extlookup to look up external things!

2019-01-29 Thread Ben Ford
Your simplest and most straightforward upgrade path would be to port the CSV file to a common.yaml file and then switch to using lookup() with hieradata. Later on, you can start differentiating and build a sane data hierarchy. Check out the docs at https://puppet.com/docs/puppet/latest/hiera_quick

[Puppet Users] Ask Puppet sunset

2019-01-23 Thread Ben Ford
After 6 years of Ask.Puppet.com, we are closing the site down on February first. We are directing folks to use the Puppet Community Slack instead. The existing content is archived so existing bookmarks will continue to work, but new questions, answers, or comments will n

Re: [Puppet Users] relationships, ordering, and defined types

2019-01-22 Thread Ben Ford
Caps all segments in a defined type name: before => Bar::Baz['qux'], On Tue, Jan 22, 2019 at 2:20 PM Matt Zagrabelny wrote: > Greetings! > > I'm running puppet 5.5 on Debian Buster. > > This exists: > > define bar::baz() { > file { "/tmp/$name": } > } > > ...somewhere else... > > bar::baz

Re: [Puppet Users] resolve hostname via custom fact

2018-12-23 Thread Ben Ford
> > I want to resolve a hostname via a custom fact: > require "resolv" > Facter.add("puppet_master_ip") do > setcode do > Resolv::DNS.open(:nameserver => ['8.8.8.8']) do |dns| > ip = dns.getaddresses("www.puppet.org") > end > end > end > How do I get the output? I just want to get

Re: [Puppet Users] exec and variables

2018-12-20 Thread Ben Ford
Sure. When you make a reference (the upper case File syntax), it has to point to a thing that exists. The reference is a resource type (File) and a resource title (99-status.conf), but you've not defined a resource with that title. Basically, it's like making a symlink to a file that doesn't exist.

Re: [Puppet Users] Re: Puppet.agent with path

2018-11-29 Thread Ben Ford
Rafael, if you're trying to execute scripts with a certain path, you'd provide that at the resource declaration level, like so: exec { 'tar -xf /Volumes/nfs02/important.tar': cwd => '/var/tmp', creates => '/var/tmp/myfile', path => ['/usr/bin', '/usr/sbin',], } See this for more information: http

Re: [Puppet Users] pip package provider on Redhat

2018-10-17 Thread Ben Ford
Hi Sergei! Puppet 3.x is quite old, and in fact has been end-of-lifed for 655 days as of today! (December 31, 2016). It is no longer receiving security or bug fixes. If you upgrade to a modern version, you'll see that there's are new pip and pip3 providers that use the appropriate commands. https:

Re: [Puppet Users] modulo, exec or provider customization

2018-10-17 Thread Ben Ford
Hi Rafael. You would not have any need to create a custom provider. Depending on which database server you're using and what the end result that you're trying to achieve is, you can use built-in resource types to do what you want. For example, with MS SQL Server, you can evaluate TSQL queries with

Re: [Puppet Users] Re: New Deferred type and agent data lookups in Puppet 6

2018-08-31 Thread Ben Ford
In general, you're going to want to be cautious about using agent-side functions. It might be simpler to gather information during run time in some cases, but it makes your catalog more black-box and unpredictable. Here are just a couple concerns: You lose some of the ability to look at the facts

Re: [Puppet Users] Puppet Apache Module

2018-08-24 Thread Ben Ford
Totally a fair point, thanks for the feedback! On Fri, Aug 24, 2018 at 8:57 AM Tim Skirvin wrote: > Ben Ford writes: > > [puppetlabs/apache is dropping support for RHEL6 and family] > > Is there a reason you can't pin to the module to a version that supports > >

Re: [Puppet Users] Puppet Apache Module

2018-08-23 Thread Ben Ford
Is there a reason you can't pin to the module to a version that supports your needs? Any users that use either Apache 2.2 or use one of the above operating > systems should pin to an older version of the module. We will continue to > support these operating systems for older versions of the module

Re: [Puppet Users] Automatic parameter lookup including metaparameters

2018-08-09 Thread Ben Ford
Hi Michael. Can you share the code you tried and the errors you ran into? On Thu, Aug 9, 2018 at 11:30 AM Michael Watters wrote: > Hello, > > Is it possible to define metaparameters for a resource in Hiera? For > example, I have a class that is currently declared within another class as > follo

Re: [Puppet Users] is_numeric

2018-08-06 Thread Ben Ford
First off, you should use data types with your class and then you won't have to check--the compile won't even succeed unless you've got the right data type. class foo ( Integer $subsetting, ) { # $subsetting is guaranteed to be numeric here } Second, you can use the is_a

Re: [Puppet Users] Check existence of a hierarchy

2018-07-11 Thread Ben Ford
What you're looking for is the dig() function. https://puppet.com/docs/puppet/latest/function.html#dig $profiles.dig('vpn', 'openvpn', 'instances', 'client') On Wed, Jul 11, 2018 at 8:32 AM Helmut Schneider wrote: > Hello all, > > let's assume the following structure in a yaml: > > profiles: >

[Puppet Users] Introducing new Cisco IOS module for agentless device management

2018-06-11 Thread Ben Ford
Puppet has launched the agentless Cisco IOS module for Network Devices that can be downloaded from the Puppet Forge . This module gives networking teams an easy way to manage Cisco Catalyst Switches with Puppet without the need to install an agent on t

[Puppet Users] New products to help you scale automation success

2018-04-25 Thread Ben Ford
Whether you’re just starting your automation journey or you’ve been at it a while, you know that making automation pervasive across your enterprise is hard. Three key challenges stand in the way of scaling success: * It’s hard to know what you have * It’s hard to scale automation broadly and deep

Re: [Puppet Users] Announce: Puppet agent 1.10.12

2018-04-18 Thread Ben West
Here is the ticket tracking progress in removing the v5 packages added erroneously: https://tickets.puppetlabs.com/browse/PA-1985 On Wednesday, April 18, 2018 at 10:19:30 AM UTC-5, Eric Sorenson wrote: > > Yep, this was an error in the build/ship process - we're scrubbing them > out now. Sorry f

[Puppet Users] Puppet Hack!

2017-11-20 Thread Ben Ford
Has Puppet made your life easier like it's made my life easier? Come hang out on Dec. 7 with other community members, Vox Pupuli, and Puppet employees to hack on awesome Puppet (and related) projects. Let's get to know each other! http://pup.pt/hack #puppethack is a collaborative, relaxed online

[Puppet Users] Re: puppetdb 4.3 on PG 9.4 fresh install fails to start with DB UTF8 encoding error

2017-10-06 Thread Ben West
I encountered this very same problem installing puppetDB v4.4 from RPM on CentOS 7.2.1511, with postgres v9.4 installed via RPMs retrieved from yum.postgresql.org. I tried following the instructions here for creating the puppetdb role and database in postgresql: https://docs.puppet.com/puppetdb

Re: [Puppet Users] suppressing undefined variable warnings in PE2016.1

2017-02-15 Thread Ben Hines
t of the lookup tree: contexts/${context1}.yaml contexts/${context2}.yaml ... The initial lookup call to retrieve the contexts variable generates the undefined warning. (since they aren't set yet) -Ben On Wednesday, February 15, 2017 at 7:40:22 PM UTC-8, Rob Nelson wrote: > > I believe t

Re: [Puppet Users] suppressing undefined variable warnings in PE2016.1

2017-02-15 Thread Ben Hines
ookup paths that use variables that aren't defined until later. (because they come out of hiera itself) The lookup call that gets them warns that they are undefined, until later when i pull them in. Perhaps that could be fixed on the lookup side, alternatively. -Ben On Friday, May 6, 2016

Re: [Puppet Users] Hiera 5 calling_class

2017-02-10 Thread Ben Hines
Okay, thanks! From reading changelogs in git it looked like it was intended to be supported. It might be worth mentioning in the release notes. Anyway in my case i can work around with module data. thanks! -Ben On Fri, Feb 10, 2017 at 1:39 PM, Henrik Lindberg wrote: > On 08/02/17 17:55,

[Puppet Users] Hiera 5 calling_class

2017-02-08 Thread Ben Hines
th: classes/%{calling_class}.yaml defaults: datadir: data data_hash: yaml_data -Ben -- 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-u

Re: [Puppet Users] Re: Beware breaking updates on puppetserver v2.5.0 with external CA, downgrade ALSO destructive

2016-08-18 Thread Ben West
, 2016 at 9:53:37 AM UTC-7, Ben West wrote: >> >> The configuration for running Open Source puppetserver with an external >> CA changed in v2.4 -> v2.5, explained in more detail here: >> https://docs.puppet.com/puppetserver/latest/bootstrap_upgrad >> e_notes.ht

[Puppet Users] Beware breaking updates on puppetserver v2.5.0 with external CA, downgrade ALSO destructive

2016-08-18 Thread Ben West
The configuration for running Open Source puppetserver with an external CA changed in v2.4 -> v2.5, explained in more detail here: https://docs.puppet.com/puppetserver/latest/bootstrap_upgrade_notes.html#cacfg If you happen to run yum upgrade (presumably similar results with apt-get update), the

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-06-08 Thread Ben West
At least to answer the question of installing r10k tool for use with open source Puppetserver (or just puppet agent), I do this in a bootstrap script for my Puppetserver to install r10k from gem, and do the initial deployment of the control repo. This for directory-based environments. # Instal

Re: [Puppet Users] Packaging scripts for Puppetlabs Vagrant images?

2016-06-08 Thread Ben West
d_e_...@icloud.com > > “Sometimes I think the surest sign that intelligent life exists elsewhere in > the universe is that none of it has tried to contact us.” (Bill Waterson: > Calvin & Hobbes) > > > On Jun 08, 2016, at 01:36 PM, Ben West >

Re: [Puppet Users] Packaging scripts for Puppetlabs Vagrant images?

2016-06-08 Thread Ben West
is that none of it has tried to contact us.” (Bill Waterson: > Calvin & Hobbes) > > > On Jun 08, 2016, at 12:57 PM, Ben West > > wrote: > > I was hoping to test out CentOS v6.8, but the Puppetlabs Vagrant images > published only go up to v6.6: > https://atlas.hashic

[Puppet Users] Packaging scripts for Puppetlabs Vagrant images?

2016-06-08 Thread Ben West
I was hoping to test out CentOS v6.8, but the Puppetlabs Vagrant images published only go up to v6.6: https://atlas.hashicorp.com/puppetlabs Is there a repo, or other such info somewhere, providing details about how these images are rolled? I.e. so I could create my own CentOS v6.8 image to te

[Puppet Users] Re: PE console missing the PE_REPO class for agent packages

2016-01-25 Thread Ben Ford
Hey Mike! I suspect that what you see is the result of modifying your basemodulepath or overriding your modulepath in an environment.conf file. They should be set something like the following: root@master:~ # puppet master --configprint basemodulepath /etc/puppetlabs/code/modules:/opt/puppetlabs

[Puppet Users] Unit testing reference modules and best practices

2014-07-10 Thread Ben Sullivan
would be appreciated. Many thanks Ben -- 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 disc

Re: [Puppet Users] Puppet newbie, Apache vHosts, and trying to do it the right way

2014-06-24 Thread Ben Ruset
My rationale for it is exactly that. Focus on learning how Puppet itself works, and then learn the add-ons after the fact. On top of that, Hiera isn't a requirement for use - you can just as easily use something like Foreman (which, from what I've seen of it so far looks really good.) But even in m

Re: [Puppet Users] Puppet newbie, Apache vHosts, and trying to do it the right way

2014-06-23 Thread Ben Ruset
Well, so I didn't know if it was "good form" to modify modules to hold site-specific configuration items. I think part of my frustration is that I haven't been able to find a doc, or maybe one doesn't exist, that shows what a decent "production" Puppet environment might look like. I think it'd be

Re: [Puppet Users] Puppet newbie, Apache vHosts, and trying to do it the right way

2014-06-23 Thread Ben Ruset
Ah, okay this makes more sense for me. So I know that I can stick this in the same file with the node definitions, but there's got to be a better place for it to go. Where would the "proper" place be for it to go? Many thanks for your responses. They've been very helpful. On Sun, Jun 22, 2014 at

Re: [Puppet Users] Puppet newbie, Apache vHosts, and trying to do it the right way

2014-06-22 Thread Ben Ruset
Thanks for the answer. I grasp the fundamentals of what you're saying, but right now I'm a little leery of delving into Hiera when I don't really know the fundamentals of Puppet itself yet. My reading through those docs would only confuse me more. (Not that those docs are probably not good - it'

[Puppet Users] Puppet newbie, Apache vHosts, and trying to do it the right way

2014-06-22 Thread Ben Ruset
Alright, this is definitely a Puppet 101 question, and I am sure that the Puppet docs have an answer for this and I am just dense and can't find it. I'm trying to teach myself Puppet, with the goal of managing the VPS I run with it. Additionally, when I get a better grasp on things, I want to

[Puppet Users] Puppet Certification Testing discount

2014-06-17 Thread Ben Ford
/services/certification Thanks! -- Ben Ford | Training Solutions Engineer Puppet Labs, Inc. 926 NW 13th Ave, Suite #210 Portland, OR 97209 509.592.7291 ben.f...@puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubs

[Puppet Users] Announcing our new quest based Learning VM

2014-04-17 Thread Ben Ford
uppet Enterprise console, writing and using Puppet modules, and delving into Puppet resources, manifests, facts and more. Check out the new Learning VM: http://puppetlabs.com/download-learning-vm Happy learning. - Ben -- You received this message because you are subscribed to the Google G

[Puppet Users] mongodb database setup unauthorized auth=true and enableLocalhostAuthBypass=1

2014-03-25 Thread Ben Marengo
i have set `auth=true` and `setParameter = enableLocalhostAuthBypass=1` in my conf file my understanding was that even though `auth` was enabled, commands issued from the localhost are allowed to bypass it. can someone help me understand why the command above doesn't work? thanks ben -

[Puppet Users] hiera calling_class files fail with yaml provider on Windows

2014-01-13 Thread Ben Hines
ows and linux.. perhaps could be an option?) As a workaround i was considering implementing a custom Hiera backend, but i'm not sure if there is an easier method. Thanks -Ben -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To uns

  1   2   3   >