[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 Patrick Whitney
fact and the specifics of its > implementation could shed some light on what is happening. > > -Charlie > > > On Thursday, June 20, 2019 at 1:53:34 PM UTC-7, Patrick Whitney wrote: >> >> Hello Everyone, >> >> I hope you can help. >> >> Our puppet ag

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

2019-06-20 Thread Patrick Whitney
Hello Everyone, I hope you can help. Our puppet agent was updated to version 6.5.0 on our servers last night. Things are working fine, except for two servers are throwing the error below (SNIP #1).A little digging found I could reproduce the error by running 'facter -p' or 'puppet facts'

Re: [Puppet Users] Puppet server stopped working

2018-07-02 Thread Patrick Lesher
One of our guys did something similar a couple weeks ago and we didn’t have a backup. It sounds like ours was a little different in that the server was running fine, remote agents could connect, process, etc, but the puppet master’s agent refused to run. Ours is a mono deployment on a single

[Puppet Users] Re: Diagnose error with simple tutorial in "Learning Puppet 4"?

2016-05-30 Thread Patrick Ryll
This solution worked for me, thanks. Is there any chance someone could put this on the Puppet 4 Errata page and/or inform Jo Rhett of this issue? It doesn't seem to be included as of yet (May 30th, 2016) in the O'Reilly errata. Thanks...I'll be happy to do it myself, but since I didn't

Re: [Puppet Users] unable to create home directory

2016-04-04 Thread Patrick G.
I don't need to create the user just /home//.ssh because the user exist in ldap. So how do I give access to puppet to create only /home/admin/.ssh Op vrijdag 1 april 2016 16:32:43 UTC+2 schreef Mike Hendon: > > > On Friday, 1 April 2016 14:34:01 UTC+1, jcbollinger wrote: >> >> >> >> On

Re: [Puppet Users] unable to create home directory

2016-03-31 Thread Patrick G.
in exist? Does > puppet have permission to create it? > > > On Thursday, March 31, 2016, Patrick G. <pgh2...@gmail.com > <mailto:pgh2...@gmail.com>> wrote: > Nope … > With new users this should create the directory. > > The debug log shows: >> Debug: Crea

Re: [Puppet Users] unable to create home directory

2016-03-31 Thread Patrick G.
Nope … With new users this should create the directory. The debug log shows: > Debug: Creating /home/admin/.ssh But it doesn’t create it. Gr. Patrick. > On 29 mrt. 2016, at 17:09, Lowe Schmidt <m...@loweschmidt.se> wrote: > > > Notice: /Stage[main]/Ssh/Ssh_authori

[Puppet Users] unable to create home directory

2016-03-29 Thread Patrick G.
Hi, I am using # puppet-module-ssh In the yaml file I have: ssh::keys: admin: ensure: present user: admin type: dsa key: ...== But when running puppet agent I get: Notice: /Stage[main]/Ssh/Ssh_authorized_key[admin]/ensure: created Debug: Creating /home/admin/.ssh Error:

[Puppet Users] r10k database backend

2016-01-25 Thread Patrick Lesher
of our hiera data in a mysql backend and would like to try to simplify some processes. Thanks, Patrick -- 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] merge 2 of more files

2015-09-07 Thread Patrick G.
. The problem is that the first node is not merging the 2 files. What am I doing wrong here? regards, Patrick. -- 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, sen

Re: [Puppet Users] keep changing owner

2015-08-24 Thread Patrick G.
Thanks .. that module did changed the ownership of libdir. Regards, Patrick. Op maandag 17 augustus 2015 17:55:51 UTC+2 schreef Josh Cooper: Hi Patrick, On Thu, Aug 13, 2015 at 6:10 AM, Patrick G. pgh...@gmail.com javascript: wrote: Hi, When running puppet agent -t I get Notice

Re: [Puppet Users] Help with hiera.yaml config

2015-08-13 Thread Patrick G.
I've tried that also but then it's removing both entries. Op dinsdag 11 augustus 2015 03:28:12 UTC+2 schreef gregory...@calorieking.com: Hi Patrick, On 10/08/15 17:10, Patrick G. wrote: parameters: sudoroles: 'root_users' sudoroles: 'dba_users' That reads to me like

[Puppet Users] get data from yaml in subdirs

2015-08-13 Thread Patrick G.
: Test_output but i want this global.yaml in /etc/puppet/hieradata/usergroups But how do call this information from a subdir? regards, patrick. -- 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] Help with hiera.yaml config

