[Puppet Users] Re: enablerepo option

2013-09-23 Thread Sneha More
Hi, Is there any problem with your yum command? I could not understand, why yum install is not working? Have you tried executing the same command manually? On Saturday, September 21, 2013 10:48:42 PM UTC+5:30, puppetstan wrote: A question, if in my Exec toto i use command = yum -y

[Puppet Users] leiningen version for PuppetDB

2013-09-23 Thread Ankit Mittal
Dear All, Can i use leiningen 1.7 for puppetDB. Thanks Ankit -- 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

[Puppet Users] I tried installing puppet on windows 7 32 bit machine but received an error as service 'puppet agent' (pe-puppet) failed to start.verify that you have sufficient privileges to start the

2013-09-23 Thread Swetha Meti
hi, I tried installing puppet on windows 7 32 bit machine but received an error as service 'puppet agent' (pe-puppet) failed to start.verify that you have sufficient privileges to start the services -- You received this message because you are subscribed to the Google Groups Puppet Users

[Puppet Users] Re: config print seems to be broken

2013-09-23 Thread Rahul Khengare
Hi Brandon, puppet config print option print the environment variable of [main] section only it is not overridden by another config block. Check the config block of environment variable present in puppet.conf file. Read following documentation of puppet on environment,

Re: [Puppet Users] leiningen version for PuppetDB

2013-09-23 Thread Ken Barber
Hi Ankit, Can i use leiningen 1.7 for puppetDB. I don't think so, at the very least we use profiles (not available in 1.7.x) and we have long since moved into the 2.x major revision for most of our development work. We are generally working against Leiningen 2.2.0 or greater these days, so I'd

[Puppet Users] Re: enablerepo option

