[Puppet Users] Re: Trouble after Agent upgrade -- Error: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-21 Thread Jeff Cheng
We're seeing similar issues with the official v6.5.0 docker image when running in circleci: circleci@default-d4c9fa03-e104-4e3d-bb5e-3510a1a9eed8:~/project$ docker run --rm puppet/puppet-agent-ubuntu:6.5.0 resource --types Error: Could not autoload puppet/provider/package/gem: superclass must be

[Puppet Users] Re: mysql exec returning 1 instead of 0

2017-07-19 Thread jeff wyckoff
Hey Guys, I struggled with this for awhile as well. I found what seems to alleviate this problem is if I specify a path to the .my.cnf file on the command line. Something like this exec {'mysql_purge_testdb': command =>"mysql --defaults-file=/home/user/.my.cnf -e

Re: [Puppet Users] Re: Function best approach

2016-08-09 Thread Jeff McCune
er, and less intuitive generally speaking than a standard class is. Hope this helps, — Jeff McCune Principal Consultant & Founder Open Infrastructure Services <http://www.openinfrastructure.co/> -- You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Module design

2016-05-06 Thread Jeff
I'm working on a puppet module that automatically places the entire catalog into zenoss (this is based on an outdated module that I found on github) By default, I want to place every server in zenoss. I have a base class which is included in every node. I want to add 'include zenoss::client'

Re: [Puppet Users] Force Fact within manifest

2016-02-29 Thread Jeff Sparrow
Im going to second this guy. I believe puppet should ALWAYS collect facts after it is done. The amount of changes it can make to a server, during a catalog run, can be massive. Without reporting those changes, bad things can occur. It really really limits the potential of having a complete

[Puppet Users] Re: Connecting to https://puppet:8140

2016-02-18 Thread Jeff Abrahamson
playing with certname, etc. I'm aware that this thread has become a bit helper-unfriendly. I've followed on really only for future readers who may find the question and wonder whether anything further was known. Jeff Abrahamson +33 6 24 40 01 57 +44 7920 594 255<-- only when I'm in the UK h

Re: [Puppet Users] Difference between Puppet agent v. apply

2016-02-18 Thread Jeff Abrahamson
On Thursday, 18 February 2016 05:18:19 UTC+1, Henrik Lindberg wrote: > > On 18/02/16 02:10, warron.french wrote: > > Can someone please clearly explain why/when to use: > > puppet apply versus Puppet agent? > > > > puppet agent makes requests to the master - the master compiles the > catalog.

[Puppet Users] Re: Connecting to https://puppet:8140

2016-02-17 Thread Jeff Abrahamson
for the master! [T] jeff@loire:~ $ openssl s_client -connect loire.example.com:8140 -showcerts > /tmp/cert [T] jeff@loire:~ $ sudo openssl verify -CAfile /var/lib/puppet/ssl/certs/ca.pem /tmp/cert /tmp/cert: CN = loire.example.com error 20 at 0 depth lookup:unable to get local iss

[Puppet Users] Re: Connecting to https://puppet:8140

2016-02-17 Thread Jeff Abrahamson
t/ssl/loire.example.com.pem" /f 2. puppet agent -t Exiting; failed to retrieve certificate and waitforcert is disabled 1,[T] jeff@loire:~ $ Jeff Abrahamson +33 6 24 40 01 57 +44 7920 594 255<-- only when I'm in the UK http://ml-week.com/ <http://www.ml-week.com/>* prochaine edition, 2016* htt

[Puppet Users] Connecting to https://puppet:8140

2016-02-17 Thread Jeff Abrahamson
I set up a puppetserver. It's, well, not generating errors outright. On the same host, I want to run a puppet agent. But the agent doesn't seem to want to use the FQDN of the host, and so it fails to connect. [T] jeff@loire:~ $ puppet agent --debug --test ... Debug: Finishing transaction

Re: [Puppet Users] testing a puppet master

2016-02-15 Thread Jeff Abrahamson
On 15 February 2016 at 17:44, Toni Schmidbauer <toni+puppet-us...@stderr.at> wrote: > Jeff Abrahamson <j...@purple.com> writes: > > 1. The puppet master is running under apache2. I assume it's healthy, > > in so much as it doesn't complain and I'm serving on 8140. Bu

[Puppet Users] testing a puppet master

2016-02-15 Thread Jeff Abrahamson
o this is (1) and (2) together, since I'm not sure how to test the master. 4. Our github repository is private. Is standard (best) practice to give the puppet master ssh keys to github without passphrase? Can/should I do better? Thanks much for any tips. Jeff Abrahamson +33 6 24 40 01 57 +44

[Puppet Users] SSL Cert errors when puppet agent is also the master

2015-06-19 Thread Jeff Johnson
I have just stood up a new open source puppet master (in this case master is ep1p-apux06, aka puppet.domain.com). I have added an external test agent and everything appears to be running correctly. As a test, I have added a single module and if I make changes to the module, I can see it

[Puppet Users] Puppet Master as agent to itself continues to generate SSL errors

2015-06-19 Thread Jeff Johnson
I've been battling this issue all week with a new puppet (open source) build out. I stood up the puppet master and configured it. I have a test agent that works correctly (external to the master). However, the master is also an agent pointing to itself. In this instance, ep1p-apux06 is the

[Puppet Users] Announce: Puppet Server 2.1.0 and 1.1.0 available!

2015-06-03 Thread Jeff McCune
We're pleased to announce that Puppet Server 1.1.0 and 2.1.0 are both now available! Both of these releases are backwards compatible feature releases in their respective Semantic Versioning http://semver.org/ major versions. This email is a combined announcement for 2.1 and 1.1. Puppet Server

Re: [Puppet Users] Question about setting master-less server

2015-03-12 Thread Jeff Adams
, you can still get your fixes pulled onto the node without manual intervention. - Jeff On 03/11/2015 07:32 PM, Hubert Lubaczewski wrote: Hi, I'm trying to learn puppet by using it on a test machine I have. Figured that for single server, it makes sense to use master-less mode. So, my question

Re: [Puppet Users] Re: hiera-eyaml - masterless puppet

2015-03-11 Thread Jeff Adams
. Since we're moving towards ephemeral/immutable hosts, this works for us. Hope that helps. - Jeff On 03/11/2015 03:05 PM, Heinz Kalkhoff wrote: Jeff, I realize you may not want to share the details, but can you share your strategy on management of the private keys in a masterless setup? Thanks

Re: [Puppet Users] Re: hiera-eyaml - masterless puppet

2015-03-11 Thread Jeff Adams
We're using eyaml in our masterless setup as well. We've got our hiera.yaml in /etc/puppet, so we don't need to specify the --hiera_config with puppet apply. True that distributing the private key(s) was an interesting issue to solve. - Jeff On 03/11/2015 08:30 AM, Alessandro Franceschi wrote

[Puppet Users] Announce: Puppet Server 1.0.2 available!

2015-01-15 Thread Jeff McCune
We're pleased to announce that Puppet Server 1.0.2 is now available. This release is the first bug fix version of Puppet Server 1.0. In accordance with the [Semantic Versioning](http://semver.org) specification, this release contains fixes for bugs reported against the 1.0 release. Puppet Server

[Puppet Users] Re: Declaring $stage as a class param

2014-12-15 Thread Jeff
Just a quick update - it seems including stdlib in site.pp is enough to fix the problem. I can use the standard stdlib stages throughout my manifests without any dependency problems. Thanks for the help. Jeff On Friday, 12 December 2014 20:23:02 UTC, Jeff wrote: Hi John, Thanks

[Puppet Users] Declaring $stage as a class param

2014-12-12 Thread Jeff
I assign a stage to a class which is being assigned by the enc? Thanks Jeff -- 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

[Puppet Users] Re: Declaring $stage as a class param

2014-12-12 Thread Jeff
Hi John, Thanks for the detailed reply, see comments below. Jeff On Friday, 12 December 2014 18:43:15 UTC, jcbollinger wrote: On Friday, December 12, 2014 6:00:08 AM UTC-6, Jeff wrote: For reasons I wont go into, it looks like I need to start using stages. Do be certain to be clear

[Puppet Users] newbie having troubles getting started: where is puppetmasterd?

2014-12-12 Thread Jeff Silverman
the installation procedure discussed in https://docs.puppetlabs.com/guides/install_puppet/install_debian_ubuntu.html and that doesn't help, because apt-get thinks I am up-to-date on everything. I think I am stuck. Any advice? Many thanks in advance. Jeff -- You received this message

Re: [Puppet Users] Could not connect to ActiveMQ Server - activemq for mcollective failing

2014-11-10 Thread Jeff Sparrow
Thanks for replying. I thought I had answered all my posts out there. Here was the fix: I was able to resolve this by the following: ensure activemq is owner and has access to /var/log/activemq and all sub dirs. ensure /etc/init.d/activemq has: ACTIVEMQ_CONFIGS=/etc/sysconfig/activemq

[Puppet Users] Could not connect to ActiveMQ Server - activemq for mcollective failing

2014-11-05 Thread Jeff Sparrow
I am trying to get mcollective running. Having issues with activemq. Here is it restarting, seems fine: [root@puppet activemq]# service activemq restart INFO: Loading '/etc/sysconfig/activemq' INFO: Using java 'java' INFO: Loading '/etc/sysconfig/activemq' INFO: Using java 'java' INFO:

[Puppet Users] Powershell - Run as another user account

2014-10-28 Thread Jeff Picklyk
could just provide a PSCredential as an argument and powershell module just deal with it for me. Ideas? Thanks, Jeff -- 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

Re: [Puppet Users] Powershell - Run as another user account

2014-10-28 Thread Jeff Picklyk
to try to use Invoke-Command which allows for PSCredentials to be passed as is documented here: http://matthewyarlett.blogspot.com/2014/04/powershell-runas.html On Tuesday, October 28, 2014 3:39:53 PM UTC-4, Rob Reynolds wrote: On Tue, Oct 28, 2014 at 10:48 AM, Jeff Picklyk jpic...@gmail.com

[Puppet Users] Error: Could not run: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A

2014-10-24 Thread Jeff Sparrow
I am trying to copy a current Puppet Master server on one domain and move it to another. Im finding that its very hard to try to change all the config remanence. Is there an easy way to do this, or a step by step best practice? I have grepped most of the old fqdn name and changed it to the

[Puppet Users] Re: Custom fact working, but not on the puppetmaster

2014-08-19 Thread Jeff Fuller
I encountered the same problem while trying to deploy custom facts. The solution that I have used is the assign a definite *certname* in puppet.conf under both the [agent] and [master] sections of the file, giving it the certname puppetmaster. After this, you need to deactivate the node as it

[Puppet Users] Remove java from path - Windows

2014-08-14 Thread Jeff Sparrow
We are having an issue with some modules. They are adding the correct path, but they do not remove the old path: C:\Windows\system32path PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files

Re: [Puppet Users] Hiera.yaml not interpolate variables

2014-05-08 Thread Jeff Adams
Pretty sure I ran across this same issue. Try pulling the :: out of the variable name. e.g. %{environment} - Jeff On 05/08/2014 11:21 AM, Israel Calvete wrote: Yes, hiera file is in /etc/puppet/hiera.yaml On Thursday, May 8, 2014 6:15:34 PM UTC+2, Brendan O'Bra wrote: Where is your

[Puppet Users] ploperations modules/releases

2014-05-06 Thread Jeff Bachtel
on pushing out releases, or is there a more technical reason that these modules haven't seen releases cut and pushed to Forge? Jeff -- 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

[Puppet Users] Building Amazon Linux RPMs (PRs, quick howto)

2014-05-05 Thread Jeff Bachtel
for some others, Jeff * - yum install commands included to illustrate where the target rpms end up -- 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] Announcing our new quest based Learning VM

