Re: [Puppet Users] Module critique

2012-09-06 Thread Ryan Coleman
On Thu, Sep 6, 2012 at 2:48 PM, Andreas Ntaflos wrote: > Well-designed modules are rare and take time and experience to create. I > myself have written around 60 modules over the past nine months but I > would never dare publish any of them on Puppetforge or even Github. It's > hard to make a modu

Re: [Puppet Users] Set http_proxy environment variable for package install?

2012-09-06 Thread Ryan Coleman
On Thu, Sep 6, 2012 at 9:40 PM, Victor Hooi wrote: > Is there another way to do it? Hi Victor, Try setting http_proxy_host and http_proxy_port in your puppet.conf http://docs.puppetlabs.com/references/latest/configuration.html#httpproxyhost You'll have to configure your package providers for t

Re: [Puppet Users] access exported resources in template

2012-09-06 Thread Luke Kanies
Wow, talk about a blast from the past. I don't get a lot of replies to 3 year old email. :) What happens when you do this? It looks like it should basically work, although I'd use 'resources' instead of 'vertices', I think. What version is this? On Sep 6, 2012, at 10:14 AM, ctrlc-root wrot

[Puppet Users] Set http_proxy environment variable for package install?

2012-09-06 Thread Victor Hooi
Hi, I'm attempting to use Puppet with Vagrant to setup some boxes. My desktop is sitting behind a corporate HTTP proxy. This is my current (rather Spartan) manifests file: package { "python-pip": > ensure => "installed" > } > package { "build-essential": > ensure => "installed" > } When I

[Puppet Users] Re: [Job Listing]: Infrastructure Systems Engineer - San Franscisco

2012-09-06 Thread denmat
On Friday, September 7, 2012 11:02:54 AM UTC+10, denmat wrote: > > Hi people, here is a job that we have open in the US. > > *First I want to stress:* > > *You must be a US Citizens to be eligible to apply.* > The official description is below, but here is my take on it. > > We run Linux where p

[Puppet Users] [Job Listing]: Infrastructure Systems Engineer - San Franscisco

2012-09-06 Thread denmat
Hi people, here is a job that we have open in the US. *First I want to stress:* *You must be a US Citizens to be eligible to apply.* The official description is below, but here is my take on it. We run Linux where possible, but we have some Windows servers where needed. We use Puppet and Cap

[Puppet Users] Re: PuppetDB Replication

2012-09-06 Thread Nick Lewis
On Thursday, September 6, 2012 11:03:13 AM UTC-7, tsuave wrote: > > I have puppetdb setup on our puppetmaster with a postgreSQL DB setup on > two servers db1 and db2. I am trying to setup replication between db1 and > db2, using rubyrep. Rubyrep can copy the data but not the schema. I tired > to

Re: [Puppet Users] Puppet smoking crack?

2012-09-06 Thread Stefan Schulte
On Wed, Sep 05, 2012 at 03:01:42PM -0700, Douglas Garstang wrote: > On Wed, Sep 5, 2012 at 2:23 PM, Christopher Wood > wrote: > > (inline) > > > > On Wed, Sep 05, 2012 at 02:04:59PM -0700, Douglas Garstang wrote: > >> Couple of questions. Firstly, what's the plugin error about? > >> > >> puppet ag

Re: [Puppet Users] Module critique

2012-09-06 Thread Andreas Ntaflos
On 2012-09-04 17:26, Bai Shen wrote: > I've gotten an install of solr working, but it's pretty much a hack job > at the moment. If y'all could give me your thoughts on how to improve > my setup, I'd appreciate it. apache-tomcat is an rpm of Tomcat 7 that > references the oracle jdk instead of ope

Re: [Puppet Users] PuppetDB Replication

2012-09-06 Thread Florian Koch
hi, hm why do you not using the postgresql replication? (wal sync with versions prior to 9 and streaming replication with 9+) regards flo Am 06.09.2012 um 20:03 schrieb tsuave : > I have puppetdb setup on our puppetmaster with a postgreSQL DB setup on two > servers db1 and db2. I am

Re: [Puppet Users] openstack:all with just 1 network interface.

2012-09-06 Thread Dan Bode
On Wed, Sep 5, 2012 at 11:48 PM, neel wrote: > Hi, > > From https://github.com/puppetlabs/puppetlabs-openstack I can understand > that we need to create br100 bridge for case when there is just 1 network > interface. > From readme it not very clear what should be private_interface => 'eth1' > set

