[Puppet Users] Exit status of "puppet agent --test"

2023-04-03 Thread Chris Ritson
Does a manual puppet agent run (puppet agent --test) have a defined exit status to indicate if errors were detected? This is not described by the built-in help. In two test cases, I have only seen a return code of 2. Both runs made some changes. One had warnings, the other didn't. --

RE: [Puppet Users] Mount NFS share defined in hiera

2023-02-24 Thread Chris Ritson
type: string value: seen: 'true' notify: Exec[dr_apparmor] nfs::client_enabled: true nfs::manage_packages: true nfs::nfs_v4_client: false nfs_client_mounts: : server: share: -- Chris Ritson (School of Computing) Newcastle University, NE1 7RU

Re: [Puppet Users] SQL Error updating certnames PDB6.22.1

2022-12-01 Thread Chris Hoffman
generated, and >> how do I fix it... >> >> On Thursday, December 1, 2022 at 1:51:07 AM UTC-5 dhei...@opentext.com >> wrote: >> >>> Am Mittwoch, dem 30.11.2022 um 07:58 -0800 schrieb Chris Hoffman: >>> >>> certname = $3AND >>

Re: [Puppet Users] SQL Error updating certnames PDB6.22.1

2022-12-01 Thread Chris Hoffman
Yes, that is the issue... the question is, where is this generated, and how do I fix it... On Thursday, December 1, 2022 at 1:51:07 AM UTC-5 dhei...@opentext.com wrote: > Am Mittwoch, dem 30.11.2022 um 07:58 -0800 schrieb Chris Hoffman: > > certname = $3AND > > > Is this

[Puppet Users] SQL Error updating certnames PDB6.22.1

2022-11-30 Thread Chris Hoffman
_timestamp < $4 OR latest_report_timestamp is NULL ) I don't see any relevant bugs in tickets.puppetlabs.com. Puppet Version 6.27.0 Thanks, Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

[Puppet Users] Bolt running local script

2020-08-07 Thread Chris Edwards
Not sure if this is the correct place to post this question but I'll do it anyway Hi! I am trying to have Bolt run a script on my laptop for each target. I don't want to execute a script on the target. Obviously I am fairly new to Bolt. Any help is appreciated. Thanks, Chr

Re: [Puppet Users] Mysqldump using puppet

2020-07-31 Thread Chris
: cron { cron_mysqlbackup: command => "/root/backup.sh", user => root, hour => 0, minute => 0, require => File['/opt/bin/MySQLBackup.pl',"/var/local/backups/mysql", "/root/backup.sh"]; } On Sat, Aug 1, 2020

Re: [Puppet Users] Mysqldump using puppet

2020-07-31 Thread Chris
on errors, but you can fork the repo and submit a PR and I'd be happy to merge. -Chris On Sat, Aug 1, 2020 at 5:17 AM Md Juyel Haque wrote: > Please help me.I want to create script database backup. This should be > deployed with the puppet scripts on the Tomcat server. > Errors

Re: [Puppet Users] Is the focal repo borked for Ubuntu 20.04 LTS (Focal Fossa)?

2020-06-22 Thread Chris
PEBKAC - ugh. No more emails before coffee. :) On Tue, Jun 23, 2020 at 9:11 AM Chris wrote: > Greetings Eric, > > tl;dr - PEBKEC > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

Re: [Puppet Users] Is the focal repo borked for Ubuntu 20.04 LTS (Focal Fossa)?

2020-06-22 Thread Chris
ces.list.d/pc_repo.list was being managed by the puppetlabs-puppet_agent module, which is why it wasn't removed when I purged puppet6-release and re-installed it. I'd forgotten to set 'collection', so the repo was getting stomped with the wrong collection. Cheers, -Chris On Tue, Jun 23,

[Puppet Users] Is the focal repo borked for Ubuntu 20.04 LTS (Focal Fossa)?

2020-06-19 Thread Chris Knight
I first encountered this problem a few days ago, and I thought I'd wait to see if it was repo corruption that would be fixed. Sadly, even with a fresh install of the repo package I'm still getting this: root@babylonia:~# wget https://apt.puppetlabs.com/puppet6-release-focal.deb --2020-06-19 08:

[Puppet Users] Re: Best practice for Puppet CA servers in multiple Data Centres - upgrading to v6