2013-09-23 Thread puppetstan
Hi This configuration is not good if fusioninventory-agent is installed and puppet want to verify the latest version because yum command option is install and not update . This configuration is only good if fusioninventory-agent is not installed. exec { 'fusioninventory-agent': command =

[Puppet Users] Vagrant+Puppet using RVM to install Apache2+Passenger fails

2013-09-23 Thread Christian
Hi all, hope to be on the right place here.. I'm playing with Vagrant and Puppet for a small Apache2+Passenger Server above ubuntu-precise-32. I like to get this working for a small group of developers. I confess, I didn't read the whole documentation about puppet, but I've browsed the whole

[Puppet Users] Re: Execute Mono exe that depends on an environment variable

2013-09-23 Thread jcbollinger
On Friday, September 20, 2013 3:18:20 PM UTC-5, Derek Strickland wrote: I have a script that I execute to run a mono exe during a setup process. I would like to automate that with puppet but the exe depends on an environment variable being set or it will fail. My setup.sh file looks

[Puppet Users] Re: symlink creation using facter, but facter is nil at first run.

2013-09-23 Thread jcbollinger
On Friday, September 20, 2013 10:30:46 PM UTC-5, Frederiko Costa wrote: Hi all, I'm trying to find a better way to implement this, but I can't think of. I have a jdk module that requires to create a symlink to whatever version is the one installed. Say I install jdk-6u35, it will create

[Puppet Users] Re: Copy a /a/path/foo file from node1 to node2 in /another/path/bar

2013-09-23 Thread jcbollinger
On Monday, September 23, 2013 10:01:45 AM UTC-5, jcbollinger embarrassed himself with: do you intend that the destination node(s) obtain the fail directly from the source node I mean the file of course. There are two many variables [...] Ugh. too many, naturally. John -- You

[Puppet Users] Re: Copy a /a/path/foo file from node1 to node2 in /another/path/bar

2013-09-23 Thread jcbollinger
On Friday, September 20, 2013 10:10:13 PM UTC-5, François Lafont wrote: Just one precision... Le 21/09/2013 04:27, François Lafont wrote : Is it possible with Puppet to copy the file: /a/path/foo# -- in node-source from node-source to node-destination, but with a

[Puppet Users] Re: config print seems to be broken

2013-09-23 Thread Brandon Metcalf
OK, thanks. Based on the doc, it looks like if I have a host that acts as a master and agent and the [master] and [agent] sections contain different values for environment, then there is no way to get puppet config print environment to print the value from the [agent] section. On Monday,

Re: [Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-23 Thread jcbollinger
On Saturday, September 21, 2013 4:30:53 AM UTC-5, Robin Powell wrote: No, although I appreciate the attempt! [rlpowell@shell01 puppet3]$ find . -type f -name '*.pp' | xargs grep -P '[^\s\t!-~]' [rlpowell@shell01 puppet3]$ (that range covers all of visible ASCII, plus space and tab)

Re: [Puppet Users] Re: config print seems to be broken

2013-09-23 Thread Dan White
It still works this way: [root ~]# puppet agent --configprint ssldir /var/lib/puppet/ssl [root ~]# puppet master --configprint ssldir /var/lib/puppet-master/ssl as opposed to: [root ~]# puppet config print ssldir /var/lib/puppet/ssl “Sometimes I think the surest sign that intelligent

[Puppet Users] Re: Facter value at Catalog compilation

2013-09-23 Thread jcbollinger
On Thursday, September 19, 2013 4:23:15 PM UTC-5, Frederiko Costa wrote: Hi, I've got a facter shipped with a custom module. This factor returns the version of a determined package. It returns nil if the package is not installed yet. When running for the first time, assuming the

Re: [Puppet Users] questions about verifying template paths and variables with rspec

2013-09-23 Thread Ashley Gould
On Wed, Sep 18, 2013 at 09:52:27AM -0700, Corey Osman wrote: Hi, How can I verify the template exists in the given path? Example, Given the following in my manifest: if $somevar == 'true' { $templatefile='mymodule/mytemplate.xml.erb' } else {

[Puppet Users] USing forman 1.2 + puppet 3.0

2013-09-23 Thread shyam sundar Keshari
Hi All, I have install saz/ssh module .Now I have to use file like sshd_config to configure puppet client and issue is that I have to use different sshd_config for each host and similarly different ntp file for most of host . In foreman I can see the option for example, force same

[Puppet Users] module customization + using foreman 1.2 + puppet 3.0

2013-09-23 Thread shyam sundar Keshari
Hi All, I have installed ssh module by command: puppet module install saz/ssh and it's configured for production server . But I am not able to configure sshd_config file for each host separately . How can I define specific source file for specific host using foreman Thanks in Advance --

[Puppet Users] Re: Puppet nodes unable to send report to Puppet Master running under Passenger

2013-09-23 Thread Ellison Marks
Anything showing up in your logs? On Friday, September 20, 2013 2:17:32 PM UTC-7, F. Y. wrote: Hello all, I recently switched to running puppet master using Passenger. However, I am seeing agents unable to send reports after a bunch of 'master' processes starting to accumulate and eat all

[Puppet Users] One node and several environments

2013-09-23 Thread kay kay
I would like to use additional puppet environment for fast response configuration and run it every minute. For that I've created new light environment with only one module. But I don't know how to configure puppet master manifests for one node with two environments? Is it possible? I've found

[Puppet Users] Module team update: 2013-09-04 - 2013-09-23

2013-09-23 Thread Ashley Penney
I am terrible at getting these out on schedule. Another busy month with a whole bunch of stuff going on, internally and externally. The main highlights of the month are the recently rewritten puppetlabs-mysql and puppetlabs-postgresql modules. Both have had huge overhauls internally and are now

[Puppet Users] Re: Using file and mount more efficiently

2013-09-23 Thread Forrie
If Puppet were to manage /home/something, an NFS mount, and ensure it's mounted... it would automatically look to see if both /home and / were also mounted? In most cases, on our older systems, /home is actually just on / -- a full partition that sits on a raid5 layer. So, at best, Puppet

[Puppet Users] Re: config print seems to be broken

2013-09-23 Thread John Julien
On Monday, September 23, 2013 10:02:18 AM UTC-5, Brandon Metcalf wrote: OK, thanks. Based on the doc, it looks like if I have a host that acts as a master and agent and the [master] and [agent] sections contain different values for environment, then there is no way to get puppet config

Re: [Puppet Users] I tried installing puppet on windows 7 32 bit machine but received an error as service 'puppet agent' (pe-puppet) failed to start.verify that you have sufficient privileges to start

2013-09-23 Thread Josh Cooper
On Mon, Sep 23, 2013 at 1:05 AM, Swetha Meti swetha.m...@gmail.com wrote: hi, I tried installing puppet on windows 7 32 bit machine but received an error as service 'puppet agent' (pe-puppet) failed to start.verify that you have sufficient privileges to start the services -- You received

Re: [Puppet Users] Issue with starting puppetmaster service

2013-09-23 Thread Denmat
Hi, Start puppet master in --nodaemonize mode puppet master --nodaemonize --verbose (or --debug) That might give you an idea of your problems. Den On 23/09/2013, at 3:32, V vijaybat...@gmail.com wrote: HI I have installed puppet on a RHEL 6.x machine. When I try to start the puppet

[Puppet Users] augeas question

2013-09-23 Thread Greg Coit
Hello, I'm trying to learn how to use augeas in puppet. One of the packages we have puppet installing is vsftpd. Rather than putting the vsftpd conf file in puppet (in case the config file is updated by the upstream maintainers) I'd like to use augeas to make sure the correct lines exist in

Re: [Puppet Users] augeas question

2013-09-23 Thread Nathan Valentine
Greg, I believe resource ini_setting would be appropriate here but I do understand the desire to learn about Puppet + Augeas. augeas { 'vsftpd.conf': context = '/etc/vsftpd/vsftpd.conf', changes = [ 'set anonymous_enable=NO', 'set chroot_local_user=YES', ], require =

Re: [Puppet Users] One node and several environments

2013-09-23 Thread Denmat
Hi, In this case I would call puppet from cron and pass the environment var there. There maybe better alternatives. Den On 24/09/2013, at 4:03, kay kay kay.d...@gmail.com wrote: I would like to use additional puppet environment for fast response configuration and run it every minute. For

Re: [Puppet Users] augeas question

2013-09-23 Thread Greg Coit
Nathan, Thanks for the response - I did not know about inifile. I unfortunately seem to be having trouble with ini_setting - the following causes a new line to be added every time puppet gets run: ini_setting { 'anonymous_enable': path= '/etc/vsftpd/vsftpd.conf', setting =

Re: [Puppet Users] Using file and mount more efficiently

2013-09-23 Thread Forrie
I've been playing around with this code and have encountered several errors. As noted below, there is going to be an issue with /home; however, I thought I could get around that by declaring that /first/, which won't work -- as it complains about duplicate declarations of /home. class

[Puppet Users] Announce: Puppet 3.3.1-rc1 Available

2013-09-23 Thread Moses Mendoza
**Release candidate:** Puppet 3.3.1 has not yet been released; it entered its first release candidate on September 23, 2013. 3.3.1 is to be a bug fix release in the Puppet 3.3 series. The focus of the release is fixing backwards compatibility regressions that slipped in via the YAML deprecations

[Puppet Users] error when create database mysql with puppetlabs-mysql (v1.0.0)

2013-09-23 Thread Eduardo Terzella
Good evening, folks. Using the module's puppet forge to create a database I get an error below. Could you help me? *puppetlabs-mysql (v1.0.0) * *class mysql_default {* * * *mysql::db { 'mydb':* * user = 'root',* * password = '123456',* * host = 'localhost',* *

[Puppet Users] Re: Puppet nodes unable to send report to Puppet Master running under Passenger

2013-09-23 Thread Forrie
I ran into similar problems before, which ended up being the permissions of the rack config.ru file -- it needs to be owned and readable by the puppet user -- check that? Mine was in a path like /etc/puppet/rack/puppetmaster/config.ru. -- You received this message because you are