2015-08-13 Thread Patrick G.
' - 'admiam' - 'oracle' This works: hiera -c /etc/puppet/hiera.yaml -d ssh::keys usergroups=oracle But it won't put al the usergroups on this server. Op maandag 10 augustus 2015 11:10:44 UTC+2 schreef Patrick G.: Hi, I have the following config. :backends: - yaml :yaml

[Puppet Users] keep changing owner

2015-08-13 Thread Patrick G.
' Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/group: group changed 'root' to 'puppet' For a lot of files. Why? Regards, Patrick. -- 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

[Puppet Users] Re: Help with hiera.yaml config

2015-08-13 Thread Patrick G.
' - 'admiam' - 'oracle' This works: hiera -c /etc/puppet/hiera.yaml -d ssh::keys usergroups=oracle But it won't put al the usergroups on this server. Op maandag 10 augustus 2015 11:10:44 UTC+2 schreef Patrick G.: Hi, I have the following config. :backends: - yaml :yaml

[Puppet Users] Help with hiera.yaml config

2015-08-10 Thread Patrick G.
and on the other server only the root user. In enc/nodes/server1 i have: --- classes: - sudoroles parameters: sudoroles: - root - dba But only root users are created. Can someone please help how to do this? Regards, Patrick. -- You received this message because you are subscribed

[Puppet Users] Help with hiera.yaml config

2015-08-10 Thread Patrick G.
server only the root user. In enc/nodes/server1 i have: --- classes: - sudoroles parameters: sudoroles: 'root_users' sudoroles: 'dba_users' But only dba_users are created and the root_users removed. Can someone please help how to do this? Regards, Patrick. -- You received this message

[Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid tag '' on node

2015-08-06 Thread Patrick Goedhart
Hi, When running puppet agent -t I get Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid tag '' on node serverone.local. But where is this tag? reg. Patrick. -- You received this message because you are subscribed to the Google Groups Puppet Users group

[Puppet Users] Errors for puppet-enterprrise-installer in ubuntu 12.04

2015-07-31 Thread patrick huang
My computer is Ubuntu 12.04.5 LTS 1. downloaded puppet-enterprise-3.8.1-ubuntu-12.04-amd64.tar.gz 2. tar -xf 3. sudo ./puppet-enterprrise-installer But it fails with the errors: W: Failed to fetch http://apt.puppetlabs.com/dists/precise/PC1/source/Sources 403 Forbidden W: Failed to fetch

[Puppet Users] Re: hiera and variable hash array

2015-03-18 Thread Patrick Robinson
The ruby call you're looking for is each_pair used like this: % scope.lookupvar('hash').each_pair do |key,value| -% %= key % = %= value % % end -% On Sunday, March 15, 2015 at 9:16:08 PM UTC+11, Luca Gervasi wrote: Hello, i'm trying to achieve aconfiguration where i can applt a non

[Puppet Users] Re: how to install multiple packages from the list

2015-03-18 Thread Patrick Robinson
I would consider using something like hiera and loading the packages from a YAML file. It is trivial to convert your existing file to YAML. On Friday, March 13, 2015 at 10:15:07 PM UTC+11, Alex Miroshnik wrote: Hi Guys, I need to install multiple packages on the Ubuntu 14.0.4 using puppet.

[Puppet Users] Re: Could not request certificate: Error 405 on SERVER

2014-08-13 Thread Patrick Robinson
I had a similar error getting 405. I found I hadn't set the PassengerRoot directory correctly in the puppetmaster vhost config: PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-4.0.48 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] SSL error connecting to https://forge.puppetlab.com on fresh install

2014-05-08 Thread Patrick Auld
I installed Puppet 3.5.1 on Windows 7 from the MSI. I've run a few 'puppet apply' commands and things appear to be working. We are not using a master node for our current use case so I haven't set one up. The Windows Puppet service is also disabled. When I try to install a module from the Forge

Re: [Puppet Users] SSL error connecting to https://forge.puppetlab.com on fresh install

2014-05-08 Thread Patrick Auld
That did it. Thanks for the quick reply. On Thursday, May 8, 2014 4:32:57 PM UTC-7, Josh Cooper wrote: Hi Patrick, On Thu, May 8, 2014 at 12:50 PM, Patrick Auld pat...@patrickauld.comjavascript: wrote: I installed Puppet 3.5.1 on Windows 7 from the MSI. I've run a few 'puppet apply

Re: [Puppet Users] Multiple Puppet Masters Sharing .pp files?

2014-03-05 Thread Patrick Kelso
the option of having branches for different environments. There is a good blog post on it here: http://puppetlabs.com/blog/git-workflow-and-puppet-environments -- Patrick 0416 366 613 http://patrickkelso.com @patrickkelso -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] controlling argument passed to ENC script for AWS

2014-02-27 Thread Patrick Kelso
/a/19785580 Regards, Patrick Kelso -- 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 web visit

Re: [Puppet Users] Puppet Fundamentals training - how fundamental is it?

2014-01-17 Thread Patrick Lesher
and learn new things. Our instructor was very willing to answer questions and help with what if I wanted... types of things. Good luck with the class and enjoy! --Patrick On Jan 17, 2014, at 9:35 AM, David Taylor wrote: Hi all, I've been playing around with Puppet with a view to implementing

[Puppet Users] Re: puppet catalog compilation job queue idea

2014-01-12 Thread Patrick
On Friday, January 10, 2014 3:57:03 PM UTC-5, jcbollinger wrote: On Thursday, January 9, 2014 6:23:23 PM UTC-6, Patrick Hemmer wrote: There's been an idea floating in my mind for quite a while now about using a job queue for compiling puppet catalogs. I just mentioned the idea on IRC

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

2014-01-09 Thread Patrick Hemmer
image has a file which contains extra information to add to the certificate signing request. One of these bits of information is a secret key. The puppet CA server then has a script which authorizes autosigning any requests which contain a valid secret key. -Patrick -- You received this message

[Puppet Users] puppet catalog compilation job queue idea

2014-01-09 Thread Patrick Hemmer
and I wouldn't get to it for a long time. -Patrick -- 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] Re: Debugging execution error with vcsrepo

2013-12-24 Thread Patrick Gibson
Does anyone have any advice on simulating the environment and conditions under which processes are run by Puppet? I'd really like to get the bottom of this, as other commands I'm running via other classes are working fine. Thanks, Patrick On Monday, 23 December 2013 12:12:40 UTC-8, Patrick

[Puppet Users] Re: Debugging execution error with vcsrepo

2013-12-23 Thread Patrick Gibson
: No such file or directory On Saturday, 21 December 2013 18:33:45 UTC-8, Patrick Gibson wrote: I'm using the vcsrepo module to clone a git repo as a particular user, and I'm getting a puzzling error: Debug: Executing '/usr/bin/su myuser -c /usr/local/bin/git clone g...@git.myhostname.com:repos

[Puppet Users] Debugging execution error with vcsrepo

2013-12-21 Thread Patrick Gibson
I'm using the vcsrepo module to clone a git repo as a particular user, and I'm getting a puzzling error: Debug: Executing '/usr/bin/su myuser -c /usr/local/bin/git clone g...@git.myhostname.com:repos/myrepo.git /home/myuser/myrepo' Error: Execution of '/usr/bin/su myuser -c /usr/local/bin/git

[Puppet Users] Re: Debugging execution error with vcsrepo

2013-12-21 Thread Patrick Gibson
(I should mention this is on FreeBSD 9.2.) On Saturday, 21 December 2013 18:33:45 UTC-8, Patrick Gibson wrote: I'm using the vcsrepo module to clone a git repo as a particular user, and I'm getting a puzzling error: Debug: Executing '/usr/bin/su myuser -c /usr/local/bin/git clone g

Re: [Puppet Users] Process hang on FreeBSD

2013-12-19 Thread Patrick Gibson
platforms? Looking through some of the other providers, it seems like freebsd.rb is alone in its @@ usage. Patrick On Wednesday, 18 December 2013 20:59:16 UTC-8, Derek Cole wrote: Just wanted to throw in that you should update to pkgng. pkg_add isnt even going to be an option in FreeBSD10. I have

[Puppet Users] Process hung on FreeBSD

2013-12-17 Thread Patrick Gibson
for using Puppet on FreeBSD? It seems like very few other people must be based on my Google searches and available documentation. Thanks, Patrick -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving

[Puppet Users] Process hang on FreeBSD

2013-12-17 Thread Patrick Gibson
this. Any insight would be greatly appreciated. Thanks, Patrick -- 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

Re: [Puppet Users] How to reject agent (node) certificate request

2013-12-06 Thread Patrick Ethier
Did you try the puppet node clean and puppet node deactivate functions? Pat On Fri, Dec 6, 2013 at 8:04 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: You can always throw away the CSR file manually, but that's obviously less than ideal. If nobody pipes up with a correct answer,

Re: [Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-06 Thread Patrick Spinler
it errored out on the files iptables.save and iptables.orig? What's weird is you have incl commented out which would make me think it should only load the one path you specified. On Fri, Oct 4, 2013 at 7:13 AM, Patrick Spinler pspin...@gmail.com wrote: (apologies in advance for the line wrap) I

Re: [Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-06 Thread Patrick Spinler
file, iptables.aug, but where the '.lns' suffix comes from I have no idea. Anyway, thanks again, -- Pat On 10/6/13 3:24 PM, Patrick Spinler wrote: I'm not using the puppet firewall module because, if I read the docs correctly, I'd need to use that module to completely manage the firewall

[Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-04 Thread Patrick Spinler
(apologies in advance for the line wrap) I have the following tidbit of augeas code, which inserts a rule into /etc/sysconfig/iptables as the first rule of a specifically named chain; # augtool insert append before /files/etc/sysconfig/iptables/table/append[. = 'Mayo-Firewall-INPUT'][1] #

[Puppet Users] Newbie basic parameterized class usage question

2013-10-01 Thread Patrick Spinler
I'd like to create and call a parameterized class from another class, both in modules. Here's what I'm trying to do: First, my module path: ap00375@ROFTMA901A ~ $ sudo puppet apply --configprint modulepath /modules:/shares/nfs/unixnoarch/config/puppet:/shares/nfs/unixnoarch/config/puppet/linux

Re: [Puppet Users] b64_zlib_yaml errros after server upgrade to

2013-09-18 Thread Patrick Carlisle
On Tue, Sep 17, 2013 at 1:14 AM, Andrei-Florian Staicu andrei.sta...@gmail.com wrote: Any idea if this is a recognized bug? I don't think it is. Please file a bug report at projects.puppetlabs.comand we can investigate this further. -- You received this message because you are subscribed to

Re: [Puppet Users] b64_zlib_yaml errros after server upgrade to

2013-09-18 Thread Patrick Carlisle
Do either of you happen to have multiple versions of the puppet installed on the master? One through rubygems and one through yum? I've only been able to reproduce this so far when I accidentally ran a 3.3.0 master that loaded some code from 3.2.4. If not, can you run the master with --trace and

Re: [Puppet Users] Re: Using Puppet for remote config management of offline machines?

2013-09-12 Thread Patrick Debois
this blog by Chris McClimans might be of interest for you http://www.instantinfrastructure.org/ On 12 Sep 2013, at 20:13, jcbollinger john.bollin...@stjude.org wrote: On Wednesday, September 11, 2013 10:48:58 AM UTC-5, Brad Smith wrote: Hello all, I'm working with a Kenya-based

Re: [Puppet Users] Disable certain facter facts?

2013-06-25 Thread Patrick Carlisle
Is it possible to tell facter to ignore certain facts? Couldn't find a config file for it and not sure how puppet tells it to gather facts. There's no configuration right now. I think you have a pretty reasonable case, and you should file a feature request at

Re: [Puppet Users] undefined method `[]' for nil:NilClass

2013-06-18 Thread Patrick Carlisle
To diagnose this you'll want to get a full stack trace. Since the error is on the master you run the master with --trace and then find the stack trace in the log. On Tue, Jun 18, 2013 at 11:08 AM, Greg Chavez greg.cha...@gmail.com wrote: I upgrade our infrastructure (mostly RHEL5, some RHEL6)

[Puppet Users] puppet unicorn SIGINT shutdown issue

2013-02-20 Thread Patrick
with unicorn 4.5.0 -Patrick -- 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 post to this group, send email to puppet-users

Re: [Puppet Users] puppet unicorn SIGINT shutdown issue

2013-02-20 Thread Patrick Hemmer
report? -Patrick On 2013/20/02 14:14, Patrick wrote: So I started running puppet under unicorn, and it works, but there is a problem with shutting it down. Whenever you send a SIGINT to the master unicorn process, the worker processes are left running and listening on the socket until they time

[Puppet Users] Error with service: invalid byte sequence in US-ASCII

2013-02-18 Thread Patrick
I just built a new puppet master, and whenever I run puppet on it, it throws an error while processing a service resource: # puppet agent -t Info: Retrieving plugin Info: Caching catalog for i-45dc2b1d Info: Applying configuration version 'g 9ea47ad19bc706a754c00f00a024309948d3ea03' Error:

Re: [Puppet Users] Error with service: invalid byte sequence in US-ASCII

2013-02-18 Thread Patrick Hemmer
only rebooted a few boxes since this started occurring). So it seems like it's environmental, but I have no clue what. -Patrick On 02/18/2013 11:57 PM, Conor wrote: Have you looked for non-printable characters? `cat -v filename` is one of the easier ways to check. -Conor On Feb 18, 2013

[Puppet Users] curious problem with puppet run

2012-10-11 Thread Patrick
Hello, i have a curious problem with a node. Every puppetrun the node says. err: Could not retrieve catalog from remote server: Error 400 on SERVER: syntax error on line 105, col 0: `$InputFileSeverity info' There are 4 nodes which use the same modul but only one node have this problem?? --

[Puppet Users] Create files from array - Duplicate declaration

2012-10-10 Thread Patrick
hello, i want to create some files with an array: class files ( ... $type = [ file1, file2, file3, file4, file5, file5 ] ) { define rsyslog($owner = root, $group = root, $mode = 644, $ensure = present) { file {/etc/rsyslog.d/$type.conf: ensure = $ensure,

Re: [Puppet Users] Create files from array - Duplicate declaration

2012-10-10 Thread Patrick
Now puppet says Cannot reassign variable name... -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/b4ufhZOEEU8J. To post to this group, send email to

Re: [Puppet Users] Create files from array - Duplicate declaration

2012-10-10 Thread Patrick
UTC+2 schrieb Patrick: Now puppet says Cannot reassign variable name... -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Acqm6XAn_RcJ. To post to this group

Re: [Puppet Users] Create files from array - Duplicate declaration

2012-10-10 Thread Patrick
ok fixed now ;) Am Mittwoch, 10. Oktober 2012 13:14:34 UTC+2 schrieb Patrick: Am Mittwoch, 10. Oktober 2012 12:25:39 UTC+2 schrieb kish: On Wed, Oct 10, 2012 at 2:52 PM, Patrick patrick@googlemail.com wrote: Fixed now :) Just replaced $type (is used by puppet) with $logtype

[Puppet Users] Re: in-module data with hiera

2012-10-01 Thread Patrick Roberts
I am looking forward to testing this out in my test lab, as this is something I have been looking for for quite a while. (That, and a good deployment mechanism, while waiting for Razor to mature.) Thank you for putting this out for testing/reflection. -- Patrick Roberts On Sunday

Re: [Puppet Users] Upgrade from 2.7 to 3.0, problem with run_mode in application.rb

2012-09-28 Thread Patrick Carlisle
'). Rubygems allows you to have multiple versions installed at the same time, so probably all you need to do is make sure only 3.0 is installed and then make sure your init script calls puppet master instead of puppetmasterd. -Patrick -- You received this message because you are subscribed

[Puppet Users] Re: Error sending reports to dashboard

2012-09-12 Thread Patrick
I wanted to configure the puppet dashboard to require authentication of client certs and had to modify the previous script to get it to send the client certificate. I also adjusted it to use the puppet CA cert to verify the remote server as well. Simple changes, but providing it in case anyone

[Puppet Users] Error 400 on SERVER: Could not parse for environment production: Syntax error at '{'; expected '}'

2012-08-14 Thread Jen Patrick
It's barfing on this: Error 400 on SERVER: Could not parse for environment production: Syntax error at '{'; expected '}' Here's the node.pp node ccc.unix.ccc.ccc.edu { class { web_server: net_static = { eth0 = { macaddress = $macaddress_eth0,

Re: [Puppet Users] Learning Puppet Virtual Machine vs. Parallels Desktop = linux kernel panic

2012-05-25 Thread Patrick Debois
Shameless plug here - In the current beta version Veewee is now able to build Parallels systems. https://github.com/jedi4ever/veewee That might be useful to create your environment, as there is no real need to import it? And it will install ruby and puppet On 25/05/12 15:52, Dan White

Re: [Puppet Users] puppet-lint error

2012-04-19 Thread Patrick Carlisle
It looks like an incompatibility between puppet-lint and ruby 1.9, which removed the String#each method that was in earlier versions. On Wed, Apr 18, 2012 at 11:30 PM, Joseph cheng...@gmail.com wrote: Hi, this is not strictly puppet related but I am hoping someone here who uses puppet-lint can

Re: [Puppet Users] agent suddenly disabled

2012-04-13 Thread Patrick Carlisle
This is a bug in the error message ( http://projects.puppetlabs.com/issues/13299). The correct command is 'puppet agent --enable'. -- 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.

Re: [Puppet Users] configuration version variable?

2012-04-06 Thread Patrick Debois
I've implemented that - See pull request - https://github.com/puppetlabs/hiera-puppet/pull/20 See https://github.com/jedi4ever/hiera-puppet/commit/2250a9825ea3382bb0518d77c4f5a8b97667f4a0 for details On 06/04/12 18:54, psychobyte wrote: Hi, is there a fact or variable for the

Re: [Puppet Users] Unknown function hiera

2012-04-04 Thread Patrick Debois
FWIW I've submitted this patch today to: - include the gem inside the manifest - load the correct loadpaths - enable relocatable hiera_configdir and hiera_yaml_datasource https://github.com/puppetlabs/hiera-puppet/pull/20 This makes it much easier to have things configured until all the hiera

Re: [Puppet Users] Re: vmware provisioning

2012-02-16 Thread Patrick Debois
You might want to take a look at veewee03. It now can create baseboxes on Vmware Fusion. Which allows you to export them to OVA format that you can import in Vsphere/Esx https://github.com/jedi4ever/veewee On 16/02/12 00:34, Eric Shamow wrote: Indeed, at $(job - 1) we implemented something

[Puppet Users] Re: Exec depends on ressources that are several different types

2012-01-15 Thread Patrick Viet
On Jan 11, 9:07 am, Aaron Grewell aaron.grew...@gmail.com wrote: require accepts an array, so you should be able to do this: require = [File['foo'],Exec['bar']] It worked. Thanks so much. I should submit this as an addition in one of the wiki examples on the puppet website. Patrick -- You

[Puppet Users] Exec depends on ressources that are several different types

2012-01-10 Thread Patrick Viet
section (file depends on package, exec depends on file, all solved), but while this does work in my specific case, I'm sure there are others where it wouldn't work. So is there any way to specify multiple resource dependency when the resources have a different nature ? Thanks all Patrick -- You

[Puppet Users] Re: signing request from Windows client

2012-01-10 Thread Patrick Viet
: it is not updated/ supported anymore. Actually, I would strongly advise against using anything but the LTS releases for servers : 10.04 LTS / lucid right now 12.04 LTS as soon as it is released, in April 2012. Cheers Patrick Viet -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Re: Puppet with Ruby1.9 issue

2011-12-20 Thread Patrick Carlisle
That should be fine as long as you're only running on Ruby 1.9. A fix for this issue went into our 2.7.x branch yesterday [ https://github.com/puppetlabs/puppet/commit/933844567fbe4078cb76f2c089ced1cb6c4170b7]. I'd love to hear if that solves your problems, although I think on 1.9.2 it's

[Puppet Users] package versioning by environment - best practice?

2011-07-20 Thread Patrick
New puppet user here looking for a yay or nay on whether the current design I've got is a good idea. The main thing I'm trying to accomplish is to have a class that gets applied to a production box and a testing box, where the only difference between the two is the version of packages that get

Re: [Puppet Users] Re: Checking for free disk space on mountpoint?

2011-07-12 Thread Patrick
On Jul 11, 2011, at 11:10 PM, vagn scott wrote: On 07/12/2011 01:05 AM, Patrick wrote: Keep in mind that, this being unix, there's no drives so if you will probably be checking the amount of space on root if you don't think about it. There most certainly are drives in unix. Not drive

[Puppet Users] Possible leaking records in dashboard db

2011-07-12 Thread Patrick
I'm using puppet-dashboard 1.1.0-1 on Ubuntu. I remove old reports using this command: nice -n +1 rake RAILS_ENV=production reports:prune upto=1 unit=mon This seems to work fine, and the amount of reports returnd by this mysql query seems to drop by the proper amount: select

Re: [Puppet Users] Running puppet client on OS X

2011-07-12 Thread Patrick
On Jul 11, 2011, at 7:51 PM, treydock wrote: What is the preferred method for running the puppet client in OS X? So far all methods I've tried seem to default to running the client as the root user. Should this be changed to run as a puppet user? Should I explicitly define puppet as the

Re: [Puppet Users] Can't switch checksum method?

2011-07-11 Thread Patrick
On Jul 11, 2011, at 12:09 PM, Haitao Jiang wrote: I have a File resource and it was default to use md5 checksum. Now, I want to change it to use md5lite (or mtime, same error), I got following error: Any suggestion on how to get rid of this error (switch the checksum method)? info:

Re: [Puppet Users] Can't switch checksum method?

2011-07-11 Thread Patrick
, group = root, } Any help is highly appreciated! Haitao On Mon, Jul 11, 2011 at 7:41 PM, Haitao Jiang jianghai...@gmail.com wrote: Patrick Thanks. Related information: Puppet 2.6.8 for both master and client, Webrick. file { /opt/jetty-distribution-7.4.2.v20110526.tar.gz

Re: [Puppet Users] Re: Checking for free disk space on mountpoint?

2011-07-11 Thread Patrick
On Jul 11, 2011, at 7:37 PM, Victor Hooi wrote: Ken, Currently, the existing processes we have are quite ad-hoc, and developers are often responsible for deployment, which is done by hand. I'm hoping Puppet will automate the process, provide better standardisation, and segregate

Re: [Puppet Users] Bizarre errors from puppetmaster 2.7.1

2011-07-10 Thread Patrick
On Jul 9, 2011, at 6:35 PM, Michael Halligan wrote: Periodically after restarting the master (which uses puppet-dashboard as a reporting server and ENC), when an agent tries to run, the agent isn't given any classes, and exits without error, then the master spews out this message: Jul 10

Re: [Puppet Users] Re: puppet master and puppet client running very slow

2011-07-04 Thread Patrick
On Jul 4, 2011, at 6:35 AM, sanjiv.singh wrote: On Jul 4, 6:12 pm, Daniel Maher dma...@milestonelab.com wrote: On 07/04/2011 02:46 PM, sanjiv.singh wrote: hi all, I have configured puppet 0.25.4 setup. since last few days , puppet master and client running very slow .It seems

Re: [Puppet Users] Permission denied on new Passenger install

2011-06-27 Thread Patrick
I see 2 likely options: 1) You don't have these lines in puppet.conf: #ssl_client_header = HTTP_SSL_CLIENT_S_DN #ssl_client_verify_header = HTTP_SSL_CLIENT_VERIFY and you didn't put the equivelent lines in the apache config files. 2) You put the correct lines in the apache files and the puppet

Re: [Puppet Users] Module in maintenance mode

2011-06-21 Thread Patrick
On Jun 21, 2011, at 5:04 PM, Douglas Garstang wrote: All, I have a module that I would like to set a variable for, and then if that is variable is set, consider the module (which deploys software), in 'maintenance mode', where it drops out of the module, and moves into the next module,

Re: [Puppet Users] Could not find a default provider for package

2011-06-19 Thread Patrick Mohr
On Sat, Jun 18, 2011 at 6:24 PM, d0ugb d0u...@gmail.com wrote: Need some help here. I am using puppet to mange some Gentoo boxes, and when working with packages I keep getting the following error: Could not find a default provider for package Version: * app-admin/puppet Latest

Re: [Puppet Users] Facter + storeconfigs missing fact_values

2011-06-19 Thread Patrick Mohr
Well, it would help if you can find out if the problem is with storeconfigs of the rest of puppet. Does the fact seem to be affecting the manifest? On Sun, Jun 19, 2011 at 7:48 PM, josbal joshua.bald...@gmail.com wrote: Hi Guys, Was wondering if someone could point me in a way to diagnose my

Re: [Puppet Users] Catalog compilation query

2011-06-17 Thread Patrick
On Jun 17, 2011, at 5:16 AM, linuxbsdfreak wrote: Hello All, Just had a query regarding catalog compiliation for nodes. When i compile the catalog on the puppetmaster with the command given below puppet master --compile hostname When the client connects to puppetmaster. Does the

Re: [Puppet Users] puppet dashboard

2011-06-16 Thread Patrick
On Jun 14, 2011, at 11:56 AM, Craig White wrote: I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. How can I install puppet-dashboard if I don't see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in

Re: [Puppet Users] Re: how to do conditional check?

2011-06-14 Thread Patrick
On Jun 13, 2011, at 5:00 PM, Sans wrote: Well, the file I mention is actually one of the Torque (formerly PBS batch system) config file (location: /var/torque/mom_priv/config), which is auto generated by yaim but the thing is: if the file is already there yaim won't touch it. Let's just say

Re: [Puppet Users] how to do conditional check?

2011-06-10 Thread Patrick
On Jun 10, 2011, at 4:10 PM, Sans wrote: Dear all, This is my script in the bash: how can I put it into puppet? #!/usr/bin/env bash CONF_DIR=/var/mom_priv CPU_COUNT=`cat /proc/cpuinfo | grep siblings | uniq | cut -d\ -f2` ideal_load_var=$(echo scale=2; ${CPU_COUNT}+0.5 | bc)

Re: [Puppet Users] how do I tell puppet do nothing if the condition is true

2011-06-08 Thread Patrick
On Jun 8, 2011, at 11:01 AM, hyzhang wrote: Hi, I have a piece of puppet code. I want puppet do nothing if it is true. How do I do that? Of course this code would not code. exec { 'runlevel': command = $is_virtual ? { 'false' = /bin/sed -i 's/id:3:initdefault:/id:

Re: [Puppet Users] Changes on master applied only on second run on nodes

2011-06-07 Thread Patrick
On Jun 7, 2011, at 12:19 AM, Maxim Ivanov wrote: Hi! If I change manifest on master and then immediately run puppet agent --no-daemonize --report --pluginsync --onetime then it still uses old version of manifest. When I run it second time it sees changes and applies them. Why is it like

Re: [Puppet Users] Re: backup files whith bad arborescence

2011-06-06 Thread Patrick
On Jun 6, 2011, at 12:27 AM, florian wrote: On 3 juin, 17:26, Patrick kc7...@gmail.com wrote: Out of curiosity, why do you care? i think it damage to keep this arborescence with many intermediate file. Do you mean you think it is bad to keep the file structure like this? If so, I

[Puppet Users] Re: backup files whith bad arborescence

2011-06-06 Thread Patrick
The easiest way I can think of is using your favorite find program. I would assume that the unix find program will do this for you. On Jun 6, 2011, at 5:27 AM, florian wrote: If i dont change this arborescence, how I can find a backup at specific date ? Think On 3 juin, 17:26, Patrick

Re: [Puppet Users] Pushing changes to nodes

2011-06-05 Thread Patrick
On Jun 5, 2011, at 4:48 AM, Pavel Shevaev wrote: Hi! I've finally managed to migrate our servers deployment process to the puppet and so far it works just fine. Puppet is great, but its default pull model doesn't fit our requirements. I'm thinking about usage of clusterssh(or something

Re: [Puppet Users] Re: backup files whith bad arborescence

2011-06-03 Thread Patrick
On Jun 3, 2011, at 8:12 AM, florian wrote: But it's possible to avoid this arborescence ? even if i lose in performance ? My understanding is that the answer is mo because you're not even supposed to be using those files directly, so it shouldn't matter. You should be using the file bucket

Re: [Puppet Users] [SOLVED] line replace triggers file reload

2011-06-02 Thread Patrick Mohr
On Wed, Jun 1, 2011 at 11:22 PM, Giovanni Bordello g...@gentlemail.comwrote: Sorted, I've done it using a template: search %= dns_search_path % nameserver ... nameserver ... That way the file is (presumably?) created on the master and looks constant to the client. To answer your

Re: [Puppet Users] Certificate problems

2011-06-02 Thread Patrick
On Jun 2, 2011, at 9:32 AM, John Kennedy wrote: Replies inline On Wed, Jun 1, 2011 at 17:55, Patrick kc7...@gmail.com wrote: On Jun 1, 2011, at 8:05 AM, John Kennedy wrote: I have several servers being hosted on Amazon Web Services. They have all been build from the same manifest so

Re: [Puppet Users] Re: Open Source Team planning meeting summary

2011-06-01 Thread Patrick
On May 31, 2011, at 9:01 PM, Alan Sparks wrote: On 5/31/2011 9:07 PM, Jacob Helwig wrote: On Tue, 31 May 2011 20:56:47 -0600, Alan Sparks wrote: On Tue, May 31, 2011 at 5:08 PM, Jacob Helwig ja...@puppetlabs.com mailto:ja...@puppetlabs.com wrote: Just a quick reminder that we're

Re: [Puppet Users] Certificate problems

2011-06-01 Thread Patrick
On Jun 1, 2011, at 8:05 AM, John Kennedy wrote: I have several servers being hosted on Amazon Web Services. They have all been build from the same manifest so apart from the hostnames, IP, etc they are all identical. All but 3 of the boxes can connect to the puppetmaster. When kicked

Re: [Puppet Users] Puppet 2.6.8 agent slow execution

2011-06-01 Thread Patrick
On Jun 1, 2011, at 7:04 AM, pachanga wrote: Hi! I'm incrementally developing puppet rules on the master server and applying them to the testing machine. For some reason puppet agent applies changes from the master very slowly, about 3 minutes every time. At this speed it's very tiresome

Re: [Puppet Users] Puppet 2.6.8 agent slow execution

2011-06-01 Thread Patrick
On Jun 1, 2011, at 1:30 PM, Jacob Helwig wrote: On Wed, 01 Jun 2011 23:58:24 +0400, Pavel Shevaev wrote: Mitigation for 4: 1) If the combined size of the files are small, you can try using content instead of source for the files. Wow, that did the trick Thanks a lot! Deployment time

  1   2   3   4   5   6   7   >