2019-09-26 Thread chris
my opinion. Cheers Chris > Intermediate Certs looks a bit fiddly but might be an option. >> Just to clarify, using these would mean we could also standup new >> client-servers in the other DCs if the main DC goes down? >> > > No, if you've got one CA / Signing Mast

[Puppet Users] Re: Best practice for Puppet CA servers in multiple Data Centres - upgrading to v6

2019-09-17 Thread chris
Certs looks a bit fiddly but might be an option. Just to clarify, using these would mean we could also standup new client-servers in the other DCs if the main DC goes down? Cheers Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Best practice for Puppet CA servers in multiple Data Centres - upgrading to v6

2019-09-16 Thread chris
tricky to have multiple CAs talking to it ?? (I know nothing about how the foreman - puppet cxn works). Cheers Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails

[Puppet Users] Re: Roles and profiles dissent

2019-08-23 Thread Chris Southall
> > > Good points and a nice example. In the case of my basic module I'm > currently using a separate create_resources line for each class parameter. > Is there a way to iterate over all class parameters using each() so I can > use a single nested loop to create everything? > > You can - add

[Puppet Users] Re: Roles and profiles dissent

2019-08-03 Thread Chris Southall
> > 1) create_resources() is a bit of a kludge left over from puppet 3. > Starting in puppet 4 (and 3’s future parser), iteration was added. Instead > of create_resources($some_hash), you would say $some_hash.each |$title, > $options| {} and create each resource inside the block. You can still

[Puppet Users] Re: Roles and profiles dissent

2019-08-02 Thread Chris Southall
Hi Luke. Thanks for a thoughtful and detailed response. Quite a similar question was posted about two weeks back, you might find > that very interesting: > https://groups.google.com/forum/#!topic/puppet-users/NW2yuHMJvsY > I saw this, and have been kicking around the idea leading to this post

[Puppet Users] Roles and profiles dissent

2019-08-01 Thread Chris Southall
Our site is using a collection of puppet modules to manage various Linux components using the roles and profiles model. While it works OK for the most part, I often find it necessary to update a module or profile for some reason or other. Modules obtained from puppet forge sometimes don't quit

[Puppet Users] merging hashes with puppet lookup function

2019-06-09 Thread Chris Southall
I'm trying to merge hiera hashes using the lookup function as described here: https://puppet.com/docs/puppet/5.5/hiera_automatic.html#puppet-lookup Here's my test: Hiera config file: == --- version: 5 defaults: datadir: hiera data_hash: yaml_data hierarchy: - name:

Re: [Puppet Users] Re: Could not retrieve file metadata for puppet:///files/limits-conf: Error 500 on SERVER: Server Error: Not authorized to call find on /file_metadata/files/limits-conf

2019-05-28 Thread Chris Phillips
I thought the same and have tried that to no avail. I believe its because we are storing the files outside of the standard modules directory ie /etc/puppetlabs/code where as we are using /etc/puppetlabs/example/code. Thanks, Chris > On May 28, 2019, at 6:03 AM, Alessandro Franceschi wr

[Puppet Users] Could not retrieve file metadata for puppet:///files/limits-conf: Error 500 on SERVER: Server Error: Not authorized to call find on /file_metadata/files/limits-conf

2019-05-23 Thread Chris Phillips
I am using Puppet v5.5.13 and am receiving the following error. Any help would be appreciated. *Error: /Stage[main]/Profiles::Base/File[/etc/bashrc]: Could not evaluate: Could not retrieve file metadata for puppet:///files/etcbashrc: Error 500 on SERVER: Server Error: Not authorized to call fi

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

2019-05-15 Thread Chris Taylor
Try http://release-archives.puppet.com/yum/el/7/PC1/x86_64/puppetlabs-release-pc1-1.1.0-5.el7.noarch.rpm Just be aware it will probably install a repo with yum.puppetlabs.com into /etc/yum.repos.d/, so you will need to update the path to the appropriate place. On Wednesday, May 15, 2019 at 11

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

2019-05-15 Thread Chris Taylor
You'd be better declaring netplan as a requires: if $operatingsystem == "Ubuntu" { if versioncmp($facts['os']['release']['full'], '18') >= 0 { package { 'netplan': ensure => present, } file { "/etc/netplan/windows-dhcp.yaml": mode=> '0644', owner => "${roo

Re: [Puppet Users] Puppet apt repository broken?