2014-04-21 Thread Jeff Bachtel
Is there by chance a torrent available of these files? For whatever reason, downloads.puppetlabs.com is being especially slow with the ovf file for me. Jeff On 04/17/2014 07:45 PM, Ben Ford wrote: Hi, We just rolled out the new and improved Learning VM — now with fun quests to learn Puppet

Re: [Puppet Users] Re: Announce: Facter 2.0.1

2014-04-02 Thread Jeff McCune
For those that are getting the undefined method errors, could you please run with --debug and --trace and paste the results so we could see a bit more information about where those methods are called from? Thanks, -Jeff -Jeff On Wed, Apr 2, 2014 at 7:50 AM, Stefan Wiederoder stefanwiedero

Re: [Puppet Users] How to force a puppet service to restart - Not restarting automatically when config is initially updated.

2014-03-01 Thread Jeff Bachtel
of attempting service restart. Jeff On 03/01/2014 08:55 AM, Robert Shady wrote: Sorry for such a delay in replies, I had figured this out and forgot about this thread. ;) Yes, I did run it in debug mode and found out the problem was that pdns-recursor does not have a 'status' available, so

Re: [Puppet Users] facter-1.7.3 and puppet-3.3.1 on OS X Mavericks 10.9

2014-01-14 Thread Jeff Bachtel
I don't have a Maverick box to test on, but the PRs in question are applied to the 3.4.0 and onward tags, so I would bet that current OS X packages would do the right thing and work with the Ruby 2.0 on Maverick. Jeff On 01/14/2014 01:15 PM, Khoury wrote: Does anyone know what the status

