[Puppet Users] GitHub Issues for core and puppet_agent modules

2023-12-01 Thread 'Michael Hashizume' via Puppet Users
Hello, As part of a larger effort to move toward GitHub Issues for our open source projects, Puppet has enabled issues on all of the core modules and the puppet_agent module. This change affects the following repositories: puppetlabs-augeas_core puppetlabs-cron_core puppetlabs-host_core puppet

[Puppet Users] Re: No Augeas 1.14.1 with Puppet Agent 7.27.0?

2023-11-15 Thread 'Michael Hashizume' via Puppet Users
Hello Stefan, Thank you for reporting this. Our intention was to update bundled Augeas in both puppet-agent 7 and 8 but it only landed in 8. We will address this in the next puppet-agent 7 release. Thank you, Michael Hashizume From: puppet-users@googlegroups.com on behalf of Dietrich

Re: [Puppet Users] Missing puppet-agent 7.25 and 7.26 for aarch64 on el7

2023-09-07 Thread 'Michael Hashizume' via Puppet Users
-JAtMEvAc/m/0hVv0vA6CgAJ And removed support in puppet-agent 7.25.0. I noticed that Puppet’s public docs do not mention this in the release notes, I’ve opened a ticket with our docs team to fix this. Thanks, Michael Hashizume From: puppet-users@googlegroups.com on behalf of Nathaniel Black Date

[Puppet Users] puppet-agent nightly builds for Windows 11 Enterprise

2022-07-08 Thread Michael Hashizume
Hello, We are happy to announce that puppet-agent nightly builds are now tested against Windows 11 Enterprise. Builds are available at nightlies.puppetlabs.com/downloads/. Please try them out and let us know if you have any questions. Thank you, Michael Hashizume (he/his) | Software Engineer

Re: [Puppet Users] Correction: Puppet Platform 6.27.1 (not 6.27.0) is now available!

2022-04-27 Thread Michael Hashizume
agent upgrade. Run puppet agent -t or apply your manifest again to finish the transaction. Notice: Applied catalog in 12.51 seconds [root@immodest-roll ~]# rpm -qa | grep puppet-agent puppet-agent-6.27.1-1.el7.x86_64 *Michael Hashizume* Software Engineer, Puppet Agent michael.hashiz...@puppet.co

[Puppet Users] DLLs in Windows Temp Folder

2022-04-13 Thread Michael W
A security scann discovered suspicious DLLs with cryptic names beeing created and removed from the Windows temp folder. Most likely these are origined by the Puppet agent, but we would rather know for shure. Anybody aware of this behaviour and can provide any links to related documentaion ?

[Puppet Users] puppet-agent 6 & 7 nightly builds for Red Hat Enterprise Linux 9 (beta) x86-64

2022-01-14 Thread Michael Hashizume
Hello, We are happy to announce that puppet-agent nightly builds for Red Hat Enterprise Linux 9 (beta) x86-64 are now available at nightlies.puppetlabs.com/yum/. Please try them out and let us know if you have any questions! Thank you, *Michael Hashizume* Software Engineer, Puppet Agent

Re: [Puppet Users] Some of the classes or parameters in this group have been removed from Puppet. These classes and parameters still appear in the list but they are crossed out.

2021-05-27 Thread Michael A Riley
This feels similar to something I saw . The PE server gets confused if it's not running the environment 'production'. Those classes think they belong to that environment. The absence of 'production' essential orphans them which is why they appear to be crossed out. If you're using Code Manager i

Re: [Puppet Users] Windows exec resource cannot find command error