2019-05-15 Thread Chris Taylor
!) I shall check in again the morning then. Many thanks, Chris On Wednesday, May 15, 2019 at 11:34:26 PM UTC+1, Molly Waggett wrote: > > Hi Chris, > > We originally did not plan to support repositories on release-archives, > but due to the high demand, yes we are working to enable

Re: [Puppet Users] Puppet apt repository broken?

2019-05-15 Thread Chris Taylor
Guessing this is related to the archiving of the puppet 4 & older packages? I note that the yum archive still functions as a repo, but the apt one doesn't have any release files (or a dists folder), in spite of otherwise being structured appropriately.. Is this going to be fixed? (release-archi

[Puppet Users] Re: hiera can't find facts to read hierarchy files?

2018-09-19 Thread chris
Hi Sean, I'm having the same issue, and I see what you said, I'm just too new to puppet. Would it be possible for you (or others) to expand on how you fixed this (with and example)? Chris On Wednesday, November 29, 2017 at 11:15:49 AM UTC-6, Sean wrote: > > Thanks to PuppetLa

Re: [Puppet Users] puppet5 upgrade performance issues

2018-01-28 Thread Chris Smith
Hey, Thanks for the follow up. Environment caching helped a lot, compile times are down to 5-10 seconds (from 10+ minutes). I haven't had time to test puppet-agent-5.3 or look at converting to hiera5 unfortunately. On 25/01/18 04:41, Matthaus Owens wrote: > Hey Chris, > Just wonde

Re: [Puppet Users] puppet5 upgrade performance issues

2018-01-10 Thread Chris Smith
g that up, I did a test run and it helped quite a bit. Thanks for the suggestion. Cheers, Chris. -- 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 pupp

Re: [Puppet Users] puppet5 upgrade performance issues

2018-01-10 Thread Chris Smith
On 11/01/18 08:41, Matthaus Owens wrote: > Chris, > > Good to know that PuppetDB isn't the cause here. One thing worth doing > on your servers is moving forward to Puppet-agent 5.3.2. There was a > performance regression in Puppet 5 > https://tickets.puppetlabs.com

Re: [Puppet Users] puppet5 upgrade performance issues

