[Puppet Users] Newbie question about fetching specific value of a key from hash

2016-02-03 Thread Sam
as follows but it doesn't work. $datadir = hiera('mysqlconfig::custom_mysql_options[datadir]') file { "$datadir": ensure => directory, owner => 'mysql', group => 'mysql', mode => '0755', } Thanks in advance Sam -- You received this message beca

Re: [Puppet Users] compare filebucket

2015-03-02 Thread Sam Coffland
Found this old post when looking for a way to do this. I wrote the following short script for this purpose. It will give you a diff of each copy of a file you search for compared to the next older version in the file bucket starting with the current file. Hope it helps someone else as the file

[Puppet Users] Re: Debugging which provider and which command it is using

2014-10-27 Thread Sam Coffland
I'm not sure exactly what your trying to achieve by getting the provider but I give it a shot at it anyway. In order to get debugging info from puppet you would use a notice. http://www.puppetcookbook.com/posts/simple-debug-messages.html So if you wanted to have your EL systems tell you they

[Puppet Users] Re: best way to ensure (yum) package repository freshness ?

2014-09-29 Thread Sam Coffland
I came a across this post and like what I see but would off the following addition to Ian's suggestion so that the expire cache is not executed on every puppet run. exec { 'yum-clean-expire-cache': command = '/usr/bin/yum clean expire-cache', refreshonly = true, } package

[Puppet Users] 30 days left before Puppet 2.7 end-of-life

2014-09-02 Thread Sam Kottler
Greetings puppet-users, Just wanted to send out a note to everyone to remind you all that Puppet 2.7 will reach end of life status on the 30th of September. This means there will be no new releases on {yum,apt}.puppetlabs.com, via tarballs, or on RubyGems.org. Although OS distributions will

[Puppet Users] Puppet 2.7.26 (security release for CVE-2014-3248) is now available

2014-06-10 Thread Sam Kottler
Announce: Puppet 2.7.26 Available [ Security Release ] Puppet 2.7.26 is a security fix release in the Puppet 2.7 series. This release addresses CVE-2014-3248. It has no other bug fixes or new features. ** CVE-2014-3248 ** Arbitrary Code Execution with Required Social Engineering An attacker

Re: [Puppet Users] Re: Getting an error when trying to apply manifest locally on windows

2014-03-27 Thread Sam
research on this issue and you are probably right that the module I got is not supported on windows. Thanks Sam On Thursday, March 27, 2014 12:37:28 AM UTC+5:30, Rob Reynolds wrote: Let's back up. Are you sure this module is supported on Windows? On Wed, Mar 26, 2014 at 12:36 AM, Sam kaila

[Puppet Users] Getting an error when trying to apply manifest locally on windows

2014-03-25 Thread Sam
: Syntax error at end of file at line 1 on node maa-lpe35022kd.fnfis.com Puppet version is 3.4.3. Any suggestions for resolving this issue? Thanks Sam -- 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: Getting an error when trying to apply manifest locally on windows

2014-03-25 Thread Sam
/lib/puppet/util.rb:478:in `exit_on_fail' C:/puppet/puppet/lib/puppet/application.rb:364:in `run' C:/puppet/puppet/lib/puppet/util/command_line.rb:137:in `run' C:/puppet/puppet/lib/puppet/util/command_line.rb:91:in `execute' C:/puppet/puppet/bin/puppet:4:in `main' Thanks Sam On Tuesday, March 25

[Puppet Users] Most trivial site.pp throwing errors

2014-03-18 Thread Sam K
for environment production: Syntax error at 'add-user'; expected '}' at /etc/puppet/manifests/site.pp:11 on node bb10-x64-rhel60* On the agent, each time I modify site.pp, I am running 'puppet agent --no-daemonize --onetime --verbose' Thanks Sam -- You received this message because you

[Puppet Users] Re: Most trivial site.pp throwing errors

2014-03-18 Thread Sam K
No help? Anyone have any ideas why I'm getting this error. On Monday, March 17, 2014 10:48:43 PM UTC-7, Sam K wrote: Hello All. My very first post and a Super-noob puppet user checking in. I have been using puppet for just a week or so and have had moderate success with 2 ubuntu

[Puppet Users] Recursive file delete fails with empty files