2020-12-08 Thread Michael Watters
Probably need to quote the executable due to spaces: exec { '"c:/program files/telegraf/telegraf.exe" --service install': Looks like that worked. Thanks for the help. On Tuesday, December 8, 2020 at 1:58:12 PM UTC-5 Josh Cooper wrote: > On Tue, Dec 8, 2020 at 10:37 AM

Re: [Puppet Users] Windows exec resource cannot find command error

2020-12-08 Thread Michael Watters
-service install': cwd => 'c:/program files/telegraf', refreshonly => true, } On Tuesday, December 8, 2020 at 1:29:55 PM UTC-5 Michael Watters wrote: > I tried that as well and it simply results in an error stating "Could not > find command: c:/pro

Re: [Puppet Users] Windows exec resource cannot find command error

2020-12-08 Thread Michael Watters
af.exe --service install' : > ... > } > > > On 7. Dec 2020, at 18:17, Michael Watters wrote: > > > > I have an exec resource in a manifest for our Windows nodes however the > command is failing each time that puppet runs. Here is the definition of >

[Puppet Users] Puppet errors on Fedora 33 RC1

2020-10-19 Thread Michael Watters
There appears to be an issue with the puppet agent on Fedora 33 RC1. Running the agent against a test environment results in errors as follows. Does anybody know how to resolve this? Info: Using configured environment 'dev27_f33' Info: Retrieving pluginfacts Error: /File[/var/lib/puppet/fact

Re: [Puppet Users] Mysqldump using puppet

2020-08-03 Thread Michael Watters
Why do these feel like homework questions? :D You can add logic to your manifest based on what environment the agent is running under using simple if statements. For example: if $facts['environment'] != 'production' { notify { 'This is a non-production node!': } } If you're not fa

[Puppet Users] Help with error Could not evaluate: Could not retrieve file metadata ... interrupted after 28.78 seconds

2020-07-31 Thread Michael L
Could not evaluate: Could not retrieve file metadata for puppet:///modules/os_patching/os_patching_fact_generation.ps1: Request to https://puppet.mysite.com:8140/puppet/v3/file_metadata/modules/os_patching/os_patching_fact_generation.ps1?links=manage&checksum_type=md5&source_permissions=ignore&en

[Puppet Users] What causes Could not evaluate: Could not retrieve file metadata for ... interrupted after X seconds error?

2020-07-30 Thread Michael L
Hello, I am just looking for a little clarification on a common error I see on a lot of my Windows nodes at random times. I'm not sure if it is just timing out or if there is some sort of systematic problem. I am using the fairly popular os_patching module which creates a file at C:\ProgramData

Re: [Puppet Users] Bolt puppetfile install - LFN issue

2020-02-25 Thread Michael Smith
https://github.com/puppetlabs/r10k/issues/181 seems relevant. It looks like there's a cache_root setting for this that would help, but not clear how to modify it with 'bolt puppetfile install'. On Wed, Feb 12, 2020 at 8:09 AM Andreas Torbiörnsson < andreas.torbiorns...@gmail.com> wrote: > Hi grou

Re: [Puppet Users] Re: puppet bolt templates ??

2020-02-25 Thread Michael Smith
The existing functions 'epp' and 'inline_epp' work. For example, the following plan returns the resolved template: plan examples::epp() { $templ = @(END) <%= $foo %> END return inline_epp($templ, {'foo' => 'hello'}) } On Tue, Feb 11, 2020 at 10:25 PM Shirish Shukla wrote: > There should be

[Puppet Users] Puppet VM Extension is Missing in Azure

2020-02-04 Thread michael mack
Is there any reason why the puppet-agent VM extension has been removed in Azure? The last time, it work for me was 1/16/2020. Command to get VM extension Get-AzVmImagePublisher -Location "WestUS2" | Where-Object{$_.PublisherName -match 'puppetlabs.test'} | ` Get-AzVMExtensionImageType | ` Get-

[Puppet Users] Re: Wash 0.18.0 now available

2020-01-15 Thread Michael Smith
If you noticed the (very obvious) typo, it's definitely 0.18.0. Oops. On Wed, Jan 15, 2020 at 8:29 AM Puppet Product Updates < puppet-product-upda...@puppet.com> wrote: > Wash 01.8.0 is now available. This release is focused on clarifying some > of the initial interactions with Wash. > > The 'doc

Re: [Puppet Users] Puppet Bolt show diff

2020-01-06 Thread Michael Smith
The result of an apply statement in a Bolt Plan is a ResultSet (a list of results from each target). The results include the report from applying Puppet, which includes all those details. See https://puppet.com/docs/bolt/latest/applying_manifest_blocks.html#return-value-of-apply-action for how to a

[Puppet Users] PowerShell Module Release and New pwshlib Dependency

2019-12-16 Thread Michael Lombardi
Hey, folx! Head's up, we're going to release a new major version of the *puppetlabs/powershell* module this week; we've done a lot of under-the-hood work to clean things up and make writing Puppet modules that rely on PowerShell much easier than it used to be. However, we've had to introduce a

Re: [Puppet Users] Bolt duplicate vagrant nodes issue

2019-12-12 Thread Michael Smith
The error is because you use the name '127.0.0.1' for two different entries. It needs to be unique in any particular 'nodes' array. One way we commonly fix that is to include the port in the name, so you would have '127.0.0.1:2200' and '127.0.0.1:2201'. This technique is kind of mentioned in the

[Puppet Users] How to get max-active-instances in container?

2019-10-23 Thread Michael Gale
pet_1| 2019-10-23 22:50:03,199 INFO [p.s.j.i.jruby-internal] Creating JRubyInstance with id 1. puppet_1| 2019-10-23 22:50:19,088 INFO [p.s.j.i.jruby-agents] Finished creating JRubyInstance 1 of 1 --snip-- Am I setting it correctly? Thanks Michael -- You received this message because yo

[Puppet Users] Wash 0.11.0 now available

2019-10-18 Thread Michael Smith
Wash 0.11.0 is now available. This release added metadata to AWS profiles and improved browsing Kubernetes pods (they now support pods with multiple container instances). See https://github.com/puppetlabs/wash/releases/tag/0.11.0 for more details and fixed issues. Wash 0.10.0 was also released rec

[Puppet Users] Wash 0.9.0 now available

2019-08-29 Thread Michael Smith
Wash is a shell that helps you manage your remote infrastructure using well-established UNIX-y patterns and tools to free you from having to remember multiple ways of doing the same thing. Wash 0.9.0 is now available. This release added some quality of life improvements, inclu

[Puppet Users] Wash 0.8.1 now available

2019-08-21 Thread Michael Smith
Wash is a shell that helps you manage your remote infrastructure using well-established UNIX-y patterns and tools to free you from having to remember multiple ways of doing the same thing. Wash 0.8.1 focused on improvements to documentation and usability. We added a friendly p

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

2019-07-08 Thread Michael Gale
example if there a gem updates and PM master changes we currently need to add that to the build process and ensure it is managed across all environments. Thanks Michael On Mon, Jul 8, 2019 at 5:21 PM Ben Ford wrote: > This is particularly painful in Dev/Test environments were

[Puppet Users] pupperware experience and Console UI?

2019-07-08 Thread Michael Gale
operations, upgrade issues, etc. Also am I correct in assuming that the Console GUI found in Puppet Enterprise is an Enterprise only feature and I would need to find a replacement for that component? Any feedback is appreciated. Thanks Michael -- You received this message because you are

[Puppet Users] Re: Packages for SLES 15

2019-07-02 Thread Michael Watters
alled already as well. [image: Screenshot_SLES15_2019-07-02_11:41:26.png] On Tuesday, July 2, 2019 at 11:35:47 AM UTC-4, Michael Watters wrote: > > Are there any plans to package puppet for SLES 15? I only see packages > for SLES 11 and 12 at http://release-archives.puppet.com/yum/sl

[Puppet Users] Packages for SLES 15

2019-07-02 Thread Michael Watters
Are there any plans to package puppet for SLES 15? I only see packages for SLES 11 and 12 at http://release-archives.puppet.com/yum/sles. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails

Re: [Puppet Users] stdlib module causes puppet failure

2019-06-26 Thread Michael Watters
Thanks. Unfortunately that doesn't seem to be the issue. There is no file named .resource_types within the puppet configuration dir. > > You may be running into > https://tickets.puppetlabs.com/browse/PUP-9602. Try deleting > /mnt/live/puppeteer/conf.d/puppet/.resource_types > > Josh > > >

[Puppet Users] stdlib module causes puppet failure

2019-06-20 Thread Michael Watters
I'm having an issue with the puppetlabs-stdlib module causing compilation failures using the puppet apply command. > Error: Class 'stdlib' is already defined (file: /mnt/live/puppeteer/conf.d/puppet/modules/stdlib/manifests/init.pp, line: 16); cannot redefine (file: /mnt/live/puppeteer/conf.

Re: [Puppet Users] Puppet does not recognize bind mounts

2019-06-20 Thread Michael Watters
mount { '/mnt/home': > ensure => 'mounted', > device => '/home', > dump=> '0', > fstype => 'none', > options => 'rw,bind,seclabel,relatime,errors=remount-ro', > pass=> '0',

Re: [Puppet Users] Re: [ACTION] Changes to release package links

2019-06-10 Thread Michael Watters
Thanks. I've updated our agents to use the new location. On Wednesday, June 5, 2019 at 5:25:47 PM UTC-4, Molly Waggett wrote: > > Hi Michael, > > The puppetlabs-release-pc1 packages on yum.puppetlabs.com are the ones we > plan to re-archive. You will need to install new r

[Puppet Users] Puppet does not recognize bind mounts

2019-06-07 Thread Michael Watters
I'm having an issue with puppet repeatedly attempting to mount resources which are configured as bind mounts on one of my nodes. Here is a copy of the relevant lines from my manifest. $koji_fedora_releases = ['28', '29', '30'] $koji_fedora_releases.each |$release| { ['released', 'testing']

Re: [Puppet Users] Re: [ACTION] Changes to release package links

2019-06-05 Thread Michael Watters
Hello, I see the puppetlabs-release-pc1 package is available on yum.puppetlabs.com however it doesn't actually show as an available update when running "yum update". For example, here's the output on one of our servers. ``` [root@server1 yum.repos.d]# yum update puppetlabs-release-pc1 Loaded p

[Puppet Users] Re: [ACTION] Changes to release package links

2019-05-30 Thread Michael Watters
How does this change affect private mirrors? Will rsync services be available on the archive repos? On Monday, April 22, 2019 at 5:31:09 PM UTC-4, Molly Waggett wrote: > > TLDR: On May 14, 1. yum release packages will move to the top-level of > yum.puppet.com; 2. links to nightly release packa

Re: [Puppet Users] Re: [ACTION] Changes to release package links

2019-05-15 Thread michael mack
Gotcha, thanks Molly. On Wednesday, May 15, 2019 at 3:32:40 PM UTC-7, Molly Waggett wrote: > > Hi Michael, > > That path has been removed, as PC1 has gone EOL. All associated packages > have been moved to release-archives.puppet.com. We currently don't have > repositori

[Puppet Users] Re: [ACTION] Changes to release package links

2019-05-15 Thread michael mack
How do you get the following old repo to work? rpm -Uvh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm On Monday, April 22, 2019 at 2:31:09 PM UTC-7, Molly Waggett wrote: > > TLDR: On May 14, 1. yum release packages will move to the top-level of > yum.puppet.com; 2. links to

[Puppet Users] Re: Puppetserver 6.0 -> Error:num=20 and Error:num=21

2019-01-04 Thread &#x27;Michael Post' via Puppet Users
Hello, > > Am Freitag, 4. Januar 2019 22:21:47 UTC+1 schrieb Michael Post: > >> Hello, >> >> yesterday and today i set up a new Debian Stretch VM and want to install >> a fresh environment with puppetserver 6. >> >>> >>> sometimes it is

[Puppet Users] Re: Puppetserver 6.0 -> Error:num=20 and Error:num=21

2019-01-04 Thread &#x27;Michael Post' via Puppet Users
Hello, Am Freitag, 4. Januar 2019 22:21:47 UTC+1 schrieb Michael Post: > > Hello, > > yesterday and today i set up a new Debian Stretch VM and want to install a > fresh environment with puppetserver 6. > > sometimes it is good to write and think and read more and more. I s

[Puppet Users] Re: Puppetserver 6.0 -> Error:num=20 and Error:num=21

2019-01-04 Thread &#x27;Michael Post' via Puppet Users
Am Freitag, 4. Januar 2019 22:21:47 UTC+1 schrieb Michael Post: > > Hello, > > Additional information to the problem: On the node i can make an "puppet agent -t" and the first time the node is connecting to the puppetserver. At the puppetserver i sign this request with

[Puppet Users] Puppetserver 6.0 -> Error:num=20 and Error:num=21

2019-01-04 Thread &#x27;Michael Post' via Puppet Users
. Thanks for every hint and help. Greetings, Michael -- 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

Re: [Puppet Users] Re: Bolt 1.8.0 now available

2019-01-04 Thread Michael Smith
Oof, we messed up packaging it. I’ll see about getting a new release out today. On Fri, Jan 4, 2019 at 03:54 wrote: > Hello, > > On Friday, January 4, 2019 at 12:01:58 AM UTC+1, Puppet Product Updates > wrote: >> >> Greetings! >> >> We're happy to announce the release of Bolt 1.8.0. Highlights i

Re: [Puppet Users] Use bolt with existing Puppet manifests

2018-12-06 Thread Michael Smith
That’s something we intend to work, and I think it will for straight-forward Code setups using Hiera 5. ‘Bolt apply’ let’s you apply a manifest (hasn’t yet been updated to support a site file with node declarations). You can also use ‘apply’ in Bolt Plans to directly apply roles/profiles. The fol

[Puppet Users] release-archives.puppet.com is missing a dists folder

2018-10-11 Thread Michael Liao
Hi, I have an apt source set up for release-archives.puppet.com, but it has now broken because the dists folder seems to have disappeared. Is this intentional? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and

[Puppet Users] Re: adding require to if/elseif statement?

2018-09-11 Thread Michael Watters
ot; ', provider => powershell, creates => 'C:/Windows/dir/file.exe' require => Package['client_package'], } } package { 'client_package': } On Tuesday, September 11, 2018 at 9:09:25 AM UTC-4, Jason McMahan wrote: > > Thanks Michael, > I thi

[Puppet Users] Re: adding require to if/elseif statement?

2018-09-11 Thread Michael Watters
What you have there looks fine but I would change the elsif to an else statement. On Tuesday, September 11, 2018 at 8:08:53 AM UTC-4, Jason McMahan wrote: > > Good day, > I am attempting to add require to an if statement and not sure i am doing > it right. Any help would be greatly appreciated.

[Puppet Users] Re: Duplicate declaration

2018-09-10 Thread Michael Watters
re may be a better option but this way ensures that the resource is only created once. On Monday, September 10, 2018 at 10:22:18 AM UTC-4, Ugo Bellavance wrote: > > > > On Monday, September 10, 2018 at 9:46:18 AM UTC-4, Michael Watters wrote: >> >> It sounds like your atqapache:

[Puppet Users] Re: Duplicate declaration

2018-09-10 Thread Michael Watters
It sounds like your atqapache::vhost type is attempting to create the /var/www/dev/user1/client1 directory for every vhost that is defined. Can you post your definition for this type here? On Friday, September 7, 2018 at 5:05:44 PM UTC-4, Ugo Bellavance wrote: > > Hi, > > I have made a module,

Re: [Puppet Users] Puppet Apache Module

2018-08-24 Thread Michael Watters
What happens when there's a bug fix or security update that you need? Pinning versions also only works as long as you have no *other* modules that depend on a newer version of the apache module. IMO the apache module should not be dropping support for an Apache release that is still widely use

Re: [Puppet Users] old puppetdb-terminus version no longer available in ubuntu precise apt repo

2018-08-20 Thread Michael Liao
Great, I see my package in here, thanks. On Monday, August 20, 2018 at 12:46:14 PM UTC-7, Branan Purvine-Riley wrote: > > Hi Michael, > > We've started archiving very old packages to simplify our repositories. > The announcement was made a couple of weeks ago: > http

[Puppet Users] old puppetdb-terminus version no longer available in ubuntu precise apt repo

2018-08-20 Thread Michael Liao
pool only has 1.4+ now. http://apt.puppetlabs.com/dists/precise/main/binary-amd64/Packages (puppetdb-terminus 1.1.1-1 is listed here) http://apt.puppetlabs.com/pool/precise/main/p/puppetdb/ (puppetdb-terminus 1.1.1-1 is no longer available here) Thanks, Michael -- You received this me

[Puppet Users] Re: Automatic parameter lookup including metaparameters

2018-08-16 Thread Michael Watters
> Is there in fact any reason for concern that applying class autofs before applying one or both of the other two might result in a Puppet failure or a target system misconfiguration? In this case, yes. In order for autofs to work properly NFS must be configured first and in order for NFS to

[Puppet Users] Re: Release and Archive repository changes for Puppet software

2018-08-13 Thread Michael Watters
Also, does the release-archives site have rsync enabled? On Thursday, August 9, 2018 at 7:29:40 PM UTC-4, Rob Kenefeck wrote: > > Hi Eric, when will this be happening? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this gro

Re: [Puppet Users] Automatic parameter lookup including metaparameters

2018-08-13 Thread Michael Watters
wrapper solves the issue but it still feels like a kludge instead of a proper solution. On Thursday, August 9, 2018 at 3:33:47 PM UTC-4, Ben Ford wrote: > > 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 &

[Puppet Users] Automatic parameter lookup including metaparameters

2018-08-09 Thread Michael Watters
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 follows. if !defined(Class['autofs']) { class { 'autofs': require => [ Class['authconfig'],

[Puppet Users] Puppetize Live Stream

2018-07-26 Thread Michael Stahnke
to get your submission in by 30 July because we won’t be extending the CFP deadline this year. We look forward to seeing your ideas for live stream (and in-person) talks, and seeing more people and topics represented on the virtual stage at Puppetize Live. *Michael Stahnke* *Director of Engineeri

Re: [Puppet Users] Puppet & Ruby gems

2018-06-25 Thread Michael Smith
I believe http://alcy.github.io/2012/11/21/handling-gem-dependencies-in-custom-puppet-providers/ covers this case. It's old but should still apply. On Mon, Jun 25, 2018 at 6:48 AM Eslam Abd El Naser < eslam.sa3dany2...@gmail.com> wrote: > Hi all, > I'm creating a custom resource type and trying t

[Puppet Users] Re: Managing "live" network configuration

2018-05-29 Thread Michael Watters
Not familiar with this module but you could set up a custom exec resource to restart the network when $facts['ipaddress'] does not match what is defined in hiera. We do something similar for SELinux to make sure the server is actually in the mode that it should be. On Thursday, May 24, 201

Re: [Puppet Users] Re: custom facts

2018-04-26 Thread Michael Di Domenico
On Thu, Apr 26, 2018 at 8:58 AM, jcbollinger wrote: > On Wednesday, April 25, 2018 at 12:05:18 PM UTC-5, Michael Di Domenico > wrote: >> >> yes, that is true. i want both facter and puppet to be able to find >> my custom facts without having to specify an environment

Re: [Puppet Users] Re: custom facts

2018-04-25 Thread Michael Di Domenico
;t the best method, but it works for now On Wed, Apr 25, 2018 at 1:26 PM, R.I.Pienaar wrote: > > > On Wed, 25 Apr 2018, at 19:05, Michael Di Domenico wrote: >> >> > >> >> > Perhaps something like this then, though that answer is old, in theory >> &

Re: [Puppet Users] Re: custom facts

2018-04-25 Thread Michael Di Domenico
>> > >> > Perhaps something like this then, though that answer is old, in theory >> > it >> > should probably work for new Puppet: >> > >> > https://ask.puppet.com/question/4645/puppet-apply-and-pluginsync/ >> > >> >> In recent Puppet with puppet apply it automatically finds facts in your >> module

Re: [Puppet Users] Re: custom facts

2018-04-25 Thread Michael Di Domenico
On Wed, Apr 25, 2018 at 10:14 AM, Luke Bigum wrote: > On Wednesday, 25 April 2018 15:01:00 UTC+1, Michael Di Domenico wrote: >> >> in the past i'd copy my ruby facts into >> /usr/share/ruby/vendor_ruby_facter (which probably wasnt right) > > > No... That's

[Puppet Users] custom facts

2018-04-25 Thread Michael Di Domenico
i'm upgrading from puppet 3 (via epel) to puppet 5 (via puppetlabs), i'm confused on how/if there's a way to get custom ruby facts to load into facter without having to specify FACTERLIB. i'll admit i might have missed something in the documentation in the past i'd copy my ruby facts into /usr/s

Re: [Puppet Users] rspec cannot load required gems

2018-04-23 Thread Michael Watters
Thanks. I found that adding "require 'parseconfig'" to the spec/spec_helper.rb file also allows the tests to run. bundle exec is failing with dependency errors as well. On Monday, April 23, 2018 at 5:24:08 PM UTC-4, Garrett Honeycutt wrote: > > On 4/23/18 4:38

[Puppet Users] rspec cannot load required gems

2018-04-23 Thread Michael Watters
Has anybody used rspec-puppet to run tests using a function that requires external ruby gems? I'm running unit tests on resources that call functions in the puppet_thycotic module however rspec is failing with an error as shown below. Failure/Error: require 'parseconfig' Puppet::Pre

[Puppet Users] Re: Managing MySQL Users and Permissions with Puppet

2018-04-23 Thread Michael Watters
Use the puppetlabs-mysql module to manage the grants for each user/db. You can have different values for each environment stored in hiera. On Friday, April 20, 2018 at 11:42:22 AM UTC-4, Jonathan Preston wrote: > > I've searched for answers, but couldn't find anything quite matching my > use ca

[Puppet Users] Re: PuppetDB: manually import reports

2018-04-19 Thread Michael Watters
Puppetdb data is all stored in postgresql so you should be able to copy the reports table from one server to the other. For example, run this on your prod node. pg_dump -h puppetdb-dev -U puppetdb -W -d puppetdb -t reports | psql -U puppetdb puppetdb I'm not sure if you need more than just th

[Puppet Users] Re: puppet in epel

2018-04-09 Thread Michael Watters
, Michael Di Domenico wrote: > > does anyone know who or how puppet gets into epel? the packages for > puppet/facter in epel are woefully out of date. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this gr

[Puppet Users] puppet in epel

2018-04-05 Thread Michael Di Domenico
does anyone know who or how puppet gets into epel? the packages for puppet/facter in epel are woefully out of date. -- 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

[Puppet Users] Re: Pre-generated certificates?

2018-03-31 Thread Michael Watters
I've done this for a few nodes but I'm not sure how this would be an improvement over just enabling autosign. Private keys should remain private to a node and should never be transmitted over the network if possible. On Wednesday, March 28, 2018 at 3:10:35 PM UTC-4, Eric Sorenson wrote: > > Is

Re: [Puppet Users] Raspberry Pi Agents

2018-03-20 Thread Michael Stahnke
On Tue, Mar 13, 2018 at 3:50 AM, Dietrich, Stefan wrote: > Hello Michael, > > oh, another Puppet on Pi user :) > > Any specific reason to drop the pl-build-tools for Debian 9 [1] ? > I have recently build Puppet Agent 1.10.10 for Debian 8/9 on armhf as > well...and for

[Puppet Users] Raspberry Pi Agents

2018-03-12 Thread Michael Stahnke
In my spare time, I build out puppet-agents for Raspberry pis, because I like pain and ARM boards. I finally got Debian Stretch Working for armhf. Debian 9 http://unsupported.s3.amazonaws.com/puppet-agent_5. 4.0.412.g8f7446e2-1stretch_armhf.deb Debian 8 http://unsupported.s3.amazonaws.com/puppe

[Puppet Users] Agent wants to access PuppetDB on Port 8081

2018-03-01 Thread Michael Moossen
is there any way to get it running with out opening port 8081? many thanks Michael -- 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] rspec-puppet with custom types

2017-11-03 Thread Michael Watters
Thanks. I'll create an issue with the rspec-puppet project. On Tuesday, October 24, 2017 at 10:15:14 AM UTC-4, Henrik Lindberg wrote: > > On 23/10/17 22:29, Michael Watters wrote: > > Hello, > > > > Does anybody know how to make rspec-puppet work with modules t

[Puppet Users] rspec-puppet with custom types

2017-10-23 Thread Michael Watters
Hello, Does anybody know how to make rspec-puppet work with modules that use custom types for class parameters? I am getting an error when I run spec tests such as follows. # Puppet::ParseError: # Expected parameter 'ensure' of 'Class[Logrotate]' to have type Logrotate::Ensurable, got

[Puppet Users] Re: Clean Puppet 3 to Puppet 4 migration

2017-10-11 Thread Michael Watters
Been through a similar upgrade myself. The first step would be to spin up a new puppet master running Puppet Server. You can copy over the SSL dir from your old/current master to avoid SSL errors on the agents. For testing you'll want to make sure your manifests work correctly using the futu

[Puppet Users] Re: hiera style guide

2017-10-06 Thread Michael Watters
You do not *have* to quote strings however I have ran into issues with hiera turning strings that look like integers into an integer which causes problems when you attempt to do a key lookup using a string value or pass a value to a parameter that expects a string value. For example, there is

Re: [Puppet Users] Re: Literal URIs in templates

2017-08-29 Thread Michael Burling
mplate('ldap/ldap.conf.erb'), > require => Class["ldap::install"], > } > > See: > https://docs.puppet.com/puppet/latest/types/file.html#file-attribute-content > > ken. > > On Tue, Aug 29, 2017 at 1:00 PM, Michael Burling > > wrote: >

[Puppet Users] Re: Literal URIs in templates

2017-08-29 Thread Michael Burling
Me, too! How did you fix the above? I'm running into the same error. On Sunday, March 23, 2014 at 7:35:16 PM UTC-5, Grant wrote: > > Scrap that. I'm an idiot. > > > > On 24 March 2014 10:29, Grant Byers > > wrote: > >> Hi, >> >> I'm having some trouble using a template to construct URIs in a targ

[Puppet Users] Re: Data in Modules: Fail on unsupported OS

2017-08-25 Thread Michael Watters
I usually do this within the manifest itself. For example: if $facts['osfamily']!='RedHat'{fail("$operatingsystem is not supported")} On Tuesday, August 22, 2017 at 7:34:12 AM UTC-4, plapp...@gmail.com wrote: > > Good morning :) > > I'm currently writing a puppet module for the OpenBSD speci

Re: [Puppet Users] Re: Puppet certification issue

2017-07-24 Thread Michael Smith
Puppet uses application-level authentication, not server-level, so a client certificate is not required to connect to the server. Some details about this are documented at https://docs.puppet.com/puppet/5.0/config_file_auth.html and https://docs.puppet.com/puppetserver/5.0/config_file_auth.html.

[Puppet Users] Hiring Puppet Developers

2017-07-07 Thread Michael Catuara
Hi gang, I work for TransUnion and we are looking to hire two Puppet Developers/Linux Engineers. Here's a few bullets to describe the job... - Member of the Engineering team that staffs projects, maintains the Puppet infra, writes Puppet code, and BAU time consists of exploring new technology. -

Re: [Puppet Users] Custom Facts using awk

2017-03-30 Thread Michael Watters
%x is a ruby method which captures command output. IMO you can do most of what you need using native ruby methods, there's no need to pipe output to grep/sed/awk since ruby has built in pattern matching functions and if you're using ruby you might as well do it the ruby way. For example, this

[Puppet Users] Re: Custom Facts using awk

2017-03-22 Thread Michael Watters
You can do everything you need entirely in ruby. For example, here's a custom fact that returns the number of screens reported by the X server. Facter.add(:screen_count) do confine :kernel => 'Linux' setcode do @screens = Facter::Core::Execution.exec("/usr/bin/xrandr -display :0

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

2017-03-03 Thread Michael Watters
This would be the ideal but you *can* use the rpm provider when needed. For example: package { 'jdk': ensure => installed, provider => 'rpm', source => '/pub/oracle/jdk-8-linux-x64.rpm', } This will install the rpm using the defined source path. In our environment the /pub dire

[Puppet Users] Re: restart NginX ONCE (after default file has been removed)

2017-03-03 Thread Michael Watters
Also, it looks like somebody tried to fix this previously but the changes weren't merged in. See https://github.com/voxpupuli/puppet-nginx/issues/333 for example. IMO there should be a class parameter to control this behavior so you might want to submit a PR with any changes you make. On Fr

[Puppet Users] Re: restart NginX ONCE (after default file has been removed)

2017-03-03 Thread Michael Watters
notify events are queued and grouped together so nginx should only be restarted once when puppet runs. You may also need to include nginx in your profile so that the service is properly defined. On Friday, March 3, 2017 at 7:00:36 AM UTC-5, Steve Button wrote: > > Hi, > > I've got a small piec

[Puppet Users] Re: What's the best way to deal with multiple OS's

2017-03-02 Thread Michael Watters
This is pretty much exactly what module data is for. Check out https://docs.puppet.com/puppet/4.9/lookup_quick_module.html for more details. On Friday, September 30, 2011 at 2:33:50 PM UTC-4, Jeff Falgout wrote: > > We're in the situation of dealing with multiple operating systems (and > will

[Puppet Users] hiera error in agent run after reboot

2017-02-13 Thread Michael Zoet
ass { 'profile_base::user': } class { 'profile_base::sudo': } class { 'profile_base::puppet': } class { 'profile_base::backup': } class { 'profile_base::env': } class { 'profile_base::ssh': } class { 'profile_base::host': } class

[Puppet Users] Re: optimize my configuration

2017-02-13 Thread Michael Watters
ensure => '5.0' should work but you may want to add a dependency to the package resource to ensure that the file is downloaded first. package { "package": ensure => '5.0', provider => 'rpm', source => '/tmp/package-5.0.el6.noarch.rpm', require => File['/tmp/package-5.0.el6.noarch.

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

2017-02-13 Thread Michael Watters
puppet-dashboard is EOL and has not been updated in quite a while. You'll need to move to a modern solution such as Puppetboard which does work with Puppet Server and Puppetdb 4. On Friday, February 10, 2017 at 3:06:23 PM UTC-5, Dimitri Yioulos wrote: > > Hi, All. > > Previously, I had a Pupp

Re: [Puppet Users] Re: Puppet Actions in Parallel?

2017-01-30 Thread Michael Shaw
server. What about if there are 5 or 6? the creation of these happens sequentially, creating a very long running script. The best outcome would be to have a way to write a provider to say that all instances of this type are independent, and we can run X in parallel. Kind regards, Michael On

[Puppet Users] Re: Issue with puppetlabs-java

2017-01-22 Thread Michael Watters
It looks like you need to add a package_type for deb and a case statement for Ubuntu. Would be a good time to patch the module and submit a pull request. :) On Friday, January 20, 2017 at 10:37:58 AM UTC-5, Salty Old Cowdawg wrote: > > Supposedly on the forge site it says the module was test

[Puppet Users] Re: Announce: Puppet Agent 1.8.0 is available

2016-11-02 Thread Michael Watters
There seems to be a bug in the mount provider with the new puppet-agent 1.8 package. I have a node that is reporting changed file system options every time that puppet runs although nothing is actually changing. I downgraded back to puppet-agent 1.7.1 and this behavior goes away. >Notice:

[Puppet Users] Re: Puppet agent not able to connect to puppet server after rebooting puppet server

2016-10-24 Thread Michael Watters
Looks like your master's host name isn't included on the certificate. Are you able to run the agent using puppet agent -t --server puppet ? You can also see what host names are returned by the master's cert using openssl. openssl s_client -connect puppet:8140 This should show you the entire c

[Puppet Users] Re: How to find out, which directories/objects are puppetized?

2016-10-11 Thread Michael Watters
Puppet keeps a cache of classes and resources on every node. You can look at the /opt/puppetlabs/puppet/cache/state/resources.txt file to see which resources are managed by puppet. On Tuesday, October 11, 2016 at 7:41:11 AM UTC-4, Al wrote: > > Hi, subj. > Configuration is very complex, so

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

2016-09-16 Thread Michael Stahnke
as well as the sessions. Join us a day early for the contributor summit for open forums if that works for you. I want to invite you to come, but time is running out for the cheaper tickets. Today is the last day for the 20% off price. Michael Stahnke Director of Engineering -- You received th

Re: [Puppet Users] Puppet web server stops after being started

2016-08-30 Thread &#x27;Michael Wildey' via Puppet Users
attached to this post Just an idea, could it be better to remove the installation completly and try to reinstall everything? Am Montag, 29. August 2016 18:10:18 UTC+2 schrieb Jeremy Barlow: > > > On Monday, August 29, 2016 at 7:44:02 AM UTC-7, Michael Wildey wrote: > > >>

  1   2   3   4   5   6   7   8   9   >