2018-01-09 Thread Chris Smith
Hi, Thanks for your help. On 10/01/18 06:36, Matthaus Owens wrote: > Chris, > To better help you, it would be great to know a few more things about > your installation. First question: are you running puppetserver 5.0.0 > or something later in the 5.x series (and is it the same on a

[Puppet Users] puppet5 upgrade performance issues

2018-01-08 Thread chris smith
look at next, is there an easy way to peak inside jruby to see what's taking so long? Any suggestions would be great. Cheers, Chris. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

Re: [Puppet Users] Dynamic file content?

2017-11-19 Thread Chris Denneen
was just providing options. Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion

[Puppet Users] Dynamic file content?

2017-11-18 Thread Chris Denneen
Can you use an ERB template to construct the changes you require rather than augeas? If not another suggestion would be 1 file resource from src to temp location, which only gets updated when src changes. An Exec that is refreshonly that copies from temp to dest (which is notified by file resour

[Puppet Users] Re: apt/yum.downloads.puppetlabs.com CDN & rsync deprecation

2017-04-24 Thread Chris Kuehl
her options. Thanks, Chris On Friday, April 21, 2017 at 1:54:36 PM UTC-7, Daniel Dreier wrote: > > On Wednesday we put yum.puppetlabs.com and apt.puppetlabs.com behind the > CloudFront CDN in order to accelerate downloads for overseas users. Both > repositories have historically been served

Re: [Puppet Users] /etc/puppetlabs/puppetserver/conf.d/auth.conf : want to use wildcards in certificate_request section

2017-04-18 Thread chris
On Tuesday, 18 April 2017 17:31:22 UTC+10, Martin Alfke wrote: > > > > On 18 Apr 2017, at 08:03, chris > > wrote: > > > > Hi guys, > > > > so I'm trying to restrict requests from known domains eg > > > > > > {

[Puppet Users] /etc/puppetlabs/puppetserver/conf.d/auth.conf : want to use wildcards in certificate_request section

2017-04-17 Thread chris
ersion is 2.7.0 (puppet v4). Can anybody help? Thanks Chris -- 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

[Puppet Users] RHEL 7 STIG compliance using Puppet

2017-03-03 Thread Chris S.
Hello all, Does anyone have a good method to Adhere to the RHEL STIG or even CIS benchmark usign Puppet. I'm inclined to write some of my own modules and/or use some from the forge to piecemeal a solution. I was wondering is anyone has an Approved or Supported all encompassing solution to th

[Puppet Users] Re: puppet 8140 port is not listening

2017-01-26 Thread Chris Lamontagne
Thanks a bunch for this post Jason as this was exactly my problem! I'm surprised how much digging I had to do to get to this solution finally. On Tuesday, 19 July 2016 14:27:02 UTC-4, Jason Hatman wrote: > > Hello. I had this issue as well. My VM only has 2GB of RAM total and > puppetserver w

Re: [Puppet Users] Could not find resource, but it's there.

2017-01-11 Thread Chris
On 11/01/17 06:26, Arpin Dominique (Nter) wrote: > Because you don’t use the right name… > I was using the alias name, which should also work. The bug report explains things. Cheers, -- Postgresql & php tutorials http://www.designmagick.com/ -- You received this message because you are subsc

Re: [Puppet Users] Could not find resource, but it's there.

2017-01-11 Thread Chris
On 11/01/17 06:20, Josh Cooper wrote: > > The reference File['abc'] does not succeed because 'abc' is an > alias, and not the title - I believe there is a ticket about that > already logged. > > > Filed as https://tickets.puppetlabs.com/browse/PUP-6984 Ah, awesome - thanks! -- Pos

[Puppet Users] Could not find resource, but it's there.

2017-01-08 Thread chris smith
ce: Applied catalog in 0.04 seconds Though it seems to apply the resources in the correct order (I haven't had it fail trying to create /test/2 before /test). Any info or ideas would be great. Cheers, Chris. -- You received this message because you are subscribed to the Google Groups "

[Puppet Users] Re: Changes to module not picked up by agent

2016-08-18 Thread Chris Price
Can you check the value of 'environment_timeout' in your puppet.conf and/or environment.conf files? If that is set to anything other than zero, this might be expected behavior. There is an HTTP API that you can use to clear the environment cache if you need to: https://docs.puppet.com/puppets

[Puppet Users] [ANN] Puppet Server 2.5.0 is available

2016-08-12 Thread Chris Price
Hi! We’re happy to announce the new 2.5.0 release of Puppet Server. This is a backward compatible feature release that also contains a few bug fixes. Highlights include: - New workflows for certificate signing and authentication, based on improved support for X.509 authorization exte

[Puppet Users] how to chmod files within directory . . . .

2016-07-04 Thread Chris Tomlin
. . . . . with one type of permissions and within that same directory, chmod subdirectories with different permissions. I've tried to do this with find -type exec {} but it doesn't seem to work. And I'm new to puppet so if you could show some code, i'd appreciate it. th

[Puppet Users] Re: Hiera lookup fail : doesan't find json file

2016-06-22 Thread chris
On Thursday, 23 June 2016 11:06:54 UTC+10, chris wrote: So as you can see from above, it prefixes each keyname with the dir and appends '.json', as it should BUT only if keyname/data src has a numeric digit in it! Is this a bug in puppet?? Or am I missing something? -- You rec

[Puppet Users] Re: Hiera lookup fail : doesan't find json file

2016-06-22 Thread chris
So, here's a bit more of the debug o/op: Debug: Performing a hiera indirector lookup of icinga_servers with options {:variables=>Scope(Class[main]), :merge=>#>, @value_type=#]>>>]>, @options={}>} Debug: hiera(): Looking up icinga_servers in JSON backend Debug: hiera(): Looking for data source p

[Puppet Users] Re: Hiera lookup fail : doesan't find json file

2016-06-20 Thread chris
Dang; wanted to add to my last.. Anyway, ran 'facter -p' on the node and those values are filled correctly. How can I check what the master sees when the node checks in? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

[Puppet Users] Re: Hiera lookup fail : doesan't find json file

2016-06-20 Thread chris
Yes, nt_location is 'sac', so sac.json as mentioned. Not sure how to check the 'value' of that var... %{nt_location}. This is a bit new to me. Should have mentioned its copied from a working(!) 3.2 master; want to 'upgrade' with minimal changes. -- You received this message because you are subs

[Puppet Users] Hiera lookup fail : doesan't find json file

2016-06-20 Thread chris
iera(): Looking for data source worldDebug: hiera(): Looking for data source default (& lots more of course). Why can't it find the /etc/puppetlabs/code/environments/prod/hieradata/sac.json file which contains the key I'm looking for ? (Puppet server 2.4) Thanks Chris -- You

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
Looks like there are few issues open like these: https://github.com/rodjek/rspec-puppet/issues/285 https://github.com/rodjek/rspec-puppet/issues/158 If anyone knows a way in Rakefile to exclude from coverage I'd be greatful. -- You received this message because you are subscribed to the Googl

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
hat I might be setting... should hopefully be a pretty simple test to reproduce but it's definitely not excluding those resources if that's what that merge was intended for. On Friday, June 17, 2016 at 11:37:40 AM UTC-4, garethr wrote: > > On 17 June 2016 at 15:24, Chr

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
Gareth, I know this thread is old but do you have a way in the Rakefile to exclude the dependent modules? For example dependent modules that include different package resources based on OSfamily and version are something that module controls and tests I just need to make sure that the module is

[Puppet Users] Re: Additional Puppet Server Failure

2016-02-23 Thread Chris Price
On Monday, February 22, 2016 at 5:01:20 PM UTC-8, Matthew Ceroni wrote: > > I have the following setup. > > 1) Existing PuppetServer version 1.1.3 > > 2) New PuppetServer version 1.1.3 installation (new DC) > > I followed the following documentation on setting up multiple Puppet > Masters > >

[Puppet Users] Re: Puppet Server Crashing often

2015-12-22 Thread Chris Price
On Wednesday, December 16, 2015 at 4:26:26 AM UTC-8, Makrand Sanap wrote: > > Hi All, > > I am doing POC for puppet enterprise. Master is on CentOS 6.4 VM with 2GB > ram. Puppet server is going down on its own. > > [root@mss-pup-mst2 ~]# /etc/init.d/pe-puppetserver status >> pe-puppetserver dea

[Puppet Users] Daemonized puppet on Windows and splay

2015-10-21 Thread Chris Spence
We are running puppet (3.7.x) on Windows daemonized. We recently turned on splay because reasons. After having done so the interval between daemonised runs, counter to expectation, has become randomised (though we get an averageish run interval of 30 minutes (30.5 recurring)). The linuxes her

[Puppet Users] invoke modules from puppetforge from hiera yamls?

2015-09-15 Thread Chris Jefferies
27;apache': default_vhost => false, } ...how does one translate these into hiera definitions? Perhaps there is a tutorial on this subject? I am reticent to start seeding the module code with hiera() variables because it seems I'll end up with custom code and unable to retrieve

[Puppet Users] Puppetserver 2 API requests returning 403 from curl, but agent/CLI works fine (puppet 4.2.1)

2015-09-11 Thread Chris Cowley
When I run /opt/puppetlabs/bin/puppet node find I get the expected wall of JSON and agents work fine too. However, I would like to set up monitoring. When I run: curl --cert /etc/puppetlabs/puppet/ssl/certs/mymachine.pem \ --key /etc/puppetlabs/puppet/ssl/private_keys/mymachine.pem \

[Puppet Users] Re: Puppet Server dying with high number of JRuby instances

2015-08-25 Thread Chris Price
Stefan, That is a very weird error. The way it reads it sounds like something that should happen on every JRuby instance or on none of them ("NoClassDefFoundError" usually means it's trying to load some code that doesn't exist), so I wouldn't expect you to see a difference in behavior between

[Puppet Users] Re: Check code quality with SonarQube

2015-08-19 Thread Chris Bowles
Thanks, David. Have never checked out SonarQube, but I like the idea of a Puppet code quality tool. ~ Chris On Wednesday, August 19, 2015 at 1:13:11 AM UTC-5, David Racodon wrote: > > Hi, > > Iain and I developed a SonarQube <http://www.sonarqube.org/> plugin to > check c

[Puppet Users] Top scope variables and hiera

2015-08-16 Thread Chris Spence
The other option is to use anchors and references in the YAML to reduce the duplication. -- 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.

Re: [Puppet Users] Augeas: Skipping because no files were changed

2015-07-08 Thread Chris Lee
the context.. but I'll put it back in anyway just in case. Thanks! Chris On Wednesday, 8 July 2015 05:23:59 UTC+2, ianm wrote: > > > > Actually in this case it needs: > >context => '/files/boot/grub/grub.conf', > > or: > >context =&

[Puppet Users] Augeas: Skipping because no files were changed

2015-07-07 Thread Chris Lee
AR](provider=augeas): Closed the augeas connection Manually, Augeas appears to work fine: augtool> set /files/boot/grub/grub.conf/title[1]/kernel/8250_core.nr_uarts 8 augtool> save Saved 1 file(s) I'd appreciate any ideas? Thanks Chris -- You received this message because you are s