2014-03-10 Thread Sam Tresler
Sample config: file { /var/www/apps: mode= 0644, owner = username group = groupname, ensure = directory, recurse = true, purge = true, force = true, }

[Puppet Users] Module ordering in nodes.pp

2014-01-26 Thread Sam Rajagopal
I have nodes.pp defined as follows node abc.x.com, 123.x.com { include module1 include module2 include module3 } Very simple definition. No parameterization, no scoping etc When I run puppet agent -t on the agent, I see the execution jumping to module 3 after module 1. Not sure how I can do

[Puppet Users] unable to execute an installation (create instance) command - vfabric tcserver

2014-01-17 Thread Sam Rajagopal
I have the exec resource defined as follows, to be able to install tcserver using a command line, inside of my init.pp. For some reason, it is not able to execute the install command, when I run puppet agent -t on the agent exec { tomcat-conf: path =

Re: [Puppet Users] dashed by dashboard

2014-01-07 Thread Sam Kottler
On Mon, Jan 6, 2014 at 8:51 PM, Stuart Cracraft smcracr...@gmail.comwrote: Okay, took care of that. Thanks. Now, when doing per page 170 in chapter 7 (chapter puppet consoles) in Pro Puppet by Krum et al, I have: ruby /usr/share/foreman-installer/generate_answers.rb We changed the

[Puppet Users] Announce: Puppet 2.7.25 is available

2014-01-07 Thread Sam Kottler
on win Dominic Cleal (1): 3ea78c (PUP-1255) Fix assumed default file mode to 0644 Kylo Ginsberg (1): 4e10a0 (PUP-1255) Don't use POSIX defaults on Windows Sam Kottler (2): c2acac (PUP-1351) Load ext/packaging/packaging.rake instead of ext/packaging/tasks/** b1b29a Bump

[Puppet Users] Announce: Puppet 2.7.24 is available

2013-12-26 Thread Sam Kottler
://puppetlabs.com/security/cve/cve-2013-4969 for details. Andrew Parker (1): 691fbbe (#23343) Use `replace_file` to update a file's contents Sam Kottler (1): 22ecab2 Bump the version to 2.7.24 Puppet 2.7.24 Downloads -- Source: https

[Puppet Users] Re: Ensure last line in a file

2013-12-05 Thread Sam Coffland
You can use concat fragments to specify the order of stanzas or lines. Forgive the pseudo code below but you should be able to get the idea concat::fragment { original_file: order = 10, } concat::fragment { other_stuff: order = 50, } concat::fragment { last_line:

[Puppet Users] Puppet dashboard data internally inconsistent

2013-11-26 Thread Sam Tresler
https://www.dropbox.com/s/0vao04js5v7edga/Screenshot%20-%2011262013%20-%2011%3A31%3A35%20AM.png In the attached screenshot you can see that the last report was 10:07. The graph definitely shows an 11:36 run, and the dashboard activity shows that the nod was updated at 11:05. Puppet dashboard

[Puppet Users] Re: Puppet dashboard data internally inconsistent

2013-11-26 Thread Sam Tresler
I should add, nothing in logs of puppet master or dashboard. On Tuesday, November 26, 2013 11:39:34 AM UTC-5, Sam Tresler wrote: https://www.dropbox.com/s/0vao04js5v7edga/Screenshot%20-%2011262013%20-%2011%3A31%3A35%20AM.pnghttps://www.google.com/url?q=https%3A%2F%2Fwww.dropbox.com%2Fs

[Puppet Users] Re: Error: Could not retrieve catalog from remote server Puppet Enterprise

2013-11-13 Thread Sam Oehlert
) Xav, Can you please give me an example of what the permissions look like? They do seem to look a little funky, but I'm not sure what they should be. On Monday, November 11, 2013 4:03:34 PM UTC-6, Sam Oehlert wrote: We are trying to set up PE 3.1 on RHEL 6 boxes. We were able to install

[Puppet Users] auth.conf/puppet.conf sample files for master and agent

2013-11-12 Thread Sam Rajagopal
/etc/hosts files, passwordless ssh provided. Should I have the agent entries in some file on the master ? Appreciate any pointers and info on the initial set up configuration, requirements, firewalls etc thanks Sam -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Error: Could not retrieve catalog from remote server Puppet Enterprise

2013-11-11 Thread Sam Oehlert
We are trying to set up PE 3.1 on RHEL 6 boxes. We were able to install the clients fine and they were listed as working in the console. After a while, we started to see a bunch of errors that look like this: Error: Could not retrieve catalog from remote server: Error 400 on SERVER:

Re: [Puppet Users] Re: Puppet requires second run to execute some catalog items.

2013-09-25 Thread Sam Tresler
Precisely. Aptitude is the culprit here. I've switched our package manager to apt which is more conservative and it does not remove the packages when upgrading php, which, for now is a workable solution. I need to find the time to put this in as Debian bug and see what they say. I can't see

Re: [Puppet Users] Re: Puppet requires second run to execute some catalog items.

2013-09-25 Thread Sam Tresler
, based on my limited experience with it. Anyway, if you're still stuck I guess that's what I would try to figure out. On Thu, Sep 19, 2013 at 9:23 AM, Sam Tresler samtr...@gmail.comjavascript: wrote: Actually, that isn't going to work, I don't think. I need to have some method of flagging

[Puppet Users] Re: Puppet requires second run to execute some catalog items.

2013-09-19 Thread Sam Tresler
, September 18, 2013 3:01:49 PM UTC-5, Sam Tresler wrote: Hi, I've inherited a puppet setup for automating php installation and extension management. We're on Debian and we've encountered a strange issue that I've traced down back to puppet I think. I've stripped back the configuration and made

[Puppet Users] Re: Puppet requires second run to execute some catalog items.

2013-09-19 Thread Sam Tresler
of the first. Of those I like the first or second options best. I'll do more digging, but would love to hear people's suggestions on this as well. On Thursday, September 19, 2013 9:58:21 AM UTC-4, Sam Tresler wrote: Ah. That makes a lot of sense. I'd noticed the php5-mysql 'upgrade' and assumed

Re: [Puppet Users] puppet module install simondean/iis gives error Error: cert already in hash table

2013-09-19 Thread Sam Huang
have the same error everyone's been mentioning * (module-install-fails.png)*. Any help please? Sam On Sunday, August 18, 2013 7:59:04 PM UTC-7, Robert Redgwell wrote: For what it's worth, I had the same problem and figured out the particular cert on Windows 7 (64bit) that was causing

[Puppet Users] Some php5 extensions not installed until a second run

2013-09-18 Thread Sam Tresler
Hi, I've inherited a puppet setup for automating php installation and extension management. We're on Debian and we've encountered a strange issue that I've traced down back to puppet I think. I've stripped back the configuration and made the problem reproducible, logs and config pasted below.

[Puppet Users] Puppet requires second run to execute some catalog items.

2013-09-18 Thread Sam Tresler
Hi, I've inherited a puppet setup for automating php installation and extension management. We're on Debian and we've encountered a strange issue that I've traced down back to puppet I think. I've stripped back the configuration and made the problem reproducible, logs and config pasted below.

[Puppet Users] Re: End of Life Plan for Puppet 2.7.x

2013-08-21 Thread Sam Kottler
. Let me know if you've got any questions. -Sam On Thursday, July 11, 2013 9:28:08 AM UTC-7, Michael Stanhke wrote: The time has come for us to say good-bye to the Puppet 2.7 series. This means the security fixes, bug fixes, and features provided for Puppet 2.7 since its release in June

Re: [Puppet Users] Re: How do I set global noop?

2013-07-29 Thread Sam Morrison
Thanks Justin, Yes MCollective would be great, just have to find the time. Rene: I have gone with your solution at the moment. I still think it's a bug that doing it on the Resource resource doesn't work, hopefully someone will look into those bugs. Cheers, Sam On Sunday, 28 July 2013 02

Re: [Puppet Users] Re: How do I set global noop?

2013-07-25 Thread Sam Morrison
Yeah but then when we push out noop = true in puppet.conf how do we then push out noop = false via puppet if they're all in noop. Managing on the server is the only way to do it in a safe and scalable way (we have 500+ nodes) On Thu, Jul 25, 2013 at 10:18 PM, Klavs Klavsen kl...@enableit.dk

[Puppet Users] Re: How do I set global noop?

2013-07-23 Thread Sam Morrison
On Wednesday, 24 July 2013 03:12:10 UTC+10, Ellison Marks wrote: How are you running puppet? If cron or mcollective, you can add a --noop flag to the command line somewhere. We're just using it the standard way running it as a daemon -- You received this message because you are

[Puppet Users] How do I set global noop?

2013-07-22 Thread Sam Morrison
(that doesn't include modifying puppet.conf file) I would be very interested. Cheers, Sam -- 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] Packages on fedora19

2013-07-05 Thread Sam Kottler
will also work as a stop-gap measure. -Sam On Thu, Jul 4, 2013 at 11:28 PM, Pete Brown rendhal...@gmail.com wrote: On 5 July 2013 02:43, Matthaus Owens matth...@puppetlabs.com wrote: Brian, Yes, there have been some changes to ruby in fedora 19. We will probably need to tweak the spec we build

Re: [Puppet Users] Certificate problems

2013-06-06 Thread Sam Sexton
Many thanks, Nan - I'll try that in the morning. Regards, Sam On 6 June 2013 17:50, Nan Liu nan@gmail.com wrote: On Thu, Jun 6, 2013 at 7:52 AM, Andthepharaohs puheli...@gmail.comwrote: Hi all - my head hurts! ;-) I am getting this error on my agent host: err: /Stage[main

[Puppet Users] Puppet Live Management Not Working

2013-04-04 Thread Sam Oehlert
Hi I'm new to puppet. Just installed the master and one agent. I'm having issues with Live Management though. Any time I try to do anything through there it just sits and waits for a long time and never does anything. -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: apt-get update before installing a package. The right way?

2013-03-27 Thread Sam Morrison
On Saturday, 23 March 2013 00:50:11 UTC+11, jcbollinger wrote: On Thursday, March 21, 2013 6:16:07 PM UTC-5, Sam Morrison wrote: Hi, I've been battling with trying to get our puppet to do the following: Install all sources.list, apt-keys then: Run an apt-get update then: install

[Puppet Users] apt-get update before installing a package. The right way?

2013-03-21 Thread Sam Morrison
other 3rd party modules. Thanks, Sam -- 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

Re: [Puppet Users] WebRick role

2013-01-07 Thread Sam Kottler
Hi and welcome! The puppet master itself is a simple rack application so webrick is the default rack server. You can use any application server that is Rack-compatible; Apache w/ Passenger is also a very common configuration. There is not a web interface by default, but there are a number of

[Puppet Users] Restricting hosts to a certain environment

2012-12-18 Thread Sam Morrison
Hi, I'm wanting to restrict hosts to a certain environment. Eg only hosts in the range 192.168.0.0/24 can use the production environment Similar with test env etc. Is this possible with auth.conf? Thanks, Sam -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Re: trouble with catalog with Foreman as ENC

2012-09-04 Thread Sam Kottler
That means that modules/connexity_apt/files/connexity.list doesn't exist. -Sam On Tue, Sep 4, 2012 at 2:01 PM, confused sboyle...@gmail.com wrote: Thank you, that was very helpful. Now I need to work through: err: /Stage[main]/Connexity_apt/File[/etc/apt/sources.list.d/connexity.list

Re: [Puppet Users] Re: newish puppet on RHEL4 and/or SLES9?

2012-08-29 Thread Sam Kottler
Who's got the ban hammer? :P On Wed, Aug 29, 2012 at 3:44 PM, shell Nor norenmich...@gmail.com wrote: My puppet has been created in isolation on an island at top of scotland over a period of 2 weeks nonstop working on her mismatched outfit. sure youve probwho hsn't . Flattery will get u

Re: [Puppet Users] Re: newish puppet on RHEL4 and/or SLES9?

2012-08-29 Thread Sam Kottler
Thanks! -Sam On Wed, Aug 29, 2012 at 7:10 PM, James Turnbull ja...@puppetlabs.comwrote: Sam Kottler wrote: Who's got the ban hammer? :P The address appears to be now banned. Apologies for the spam. Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule

[Puppet Users] Attending PuppetConf?

2012-08-24 Thread Sam Kottler
Hi all, There has been talk of a Foreman meetup at PuppetConf. I think it's a great idea for all of us to talk about what we're doing with Foreman and to meet in person. How many of you are going to PuppetConf and would like a meetup? Also, thoughts on a meetup vs. a BoF at the conference itself

[Puppet Users] Re: Attending PuppetConf?

2012-08-24 Thread Sam Kottler
Sorry, this was supposed to go to the Foreman list. My apologies. -Sam On Fri, Aug 24, 2012 at 5:56 PM, Sam Kottler s...@kottlerdevelopment.comwrote: Hi all, There has been talk of a Foreman meetup at PuppetConf. I think it's a great idea for all of us to talk about what we're doing

Re: [Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord

2012-08-21 Thread Sam Kottler
Storeconfigs use activerecord as an ORM. -Sama On Tue, Aug 21, 2012 at 7:30 AM, NewpTone yux...@gmail.com wrote: Thx,this really helps me ,but I wonder why storeconfig setting will cause the error ? 在 2011年12月22日星期四UTC+8上午3时53分55秒,Joehillen写道: Ok, I solved the issue. It took some doing

[Puppet Users] Re: Installing puppet-dashboard on ubuntu precise

2012-08-19 Thread Sam Morrison
Hi Daniele, Yeah you are probably right. I can't uninstall the other one as it is a dependance on mod-passenger. I'm not really familiar with ruby, Is there a way I can override the search path? I don't have RUBYLIBDIR set in my environment. Cheers, Sam On Friday, 17 August 2012 17:41:49

Re: [Puppet Users] Re: Installing puppet-dashboard on ubuntu precise

2012-08-19 Thread Sam Morrison
I'd rather not do that as mod-passenger is needed by something else (puppetmaster) Is there no way I can make dashboard use the gem version as opposed to the standard one? Is that what RUBYLIBDIR is for? Cheers, Sam On Monday, 20 August 2012 11:43:11 UTC+10, Ashish Jaiswal wrote: Hi Sam

Re: [Puppet Users] Installing puppet-dashboard on ubuntu precise

2012-08-16 Thread Sam Morrison
so it would be good to get the puppet-dashboard package up to the same standard. Has anyone got this working without installing gems? Any debs for the required versions around? Cheers, Sam On Wednesday, 15 August 2012 16:45:20 UTC+10, Ashish Jaiswal wrote: Hi, I just ran into the same

Re: [Puppet Users] puppet client environment is being ignored from foreman settings

2012-08-16 Thread Sam Kottler
in Foreman against the one in the host's puppet.conf. Someone who has done this might be able to help you on the foreman-users list. -Sam On Thu, Aug 16, 2012 at 11:05 AM, Yaniv Fine yanivf...@gmail.com wrote: Hi experts . i am runnig foreman 1 puppetmaster 2.7.18 i have setup a test client

Re: [Puppet Users] puppet client environment is being ignored from foreman settings

2012-08-16 Thread Sam Kottler
Yaniv, I was asking if you happen to have an environment defined on your agent in puppet.conf. Anyhow, we can handle this over on foreman-users :) -Sam On Thu, Aug 16, 2012 at 1:01 PM, Yaniv Fine yanivf...@gmail.com wrote: Why do i have to define environment in puppet.conf on the agent . Isnt

[Puppet Users] Re: Installing puppet-dashboard on ubuntu precise

2012-08-16 Thread Sam Morrison
Hi Daniele, Thanks a lot for the info, I'll follow the bug and give your workaround a go. Cheers, Sam On Thursday, 16 August 2012 23:09:20 UTC+10, Daniele Sluijters wrote: Hi, The issue is probably that the Puppet package is requiring librack-ruby. In the case of Debian Squeeze

[Puppet Users] Re: Installing puppet-dashboard on ubuntu precise

2012-08-16 Thread Sam Morrison
install rack -v=1.1.0 But I still get exactly the same error: root@admin:/usr/share/puppet-dashboard# gem list *** LOCAL GEMS *** rack (1.1.0) Something else I'm missing? Thanks, Sam On Friday, 17 August 2012 09:58:06 UTC+10, Sam Morrison wrote: Hi Daniele, Thanks a lot for the info, I'll

[Puppet Users] Re: Configuring hosts with data from other hosts

2012-08-14 Thread Sam
what is the right way to handle this? On Tuesday, May 12, 2009 7:51:31 AM UTC+1, stever...@gmail.com wrote: So I want to use facts from one host in the configuration of other hosts. Trivial example: setting restrict lines in ntp.conf to allow a monitoring host to query ntpd on remote

[Puppet Users] Installing puppet-dashboard on ubuntu precise

2012-08-14 Thread Sam Morrison
doesn't specify? I don't know ruby that well so finding it hard to debug. Also it's well after 2011-11-01 is that a problem too? Thanks, Sam root@admin:/usr/share/puppet-dashboard# rake RAILS_ENV=production db:migrate --trace NOTE: Gem.source_index is deprecated, use Specification

Re: [Puppet Users] See puppet output in stdout when running --no-daemonize inside a bash script

2012-07-20 Thread Sam Simmons
Ya ya. I'm just running it on my home net to init master (--mkusers) and my server (--autosign). Then run master normally after that. Removes a step. On Friday, July 20, 2012 7:05:13 AM UTC-5, Felix.Frank wrote: On 07/19/2012 03:46 AM, Sam Simmons wrote: Ah ha! The problem was --autosign

[Puppet Users] See puppet output in stdout when running --no-daemonize inside a bash script

2012-07-18 Thread Sam Simmons
I'm simply trying to run puppet inside a bash script but I'm not seeing any output. #!/bin/bash puppet master --mkusers --autosign --verbose --no-daemonize Is there an I/O redirection incantation I'm missing? -- You received this message because you are subscribed to the Google Groups Puppet

Re: [Puppet Users] See puppet output in stdout when running --no-daemonize inside a bash script

2012-07-18 Thread Sam Simmons
:30 PM, Sam Simmons s...@samiconductor.com wrote: I'm simply trying to run puppet inside a bash script but I'm not seeing any output. #!/bin/bash puppet master --mkusers --autosign --verbose --no-daemonize Is there an I/O redirection incantation I'm missing? -- You received

Re: [Puppet Users] See puppet output in stdout when running --no-daemonize inside a bash script

2012-07-18 Thread Sam Simmons
PM UTC-5, Sam Simmons wrote: Ah ha! The problem was --autosignhttp://docs.puppetlabs.com/references/latest/configuration.html#autosignis a bit more than just a boolean arg so you have to explicitly say true or false. #!/bin/bash puppet master --mkusers --autosign true --verbose

[Puppet Users] name of modules versus contents of init.pp

2012-06-15 Thread Sam
Hi, Noob question.I read that init.pp should contain a class with the same name as the module itself. However, the few modules on github that I have read so far seem to break this.The module name will be like our-super-version-of-nagios, and then init.pp will contain the class

Re: [Puppet Users] Re: define function problem

2012-04-09 Thread sam
On Fri, Apr 6, 2012 at 8:26 PM, jcbollinger john.bollin...@stjude.org wrote: On Apr 6, 1:07 am, sam er.sureshprajap...@gmail.com wrote: Hi All, Hope you people are doing good. I have a manifest file : lass profile { That's supposed to be class of course.  I guess it's a cut paste

[Puppet Users] define function problem

2012-04-06 Thread sam
Hi All, Hope you people are doing good. I have a manifest file : lass profile { # setup profile parms. We dont handle non Ubuntu OS yet if ($operatingsystem == Ubuntu) { file { /etc/profile.d: ensure = directory, purge = true,

[Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
Hi , I have installed puppet master and puppet client on the same machine using synaptic package manager. Puppet client and Puppet master are on the same machine having Ubuntu (10.10 LTS )as base operating system. root@laptop:/etc/puppet# puppetd agent --test info: Retrieving plugin err:

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
On Thu, Feb 16, 2012 at 5:42 PM, krish das.srikris...@gmail.com wrote: Installed Puppet Version is 0.25.4 Can you guys help me resolving this error . Could you get the latest from repos - http://apt.puppetlabs.com/dists/maverick/main/binary-amd64/Packages And did your puppetmaster start?

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
Is there anyone who can help me ? On Thu, Feb 16, 2012 at 6:17 PM, sam er.sureshprajap...@gmail.com wrote: On Thu, Feb 16, 2012 at 5:42 PM, krish das.srikris...@gmail.com wrote: Installed Puppet Version is 0.25.4 Can you guys help me resolving this error . Could you get the latest from

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
On Fri, Feb 17, 2012 at 12:39 PM, krish das.srikris...@gmail.com wrote: Can you pastebin us a full puppetd -tdv output. Ok here you go http://pastie.org/3399696 -- Krish OlinData.com -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] puppet 2.6.13-2.el5 not writing logs

2012-02-10 Thread Sam F
Hi every one, I have a strange behavior with my puppet agent on CentOS 5.7. The agent does not write into the log file when it runs as a daemon. Nevertheless, It does when it is run manually by puppet agent -t. And the behavior is the same even if I specify explicitly the log file on the

[Puppet Users] Yum questions

2011-11-04 Thread Sam Roza
Hello All, I come from the RHN age and don't quite have my head fully wrapped around yum. I know that puppet exclusively uses yum to install RPMs. I have some custom modules to write, but they require custom RPMs be installed. Not being the most well-versed person with yum, I don't want to get

Re: [Puppet Users] Yum questions

2011-11-04 Thread Sam Roza
, make sure your system can see it, and then a plain yum install will work. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - Sam Roza samr...@gmail.com wrote: Hello All

Re: [Puppet Users] Yum questions

2011-11-04 Thread Sam Roza
, Sam Roza wrote: So I use createrepo to make a local repo somewhere-for instance, the puppet server-and then use that to do the install? Why doesn't puppet support all of yum features? I'll venture a guess that it's for the same reason that yum doesn't already support all

Re: [Puppet Users] Yum questions

2011-11-04 Thread Sam Roza
Thank you all. I'll probably use yum, but I am reluctant to get involved in the architecture-just another thing to manage-for a total of 4 packages. On Fri, Nov 4, 2011 at 2:27 PM, Steven VanDevender ste...@uoregon.eduwrote: Sam Roza writes: So I use createrepo to make a local repo

[Puppet Users] Could not evaluate: Field 'key' is required when exporting ssh_authorized_keys

2011-10-11 Thread Sam Morrison
puppet runs it will work eventually until all the keys are installed. It seems to work for 1-7 keys at a time then fail for the rest. The amount of broken ones gets smaller and smaller each time. Any clues? Cheers, Sam -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] How best to monitor puppet?

2011-10-04 Thread Sam Roza
... Sam On Tue, Oct 4, 2011 at 6:47 AM, Marcus, Allan B al...@lanl.gov wrote: We want to use Nagios to monitor out puppet server so we can be notified if it goes down. We are using Fusion Passenger and Apache on Red Hat. Any suggestion for what and how to monitor? -- Thanks, Allan Marcus 505

[Puppet Users] Service issue/question

2011-10-03 Thread Sam
I have a puppetmaster module. In it is an 'ensure = running' declaration. Runs of puppetd fail on this with the following error: err: /Stage[main]/Puppet::Master/Service[puppetmasterd]/ensure: change from stopped to running failed: Could not start Service[puppetmasterd]: Execution of

Re: [Puppet Users] Service issue/question

2011-10-03 Thread Sam Roza
, at 6:50 AM, Sam wrote: I have a puppetmaster module. In it is an 'ensure = running' declaration. Runs of puppetd fail on this with the following error: err: /Stage[main]/Puppet::Master/Service[puppetmasterd]/ensure: change from stopped to running failed: Could not start Service

Re: [Puppet Users] Service issue/question

2011-10-03 Thread Sam Roza
The actual issue is that in version 2.6.9, the service is installed as puppetmaster in init.d instead of puppetmasterd. Easy fix, once I had my head in the right place. Thanks again. On Mon, Oct 3, 2011 at 12:23 PM, Sam Roza samr...@gmail.com wrote: I think that the issue is due to my puppet

Re: [Puppet Users] Service issue/question

2011-10-03 Thread Sam Roza
This was a module out of the puppetmaster printed book. I've found a few other typos as well...perhaps I should disregard it if it's not accurate. On Mon, Oct 3, 2011 at 7:27 PM, Todd Zullinger t...@pobox.com wrote: Sam Roza wrote: I think that the issue is due to my puppet installation (from

[Puppet Users] Multiple template fallbacks

2011-09-01 Thread Sam Morrison
= [ template(somefile-$fqdn.erb), template(somefile.erb), ] mode= 644, owner = root, group = root, } Which doesn't work. Is there a way to do this in puppet? Thanks, Sam -- You received this message because you are subscribed

Re: [Puppet Users] Multiple template fallbacks

2011-09-01 Thread Sam Morrison
Thanks Wolf, This works perfectly. Cheers, Sam -- 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/-/oayiKvapyZUJ. To post to this group, send email to puppet

[Puppet Users] AboutUs is Hiring a DevOps Engineer

2011-04-05 Thread Sam Goldstein
things stay sane and manageable, and to help us tackle some of the interesting problems we have ahead of us. More info at http://www.aboutus.org/careers Thanks, Sam Goldstein -- Director of Engineering AboutUs.org -- You received this message because you are subscribed to the Google Groups Puppet

[Puppet Users] Managing www-data group membership

2010-10-06 Thread Sam Minnee
Hi everyone, I have Puppet set up so that I can manage apache virtual hosts using a define. Each virtual host creates a user and a group, and I want the www-data user to be a member of all of the virtual host groups. Here is a simplified version of my set-up, demonstrating the issue: class

[Puppet Users] variable fact lookup

2009-09-21 Thread sam
hi is it possible to use a variable to name the fact I am after eg define config_net ($eth_name) { $mac = $macaddress_$eth_name } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Puppet Users group. To post

[Puppet Users] Re: Redmine not mailing puppet-bugs?

2009-08-28 Thread Sam Rowe
Doh disregard my post to -dev about this. --~--~-~--~~~---~--~~ 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

[Puppet Users] Re: Forcing puppetd ask puppemasterd for new changes

2009-07-03 Thread Sam Rowe
FYI puppetd --test or puppetd -t is shorter than all of that --one-time --no-daemonize etc stuff and is basically the same. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group,

[Puppet Users] Re: POLL: Migrating web changes across load-balanced servers

2009-06-15 Thread Sam Bashton
during the update. Regards, -- Sam Bashton - Bashton Ltd, Manchester, England Linux Consultancy / High Availability Systems www.bashton.com / 0161-424-9600 / DDI 0161-424-9611 signature.asc Description: Digital signature

[Puppet Users] Re: Restricted puppet?

2009-06-01 Thread Sam Rowe
On Mon, Jun 1, 2009 at 12:44 PM, Jon Stanley jonstan...@gmail.com wrote: I know that this sounds crazy and likely is :), but I was wondering if for application configuration management, there's a way to run puppet as a non-root user.  I know that lots of the types won't be available when not

[Puppet Users] Re: Experiences with RHN Satellite?

2009-03-13 Thread Sam Abed
how do you then download *all* the packages installed on the 400 or so servers from redhat, to seed your local repo ? On Mon, Mar 9, 2009 at 4:49 PM, Ohad Levy ohadl...@gmail.com wrote: I would argue that a one time effort to get proper repo locally, would be much more efficient than using a

[Puppet Users] port 8140 issue in ubuntu

2009-03-03 Thread Sam
I installed all required pkgs for Puppet other configurations are done. I have issues getting certificates from server. vm1 is server vm2 is client. In client I run, r...@vm2# puppetd --server vm-devserver-18.dev.s.vonagenetworks.net -- waitforcert 60 --test and I see,

[Puppet Users] Could not find server puppet - installation/configuration error

2009-02-12 Thread Sam Andre
Started the discussion in puppet users mailing list based on recommendation from luke. This discussion is to a follow up regarding bug#1955 Could not find server puppet - installation/configuration error. jamtur01's last recommendation: Rather than renaming things try the certname option (see

[Puppet Users] Re: Facter - the future - your input needed

2009-01-31 Thread Sam Rowe
Oh and one other thing about 'facter.d' it'd be cool if there was some way to say that a given fact (or set of facts) is cache-able. Perhaps your fact is resource intensive to discover and doesn't change much. It'd be cool to have a built-in facility in facter that says if you just booted, find

[Puppet Users] Re: how to update solaris packages without keeping local copies

2008-10-21 Thread Sam Rowe
On Thu, Oct 16, 2008 at 3:41 AM, martin [EMAIL PROTECTED] wrote: Richard, On Oct 16, 1:47 am, Richard Doty [EMAIL PROTECTED] wrote: I have a solaris package stored on a puppet server. I'd like to be able to maintain the package on a client system without having to also keep a copy of the