Re: [Puppet Users] Single certificate, multiple nodes... or image-based systems

2014-01-09 Thread Jeff Bachtel
presumably configured a shared key between your puppet master and baked images such that a node signals that it should be issued a certificate on provision. Jeff Thanks all for your thoughts, let me then present this as a generic question: did anybody try puppet on image-based systems? It would

Re: [Puppet Users] What is a good way to manage individual XML settings on Windows?

2014-01-08 Thread Jeff Bachtel
://forge.puppetlabs.com/joshcooper/powershell to create a Windows XML-manipulation resource if you found yourself doing that a lot. Hopefully someone has an easier answer, I know that's a bit of coding to have to do, Jeff On 01/08/2014 06:51 AM, Ger Apeldoorn wrote: Hi, I'm looking for a good way to manage

Re: [Puppet Users] Re: mco package fail with puppet 3.4.0

2014-01-07 Thread Jeff Bachtel
https://tickets.puppetlabs.com/browse/MCO-144 It's fixed in package agent 4.2.1 (not yet pushed to yum repo, alas) Jeff On 01/07/2014 01:18 PM, Nikolay Georgieff wrote: Same issue here. [root@puppet ucla_gateway]# mco package puppet update -F foreman_env=testing -v Discovering hosts using

Re: [Puppet Users] Permissions for Windows Files Sourced from Puppet Master