Re: [Puppet Users] Exposing master to the public internet

2015-07-03 Thread Chris Spence
Without firewalling you're asking for trouble though if you ask me. Take for example the certificate endpoint - the security model requires that the certificate request endpoint be open to unauthenticated access. There are obvious denial of service possibilities there (fill up the disk with cr

[Puppet Users] error when I run puppet and try to apply changes to the system

2015-05-13 Thread Chris Zou
Hi, I am new to puppet and I am trying to follow Quest Guide and its VM Learning Machine. When I run puppet apply cowsayings/tests/cowsay.pp, I encounter error message as following: Warning: The package type's allow_virtual parameter will be changing its default value

[Puppet Users] error message when I tried to run puppet and apply changes to the system

2015-05-13 Thread Chris Zou
I am new to Puppet, and I am trying to follow Quest Learning Machine from Puppet Lab. However, every time I tried to run puppet apply cowsayings/tests/cowsay.pp Error message comes up like this: Warning: The package type's allow_virtual parameter will be changing its default value from fal

[Puppet Users] Re: Is anyone using puppet server 2.0.0 successfully?

2015-05-05 Thread Chris Barbour
I recall reading that this default has changed in the latest releases of Puppetserver for the reasons you cite. If this host is a dedicated Puppemaster, be aware that the number of threads will dramatically affect the throughput of your master. Determining catalog compile time is pretty simple;