Re: [Puppet Users] Re: Module critique

2012-09-06 Thread Garrett Honeycutt
On 9/6/12 7:08 PM, Bai Shen wrote: > SOLR is a search engine. It requires a data directory to store it's > index files. Since they can grow quite big, I was putting them on / and > making it the largest partition. What would be the reasoning behind > putting it in each of the locations you menti

[Puppet Users] PuppetDB Replication

2012-09-06 Thread tsuave
I have puppetdb setup on our puppetmaster with a postgreSQL DB setup on two servers db1 and db2. I am trying to setup replication between db1 and db2, using rubyrep. Rubyrep can copy the data but not the schema. I tired to dump the schema of a DB after puppet has connected to use as a template t

Re: [Puppet Users] puppet and launchd provider and "ensure => running" not working

2012-09-06 Thread Clay Caviness
Could be related to https://projects.puppetlabs.com/issues/16271 I think something broke in the launchd provider somewhere... On Sat, Sep 1, 2012 at 7:28 PM, kegstand wrote: > I don't think "ensure => running" for a service works. > > puppetmaster: 2.7.19 > puppet on victim machine: 2.7.19 >

Re: [Puppet Users] Re: Facter does not deliver ip addresses

2012-09-06 Thread Daniel Pittman
On Thu, Sep 6, 2012 at 1:01 AM, Axel Bock wrote: > I have no idea what my init scripts are doing actually :) . I am just > wondering why nothing shows up when *I* run puppet agent --test. > And it still confuses me that this seems to be a requirement (which I could > not find anywhere ... not that

Re: [Puppet Users] Refresh not working with launchd service provider?

2012-09-06 Thread Clay Caviness
I filed http://projects.puppetlabs.com/issues/16271 On Tue, Aug 28, 2012 at 7:29 PM, Clay Caviness wrote: > I'm seeing the same thing. I can't actually recall the last time I > verified it was working, but it _was_ at some point in the past. > > Currently it's not, though, at least with puppet 2

Re: [Puppet Users] access exported resources in template

2012-09-06 Thread ctrlc-root
The resource[:property] method doesn't seem to work. I'm pretty new with puppet and only just learned ruby, so I was hoping someone could perhaps just point me in the right direction. Here's what I've got so far: <% scope.compiler.catalog.vertices.each do |resource| -%> <% if resource.type == "F

Re: [Puppet Users] Re: minor change in inkling/postgresql – PostgreSQL

2012-09-06 Thread Chris Price
Thanks or the feedback, Jeremy. Knowing that there are folks out there who would find it useful helps me to prioritize :) I still have this on my to-do list, and hope to get a chance to work on it sometime in the next week or so. I'll send another response to this thread as soon as I do. On

Re: [Puppet Users] Re: Module critique