2014-01-04 Thread Jeff Bachtel
+1 I would not be at odds, it seems like that is a sensible default behavior, while still preserving the ability to shoot one's self in the foot if needs be. Jeff On 11/20/2013 01:40 PM, Rob Reynolds wrote: With the changes for http://projects.puppetlabs.com/issues/18931 (Don't set mode

Re: [Puppet Users] How to do base setup in a role/profile configuration

2014-01-02 Thread Jeff Bachtel
, sets yumrepo, and installs nano. Eventually you might regret it and break things out more properly, but eventually can be pretty far in the future. But the level of effort to create a bunch of tiny ::general classes for piddly stuff is really pretty small, too. Jeff Any thoughts would

Re: [Puppet Users] How to do base setup in a role/profile configuration

2014-01-02 Thread Jeff Bachtel
On 01/02/2014 12:11 PM, mjuszc...@gmail.com wrote: Thanks Jeff. That all makes sense. One final question: you suggest ::site. Is that literally a module named site? Or do you often see ::site replaced with the actual name of the site (IE: dfw01)? I'd think you'd have a ::site module

Re: [Puppet Users] Re: Error Illegal instruction (core dumped) when running puppet agent (version 3.2.1)

2013-12-21 Thread Jeff Bachtel
if at all possible, Jeff - #ruby --version ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] - RPM installed is puppet-3.2.1-1.el6.noarch.rpm However when I run puppet agent with the same version on another host, everything goes fine. Problem is only while running agent

Re: [Puppet Users] Push message from Windows Agent to Unix (puppet Master)

2013-12-20 Thread Jeff Bachtel
(adding puppet-users@ back in case others have better information on handling filebuckets) On 12/20/2013 12:53 AM, Harshita Sinha wrote: Dear Jeff, Thanks for your guidance. Basically I want to achieve sending files from Windows to unix. I missed push the file from windows to unix in your

Re: [Puppet Users] Push message from Windows Agent to Unix (puppet Master)

2013-12-20 Thread Jeff Bachtel
I don't think filebucket/file is really the technique you want here. You might be able to do this with exported file resources, but you should instead consider using cygwin and ssh for this, called from the end of your build job. It will be a far simpler and more performant solution. Jeff

Re: [Puppet Users] Mcollective agent sync

2013-12-19 Thread Jeff Bachtel
. But just leave pluginsync on. Jeff On 12/19/2013 02:25 AM, Hrishi D wrote: Hi, I am using custom facts and have deployed them using modules in puppet master. Each time a change is made i have to execute $ sudo puppet agent --test --pluginsync on the agent nodes to get sync

Re: [Puppet Users] Push message from Windows Agent to Unix (puppet Master)

2013-12-19 Thread Jeff Bachtel
:///harshita/Anshita.txt', mode = '0644', } This will ensure the creation of D:\Puppet\Anshita.txt, sourced from /root/harshita/Anshita.txt . Note that the unix user puppet must have read access to that file and directory. Jeff On 12/19/2013 05:41 AM, Harshita Sinha wrote: Hi All, I refered

Re: [Puppet Users] How Puppet can evaluate the output od command?

2013-12-18 Thread Jeff Bachtel
The command should be in single quotes, try exec { ls: command = 'test $(grep -c aa /tmp/aao) -gt 0', returns = 1, path = /usr/bin:/usr/sbin:/bin, } Note also that you were missing a comma after the command property, that must be present. Jeff On 12/18/2013 04:40 AM, shlo.af...@gmail.com

Re: [Puppet Users] custom fact should not run on Solaris

2013-12-18 Thread Jeff Bachtel
' get_redhatfamily_postgres_version() when 'Debian' get_debianfamily_postgres_version() else nil end Jeff On 12/18/2013 09:29 AM, Andreas Dvorak wrote: Dear all I have a module spacewalk with a custom fact to define if the server has been