[Puppet Users] I want to have a modulepath in an environment's environment.conf to search for forge modules separately from my own

2015-04-13 Thread Chris Cox
So... I have an environment called "dev" and before I had pulled in a module from puppet forge (e.g. stdlib) into "dev". All worked fine. Now I have created a different environment called "devforge" and moved the stdlib module into it. So... I thought I could then create a dev/environment.conf

Re: [Puppet Users] rspec-puppet: let( :title ) isn't setting title

2015-01-12 Thread Chris Galli
27;m dealing a large amount of Puppet 0.2x code, and my example was based one of them -- I gutted the logic but kept the usage of class and usage of $title in the resource. I appreciate the help since I'm just getting started with Puppet. Thanks! Chris -- You received this message becau

[Puppet Users] rspec-puppet: let( :title ) isn't setting title

2015-01-09 Thread Chris Galli
and on the surface they seems very similar. But obviously, I'm missing something or not doing something correctly. Any insight would be greatly appreciated. I've got several legacy modules that use $title, so I'm hesitant to simply accept changing them to use name (unless of

[Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Packets out of order:

2015-01-07 Thread Chris Brooks
I'm using puppet/hiera on freebsd 10.1 and I had no issue wth freebsd 10.0 now when I use this I see the following:- Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Packets out of order: 0<> at /usr/local/etc/puppet/environments/production/manifests/site.pp:1 on node

[Puppet Users] Re: Puppet master on Windows

2015-01-05 Thread Chris Price
On Monday, December 29, 2014 1:52:41 PM UTC-8, Alejandro del Castillo wrote: > > Hello, > > We are looking at the different options out there to build a System > Management solution for embedded systems. I am encouraged by the fact that > puppet support opkg and it's already in use by OpenWRT (we

Re: [Puppet Users] Did PE 3.7 kills r10k?

2014-12-27 Thread chris mague
Vadym, I ran into the same problem and was able to work around as follows with the caveat that it's unsupported: sudo su - pe-postgres psql \connect pe-classifier select * from groups; # write everything down update groups set environment_name='agent-specified' where environment_name='productio

Re: [Puppet Users] Re: puppet turning a file into a directory

2014-12-09 Thread Chris
Just posting a follow up. On 04/12/14 01:31, jcbollinger wrote: Or if you have multiple environments defined, and for some reason the affected server is occasionally assigned to the wrong one, then you might get a different declaration. There are many other possibilities. This was the case. I

[Puppet Users] puppet turning a file into a directory

2014-12-02 Thread Chris
Hi, This is a very strange one. On my CA server (which also runs puppet as an agent to control various things), sometimes a file gets turned into a directory. It's only this file and on this server (the other puppet controlled servers don't have this issue). Using puppet 3.7.3 from the puppe