2012-09-06 Thread Bai Shen
Thanks for the comments. My responses are below. > class solr { > > > Since Package['apache-tomcat'] is apparently declared in a different > class, your should 'include' that class here. > > Will do. I hadn't thought about that. > > service { 'iptables' : > ensure =>

[Puppet Users] Re: Puppet master cert names

2012-09-06 Thread Bai Shen
Turned out the difference was that I had not configured a domain for the machine. The dhcp server had been providing a domain. Once I added a domain to my machine, everything worked with the static ip. On Thu, Sep 6, 2012 at 9:27 AM, Bai Shen wrote: > When I did my initial testing, I was runni

[Puppet Users] puppetlabs-nginx: manifest change does not always result in config change

2012-09-06 Thread Duncan Hutty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm not sure, but I think I've come across a bug in the puppetlabs-nginx module. Changing the manifest does not always change the resulting nginx config. Here's a fairly minimal example, if I have: node foo { nginx::resource::vhost { 'foo.exam

[Puppet Users] Re: QUERY : no resources for remote admin?

2012-09-06 Thread jcbollinger
On Wednesday, September 5, 2012 4:35:45 PM UTC-5, am-aaron wrote: > > hello Jenner: > > thank you. > > without intending to be rude or scornful: using MCollective? > Meaning that you will be at least scornful, and we're supposed to let it slide? I'd rather you just be scornful than disingenuo

[Puppet Users] puppet bug in File selector ?

2012-09-06 Thread Fabrice Bacchella
I tried to conditionally run etckeeper at the end of a puppet run. For that I defined the following class : class os::etckeeper::commit { $cmd = "$operatingsystem" ? { 'debian' => '/usr/sbin/etckeeper', default => '/usr/bin/etckeeper', } exec {"etckeeper commit":

Re: [Puppet Users] The rewritten Puppet 2.7 language reference is live

2012-09-06 Thread Daniel Johnson
> And of course, use the navigation in the left sidebar to jump between pages. Next/Back links at the top, and bottom of each page would be nice for reading through the whole manual. Would save a little bit of effort over scrolling back up to the contents after finishing reading a page. -- You r

[Puppet Users] openstack:all with just 1 network interface.

2012-09-06 Thread neel
Hi, >From https://github.com/puppetlabs/puppetlabs-openstack I can understand that we need to create br100 bridge for case when there is just 1 network interface. >From readme it not very clear what should be private_interface => 'eth1' set to. Do We need to set it to eth0 or leave it to defau

[Puppet Users] Trying to add Domain user to a Local group issue

2012-09-06 Thread mparrad
Hi guys, I'm trying to add a domain user to the local group Administrators of windows, and I got this error: err: /Stage[main]/Userwindows/Group[Administrators]/members: change from AdministratorFarm AdminsDomain AdminsDomain Adminsbandrewsmruizmparra to DOMAIN\user failed: Add OLE error co

[Puppet Users] Puppet master cert names

2012-09-06 Thread Bai Shen
When I did my initial testing, I was running puppet on a network with an existing dhcp server. The puppet master received it's ip from that server. On the puppet master I ran my own dhcp server with next-server configured to point to the puppet master and to deny unknown hosts. This allowed me t

Re: [Puppet Users] Re: puppetlsabs/puppet-mysql error: access denied for user root

2012-09-06 Thread Erik Dalén
It is probably because $HOME isn't set properly when it is running as an agent. There is an open pull request to fix this: https://github.com/puppetlabs/puppetlabs-mysql/pull/92 On 6 September 2012 15:15, Luca Gioppo wrote: > Ok problem solved > Evidently pupped uses the /etc/my.cfg to get the pa

Re: [Puppet Users] Is there a puppet module for tomcat and apache

2012-09-06 Thread Bai Shen
I was not able to get any of the puppet modules for tomcat to work. I finally ended up rolling my own to use the oracle jdk and tomcat 7. On Wed, Sep 5, 2012 at 10:33 AM, JGonza1 wrote: > Is there a puppet module for tomcat and another one for apache? > > -- > You received this message because

[Puppet Users] Re: puppetlsabs/puppet-mysql error: access denied for user root

2012-09-06 Thread Luca Gioppo
Ok problem solved Evidently pupped uses the /etc/my.cfg to get the password to access to the DB This info is not written down in the puppet-mysql template (I believe that few people use the database creation of the module). Also there is a bit of mess right now on the writing of that file it seem

[Puppet Users] puppetlsabs/puppet-mysql error: access denied for user root

2012-09-06 Thread Luca Gioppo
On a second run of puppet after adding the mysql::db is not possible to create the db getting the error below class { 'mysql::server': config_hash => {root_password => 'changeme',} } mysql::db { 'mydatabase': user => 'myapp1', password => 'supersecret', hos

Re: [Puppet Users] Puppet smoking crack?

2012-09-06 Thread Felix Frank
On 09/05/2012 11:04 PM, Douglas Garstang wrote: > file { > '/var/lib/nagios3/rw': > owner => 'nagios', > group => 'www-data', > mode => '0750'; > } > > The fifo file is IN the rw directory Perhaps an errant File { recurse => true } or similar somew

Re: [Puppet Users] Re: Facter does not deliver ip addresses

2012-09-06 Thread Axel Bock
I have no idea what my init scripts are doing actually :) . I am just wondering why nothing shows up when *I* run puppet agent --test. And it still confuses me that this seems to be a requirement (which I could not find anywhere ... not that I looked, though :) for a command line tool which usua

[Puppet Users] Re: Facter does not deliver ip addresses

2012-09-06 Thread Joseph Mitchell Magen
I'm on a fresh install of Fedora 17 and using Factor 1.6.11 and Puppet 2.7.19. [root@localhost ~]# ifconfig -a lo: flags=73 mtu 16436 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 0 (Local Loopback) RX packets 18029 by