Re: [Puppet Users] custom fact should not run on Solaris

2013-12-18 Thread Jeff Bachtel
I think that pattern's still good. Possibly that's the difference between a nil fact being set and the fact being missing, however. Jeff On 12/18/2013 10:40 AM, Felix Frank wrote: Yes, exactly, but this begs the question: Am I out of date for adding confine :operatingsystem = %w

Re: [Puppet Users] Help with Ubuntu Preseed Repository for Puppet Open Source

2013-12-18 Thread Jeff Bachtel
http://askubuntu.com/questions/150267/how-to-add-a-local-repository-in-kickseed-based-install Has an example that doesn't seem to use late_command. https://help.ubuntu.com/10.04/installation-guide/example-preseed.txt has it integrated into the preseed file (grep for local0 in the file), Jeff

Re: [Puppet Users] puppet environments not working

2013-12-17 Thread Jeff Bachtel
There is a problem with variable hooks in puppet.conf that is fixed in the latest 3.4 release candidates (or so sayeth the bugreps). Can you try explicitly specifying your directories instead of using $confdir in that puppet.conf, at least to test? Jeff On 12/17/2013 09:18 AM, Chantal

Re: [Puppet Users] Re: yamlyzer

2013-12-17 Thread Jeff Bachtel
Have you tried a yaml to csv converter like https://github.com/tokland/yaml2csv ? Note that it seems to require the csv module syntax from ruby 1.9.3. Jeff On 12/16/2013 03:29 PM, Stuart Cracraft wrote: Is the back-end piece of Puppet Dashboard which implements the CSV-capability

Re: [Puppet Users] Process hang on FreeBSD

2013-12-17 Thread Jeff Bachtel
of people work pretty hard to make it work, but it unfortunately doesn't get the exposure and attention that Linux does, and thus stuff might not be as well tested. Jeff On 12/17/2013 07:31 PM, Patrick Gibson wrote: I'm a first-time Puppet user, working with FreeBSD 9.2, Puppet 3.3.1, and Ruby

Re: [Puppet Users] very odd Duplicate declaration problem.

2013-12-17 Thread Jeff Bachtel
to update to the latest 3.4rc (agent might suffice) for testing? Jeff On 12/17/2013 03:35 PM, Nathan Earixson wrote: puppet 3.3.2 on RHEL6 If I run puppet on a node: # sudo puppet agent --test --noop I get the following error: /Error: Could not retrieve catalog from remote server: Error 400

Re: [Puppet Users] Re: Puppet Dashboard: how to connect?

2013-12-13 Thread Jeff Bachtel
yum-config-manager --enable rhel-6-server-optional-rpms Has worked on some RHEL machines, for me. It depends on how your system is subscribed whether that will work or whether you'll need to use another command. Jeff On 12/13/2013 04:50 PM, Stuart Cracraft wrote: Great! What is the .repo

Re: [Puppet Users] Puppet and MCollective

2013-12-12 Thread Jeff Bachtel
. Jeff On 12/12/2013 11:54 AM, ro001 wrote: Hi, I am writing scripts for deployment of our software and I am also using MCollective on linux. I hope to use MCollective in order to reduce the requirement of opening a putty session to each VM and running the puppet agent manually the first

Re: [Puppet Users] Can't seem to get modulepath attribute recognized by puppetmasterd

2013-12-12 Thread Jeff Bachtel
Felix, could that above behavior be linked to http://projects.puppetlabs.com/issues/23349 ? That is, could there be a hook/ordering issue? Sprang to mind, anyway. Probably cargo cult. Jeff On Thu, Dec 12, 2013 at 12:36 PM, John Pyeatt john.pye...@singlewire.comwrote: OK, Here is something I

Re: [Puppet Users] Re: Are storeconfigs without puppetDB possible?

2013-12-11 Thread Jeff Bachtel
you should anticipate needing to put in a delay before storing resources (and puppet apply) will happen cleanly. Jeff On 12/10/2013 01:22 PM, Guy Knights wrote: Ok, I discovered that you can configure puppetdb to use the file-based embedded database, so I'll work with that. It was pretty hard

Re: [Puppet Users] puppetdb: no communication between PM and puppetdb

2013-12-11 Thread Jeff Bachtel
HTTPS. That said, if you're confident in your tcpdump that no traffic in fact occurred between puppetmaster and that IP, then puppetmaster has another idea about where that IP is (bound as an alias, for instance, and there's a defunct puppetdb still running on the puppetmaster). Jeff On 12/11

Re: [Puppet Users] Cannot see Inventory in Dashboard failed to use facer variable in manifest