[Puppet Users] Re: PuppetServer Inconsistent Errors

2014-11-14 Thread Chris Price
On Friday, November 14, 2014 8:52:55 AM UTC-8, Brian Wong wrote: > > I am currently using version 0.4.0 of PuppetServer using the official RPM > package on CentOS 7. I am running into an issue where a node's agent runs > error out inconsistently. The node's agent run would sometimes successfully

Re: [Puppet Users] augeas, sshd and multiple onlyif requirements

2014-10-12 Thread Chris
On 10/10/14 16:29, John Warburton wrote: On 10 October 2014 13:34, Chris mailto:dmag...@gmail.com>> wrote: Any help, suggestions, alternatives would be greatly appreciated. Stop using Augeas and start using templates <https://docs.puppetlabs.com/guides/templating.html> I di

[Puppet Users] augeas, sshd and multiple onlyif requirements

2014-10-09 Thread Chris
Hi all, I'm trying to insert a ClientAliveInterval setting into sshd_config with augeas. Some servers have a "Match User" line (so the new setting needs to come before the "Match User" line), and some don't. Some already have a ClientAliveInterval setting, and some don't. My first attempt wa

[Puppet Users] Re: centos 7 boxes on vagrant cloud?

2014-10-09 Thread Chris Handy
t vagrant cloud homepage >> to what repo these boxes are generated from like the chef project does to >> https://github.com/opscode/bento. >> > > Hi Chris, > > You've caught us in the middle of re-working our automated Vagrant imaging > pipeline. I expect to ha

[Puppet Users] centos 7 boxes on vagrant cloud?

2014-10-06 Thread Chris Handy
/opscode/bento. Thanks, Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-03 Thread Chris Lee
xt part of our migration will obviously be moving what we can from extdata to hiera, etc and then a massive code clean up to conform with all the "new" best practises. Getting around this now though makes it much easier to get the system working with Puppet 3.0+ and start the big proje

[Puppet Users] Custom Providers and Third Party Gems

2014-10-02 Thread Chris Pitman
makes dealing with gems better? Should I just start distributing this provider as a package, and ignore "puppet module", r10k, etc? Or are there any changes coming down the pipeline that will make this work better? Thanks, Chris -- You received this message because you are subscr

[Puppet Users] Re: mod_passenger.so is missing

2014-10-02 Thread Chris Lee
ps: not so sure about the gems and why its not there? -- 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 dis

[Puppet Users] Re: mod_passenger.so is missing

2014-10-02 Thread Chris Lee
assuming linux you could run yum whatprovides *mod_passenger.so for example on my system it is as follows: mod_passenger-3.0.17-2.el6.1.x86_64 : Apache Module for Phusion Passenger Repo: atds Matched from: Filename: /usr/lib64/httpd/modules/mod_passenger.so mod_passenger-3.0.17-2.

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
The first error was being thrown out and I didn't see the second one. Its easy to replicate using puppet 3.3.2 node test { class {"crond::test":stage=>post,} } define crond::job($jobs,$comment,$mail="root") { include crond::cleanup file { "/etc/cron.d/${name}.puppet.cron":

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
hmmm, I've created a new class trying to replicated the exact same thing with different files, and I cant seem to.. Will have to do a lot more digging to see where this is coming from -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscr

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
We try not to use stages at all, unless absolutely necessary and we would love to avoid them if we could. Our puppet code is used on around ~3000 machines in a heterogeneous environment of both various hardwares, os boot systems and applications, so at times its an necessary evil It is my unde

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
We try not to use stages at all, unless absolutely necessary and we would love to avoid them if we could. Our puppet code is used on around ~3000 machines in a heterogeneous environment of both various hardwares, os boot systems and applications, so at times its an unnecessary evil It is my un

[Puppet Users] Dependency cycle using tidy with puppet 3

2014-09-30 Thread Chris Lee
etc/cron.d] => Class[Crond::Cleanup] => Stage[main] => Stage[apps] => Stage[apps] => Stage[post] => Class[Puppet::Service] => Crond::Job[puppetcheck] => File[/etc/cron.d/puppetcheck.puppet.cron]) Does anyone know of a workaround? Thanks Chris -- You received this mes

[Puppet Users] Puppet agent memory usage on the master