2013-12-11 Thread Jeff Bachtel
Try case $hostname { 'puppetagent': {include sendmail} } BUT, that's really the wrong pattern to be following, you should instead create a node definition for puppetagent that includes the sendmail class. node puppetagent.yourdomain { include sendmail } Jeff On 12/11/2013 10:00 AM

Re: [Puppet Users] Re: Getting latest agent on debian for ARM?

2013-12-11 Thread Jeff Bachtel
to get it changed. Jeff On 12/11/2013 10:31 AM, Jon Yeargers wrote: I also tried 'apt-get dist-upgrade'. This brought down 'hiera' (along with a few other things). Then tried 'apt-get install puppet-common' - this failed as 'facter' needed a higher version. .. so tried 'facter

Re: [Puppet Users] Re: Getting latest agent on debian for ARM?

2013-12-11 Thread Jeff Bachtel
You can fetch it directly (wget, curl, whatever) from http://apt.puppetlabs.com/pool/squeeze/main/f/facter/facter_1.6.18-1puppetlabs1_all.deb Jeff On 12/11/2013 12:39 PM, Jon Yeargers wrote: root@plugpc-005:~# apt-get install ruby libopenssl-ruby pciutils Reading package lists... Done

Re: [Puppet Users] Puppet with Fuse

2013-12-11 Thread Jeff Bachtel
something like that if /home was a NFS mount that rewrote requests from uid 0 to an anonymous user. Perhaps your FUSE filesystem is running into something similar. Jeff Error: Could not set 'directory' on ensure: File exists - /home/myhome/dir1/dir2/dir3/dir4 at 54:/etc/puppet/modules/test

Re: [Puppet Users] Access class results variables in puppet

2013-12-11 Thread Jeff Bachtel
beyond its original intent. Jeff On 12/09/2013 05:32 PM, Derek Cole wrote: Hello, I am not exactly sure how to phrase this, but consider the following: case $::role { 'access': { notify {Applying access packages

Re: [Puppet Users] Puppetlabs-firewall and Logging

2013-12-11 Thread Jeff Bachtel
= 'accept', } Jeff On 12/11/2013 10:24 PM, Jim Miller wrote: We're testing out the Puppetlabs-Firewall module. And it seems I'm either missing something fundamental or Logging/Accpet works/doesn't work in an irregular way. I would be most grateful for some input. _COMMON:_ firewall { '002 accept

Re: [Puppet Users] Problem with report processor - undefined method

2013-12-10 Thread Jeff Bachtel
If this is accurate, I can only warn that I've run into horribly annoying, manifest-breaking issues trying to run 2.6/2.7 clients with 3.3 servers. It may not be official advice, but if you can make puppet client versions track your puppet server closer, you will have much less headache. Jeff

Re: [Puppet Users] puppet apply or puppet agent -t fails on razor installation. Need help on razor too.

2013-12-10 Thread Jeff Bachtel
What is the output of puppet agent -t -d ? The -d debug flag should give you much more detailed information about what child process, exactly, is blocking. Jeff On Sat, Dec 7, 2013 at 2:03 PM, Arvind P R iin...@gmail.com wrote: My puppet master server is working fine and i now installed razor

Re: [Puppet Users] puppet parser validate fails

2013-12-10 Thread Jeff Bachtel
://projects.puppetlabs.com/issues/9670 You can try to work around this on your server-side hook by changing git cat-file blob $new_sha1 $tmp to git cat-file blob $new_sha1 | grep -v '^\s*import' $tmp disclaimer - I've not tested this, I am not a doctor, etc. Jeff On Tue, Dec 10, 2013 at 9:31 AM

[Puppet Users] Pattern question for providers

2013-12-09 Thread Jeff Bachtel
PATH. I could then configure the system environment on weird hosts to provide that variable for puppet without mucking with user/system PATH. Thanks, Jeff -- 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] Re: Nagios XI + Puppet?

2013-12-08 Thread Jeff Bachtel
directory? You'd get the benefit of automated updates, and because your subset of the code wouldn't rm imported files, you wouldn't kick off every 30 minutes. Jeff On Thu, Dec 5, 2013 at 6:13 PM, loxo samlaa...@gmail.com wrote: I use NagiosXI and Puppet and have had some success in developing some

[Puppet Users] Provider not using command functions

2013-12-07 Thread Jeff Bachtel
, or is the choice to use command function vice commands array a matter of personal preference? Jeff -- 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] testing and exported (nagios) resources

2013-12-07 Thread Jeff Bachtel
://docs.puppetlabs.com/guides/inventory_service.html to loop over hostnames, GET'ing yaml from dev/test and PUT'ing it onto the production server. I don't know how deletions would be handled, there, or even what you'd want your failure mode to be. Jeff On Mon, Dec 2, 2013 at 8:39 PM, Jason Antman ja

[Puppet Users] Using scheduled_task for Windows startup

2013-12-04 Thread Jeff Bachtel
Is there a way that I'm not seeing to make scheduled_task create a task that runs on Windows startup? Unrelated (but too lazy to send 2 emails) does anyone have an example of configuring the Windows time service from Puppet? This is all on 3.3.1, Jeff -- You received this message because you

[Puppet Users] ERB problem with scope.lookupvar().each

2013-11-07 Thread Jeff Carmichael
I am trying to use the bcarpio/hadoop module, and after modifying the params.pp to have the array of slave servers, the slaves.erb file is erroring out: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template hadoop/conf/slaves.erb: Filepath:

Re: [Puppet Users] moving to ENC - how to get all current classes and params

2013-11-05 Thread Jeff Behl
I saw classes.txt, but it's just listing the classes and not the parameters that were passed to them.. On Thursday, October 31, 2013 10:52:28 AM UTC-7, Jo wrote: $statedir/classes.txt and related files? On Oct 30, 2013, at 12:21 PM, Jeff Behl jb...@logicmonitor.comjavascript: wrote: I'm

[Puppet Users] moving to ENC - how to get all current classes and params

2013-10-30 Thread Jeff Behl
I'm looking to use an external node classifier (ENC) in our environment. What's the easiest way to programmatically get currently applied classes (and class parameters) for all hosts, with the goal of dumping it into a database for later retrieval by the ENC script? Nodes are currently

[Puppet Users] Making REST calls from provider

2013-08-12 Thread Jeff
It's a bit non-standard, but we're going to be making REST calls from a provider to an outside service. The call will be SSL, so I'm a little worried about performance. Is there a notion of using persistent and shared (between providers in the same module) connections? How would this be