2014-08-07 Thread Chris Ritson
ger of any use. Is this a bug/feature? Is this something I could/should have been able to avoid with better knowledge of puppet's configuration options? Chris Ritson Newcastle University IT, c/o School of Computing Science, Floor 8, Claremont Tower, Newcastle University, NE1 7RU, UK. -- Yo

[Puppet Users] Work around for dynamic environments and modules with custom types

2014-07-30 Thread Chris Gibbs
Just wondering if anyone has a work around for this bug https://tickets.puppetlabs.com/browse/PUP-1515 Im trying to use the puppetlabs-mysql module, specifically with the mysql::db custom type. Keep gettng a 400 error. Using r10k to populate environments and pull modules. cheers, -- You re

Re: [Puppet Users] HA puppetmaster in AWS

2014-07-18 Thread chris mague
I used this approach detailed below in production for a large-ish environment. When used in conjunction with Nginx load balancing in AWS (http://blog.mague.com/?p=286) it worked very well. 1) Route all certificate requests (explained above) to a pair of boxes that have the sync setup listed bel

[Puppet Users] Just Released: Puppet Enterprise 3.3

2014-07-15 Thread Chris Westphal
am PDT: Register here <https://cc.readytalk.com/cc/s/registrations/new?cid=pmh71knj7ze0> - Thursday, July 24th at 2pm BST: Register here <https://cc.readytalk.com/cc/s/registrations/new?cid=wyxifwfj3aux> We look forward to your feedback on this release! Than

[Puppet Users] Checking a variable is not 'undef'

2014-07-11 Thread Chris Cowley
OK, so what it the recommended way to do this? Somehow it is not something I have come up against before, I have the impression that it is a lot harder than simply: if $variable { do stuff } I've had a look through stdlib and it does not seem to have anything that helps here (if that is the

Re: [Puppet Users] ssl signing issue

2014-06-30 Thread Chris
On 30/06/14 16:24, Martin Alfke wrote: Hi Chris, On 30 Jun 2014, at 05:23, Chris wrote: master gets it: # puppet ca list client (SHA256) D4:6D:33:FE:33:98:C1:42:77:ED:D3:33:16:8D:A0:C6:37:1F:90:6B:03:D2:EC:79:52:FF:03:2E:8C:7F:D8:50 and has signed itself: # puppet ca list --all client

[Puppet Users] ssl signing issue

2014-06-29 Thread Chris
Hi, I'm trying to get signing right and have come up with a weird situation. Both master and client are running 3.6.2 (rpms from puppetlabs). client config: [main] vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = /var/lib/puppet/ssl classf

Re: [Puppet Users] Grant user SELECT on pg_stat_database?

2014-06-16 Thread Chris
On 13/06/14 14:44, Chris Miller wrote: How do I grant a user SELECT privileges on the pg_stat_database catalog? Using the normal postgresql::server::database_grant approach just returns: "'ERROR: database "pg_stat_database" does not exist" pg_stat_database isn't

[Puppet Users] Grant user SELECT on pg_stat_database?

2014-06-13 Thread Chris Miller
How do I grant a user SELECT privileges on the pg_stat_database catalog? Using the normal postgresql::server::database_grant approach just returns: "'ERROR: database "pg_stat_database" does not exist" -Chris -- You received this message because you are subscribed to t

[Puppet Users] multiple puppet masters, multiple puppetdb's

2014-06-12 Thread Chris
and why you'd want to do that. Any help or ideas would be great. Cheers, Chris. -- Postgresql & php tutorials http://www.designmagick.com/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop r

Re: [Puppet Users] Puppetmaster Logrotate isn't working

2014-05-06 Thread Chris
On 30/04/14 02:13, willi.feh...@home24.de wrote: Hello, we have an issue that the Puppetmaster logrotate isn't working. We are using the following default Logrotate: /var/log/puppet/*log { missingok sharedscripts create 0644 puppet puppet compress rotate 4 postrotate pk

Re: [Puppet Users] Error reporting gripe.

2014-04-24 Thread Chris Johnson
directory (bloody trifocals). BTW this is puppet and server 3.5.1 with current dependencies on CentOS-6.5. Chris Regards, Felix On 04/24/2014 04:56 PM, Chris Johnson wrote: Hi. Had the following error in my messages log from the puppet gent daemon, i.e. the client side: {/Stage{main}/web_s

  1   2   3   4   >