[Puppet Users] Failed to parse template - undefined method `to_xs'

2013-08-08 Thread Jeff Thomassen
Hi I'm getting the following error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template bireportweb/reportdbconfig.xml.erb: Filepath: /data/ss/svn/puppet/modules/bireportweb/templates/reportdbconfig.xml.erb Line: 16 Detail: undefined method

[Puppet Users] Puppetmaster performance optimization/best practices?

2013-07-02 Thread Jeff Zellner
? Should I be using a different Ruby? What should I be tuning or optimizing? Is there a good resource for puppetmaster setup best practices? Thanks! -Jeff -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop

[Puppet Users] Re: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key

2013-05-29 Thread Jeff Silverman
and that still failed. Thank you Jeff On Thursday, December 20, 2012 7:34:23 AM UTC-8, Mehmet Tecer wrote: Krishna, Here is how I quickly resolve this issue. 1- Stop puppet on client. 2- Delete the cert on the server 3- Delete /var/lib/puppet directory on client. 4- Start puppet

[Puppet Users] Re: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key

2013-05-29 Thread Jeff Silverman
I see my mistake. On the client, I should have deleted /var/lib/puppet/ instead of /var/lib/puppet/ssl. Deleting /var/lib/puppet/ cleared the issue. Also, the command puppetca --clean cert CLIENT is outdated. The new command is puppet cert clean CLIENT_FQDN where CLIENT_FQDN is the

Re: [Puppet Users] Problem creating user with Puppet

2013-05-21 Thread Jeff Zellner
From the docs for `home`: The home directory of the user. The directory must be created separately and is not currently checked for existence. `managehome` doesn't ensure the creation of the home directory, I believe it just checks permissions. Cheers! -Jeff On Tue, May 21, 2013 at 6:22 PM

Re: [Puppet Users] Puppet run on node even when not specified in site.pp

2013-05-15 Thread Jeff Zellner
Hi Simon, Puppet only has a concept of 'things I need to do'. What I mean is that removing config from a node does not undo what has been previously configured. You need to explicitly do that yourself with ensure = absent, etc on the configured resources. Cheers, Jeff On May 15, 2013 7:54 AM

Re: [Puppet Users] Puppet catalog transfer often gets truncated (Could not intern from pson: error)

2013-04-23 Thread Jeff B
On Tuesday, April 23, 2013 9:38:34 AM UTC-4, jcbollinger wrote: On Monday, April 22, 2013 3:03:13 PM UTC-5, Matthew Burgess wrote: On Mon, Apr 22, 2013 at 4:56 PM, Jeff B jeffb...@gmail.com wrote: I've been hitting this issue for a long time. well over a year and I guess it's time

Re: [Puppet Users] Puppet catalog transfer often gets truncated (Could not intern from pson: error)

2013-04-22 Thread Jeff B
Thanks for the tip this sounds quite plausible and it looks like something I'll need sooner or later. On Monday, April 22, 2013 4:03:13 PM UTC-4, Matthew Burgess wrote: On Mon, Apr 22, 2013 at 4:56 PM, Jeff B jeffb...@gmail.com javascript:wrote: I've been hitting this issue for a long time

[Puppet Users] Announcing stdlib 4.0.1

2013-04-11 Thread Jeff McCune
(5d5a4d4) Uwe Stuehler * Fix number of arguments check in flatten() (5a11279) Uwe Stuehler * Fix number of arguments check in flatten() (e80207b) Jeff McCune * Add contributing document (96e19d0) Raphaël Pinson * Add missing documentation for validate_augeas and validate_cmd

Re: [Puppet Users] Re: [Puppet-dev] Announce: Hiera 1.2.0 Available

2013-04-04 Thread Jeff McCune
! Are you interested in submitting a patch? The code in question is at: https://github.com/puppetlabs/hiera/blob/1.2.0/lib/hiera/backend.rb#L151-L160 and: https://github.com/puppetlabs/hiera/blob/1.2.0/lib/hiera/backend.rb#L193 Hope this helps, -Jeff -- You received this message because you

Re: [Puppet Users] Re: [Puppet-dev] Announce: Hiera 1.2.0 Available

2013-04-04 Thread Jeff McCune
On Thu, Apr 4, 2013 at 10:50 AM, Jeff McCune j...@puppetlabs.com wrote: On Thu, Apr 4, 2013 at 3:02 AM, Erik Dalén erik.gustav.da...@gmail.comwrote: On Thursday 4 April 2013 at 02:39, Matthaus Owens wrote: ## Hiera 1.2.0 Release Notes

Re: [Puppet Users] Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-13 Thread Jeff Field
Could you increase the verbosity to see what is causing it to throw that error? I've seen strange dism errors related to WoW shenanigans and I'd like to see which dism it is trying to use exactly. On Tuesday, March 12, 2013, Rich Siegel wrote: I believe you need to use the copy on github as

[Puppet Users] Re: Announce: Puppet 3.1.0 Available

2013-02-04 Thread Jeff McCune
have our repository configured you should simply need to upgrade the packages you already have installed. -Jeff -- 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] Help needed testing new cloud metadata facts in OpenStack, Eucalyptus, EC2, and Xen

2013-01-29 Thread Jeff McCune
module or Ruby Gem that provides backwards compatibility for those people who don't want to refactor their manifests to use the new Fact names. Thoughts? Comments? Does the code in the branch work for you? [1] http://projects.puppetlabs.com/issues/7559 Thanks, -Jeff -- You received this message

Re: [Puppet Users] Server-side exec

2013-01-21 Thread Jeff Thomas
Well, I thought I had, but apparently not. Yes that works, thanks. -Jeff On Saturday, January 19, 2013 4:54:21 AM UTC-8, Jakov Sosic wrote: On 01/18/2013 08:33 PM, Jeff Thomas wrote: but that runs the ypmatch on the client, which isn't useful. Then I found the generate function

[Puppet Users] Server-side exec

2013-01-18 Thread Jeff Thomas
to do this? Using shell-like syntax I want: user { $username: ... password = `ypmatch $username passwd | cut -f 2 -d :`, ... } Any help would be most appreciated. -Jeff -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view

[Puppet Users] Re: [Puppet-dev] New QA Site to Ask Puppet Questions

2012-12-17 Thread Jeff McCune
that can stump the entire community. =) I also can't avoid playing the karma point game, so please try and post your trickier questions. -Jeff -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users

Re: [Puppet Users] Connecting to Puppet's user experience team as a Puppet Test Pilot

2012-12-14 Thread Jeff McCune
a difference. -Jeff -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options

Re: [Puppet Users] could not find user when running as daemon

2012-12-12 Thread Jeff Goldschrafe
client, upgraded to the 3.0 client, and are still seeing the issue. Anyone have any ideas? -Jeff On Wednesday, July 18, 2012 3:09:07 PM UTC-4, jcbollinger wrote: On Wednesday, July 18, 2012 9:09:12 AM UTC-5, krish wrote: On Wed, Jul 18, 2012 at 7:28 PM, pattryn pat...@gmail.com javascript

Re: [Puppet Users] Does puppet stdlib suppor puppet 3.0.1?

2012-12-04 Thread Jeff McCune
? stdlib 3 fully supports puppet 3. The readme needs to be updated, thanks for pointing this out. -Jeff -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from

Re: [Puppet Users] Use random value from an array in a template

2012-12-04 Thread Jeff McCune
is static. http://docs.puppetlabs.com/references/latest/function.html#fqdnrand -Jeff -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email

  1   2   3   4   5   6   7   >