[Puppet Users] Re: dashboard groups

2013-07-15 Thread Klavs Klavsen
Den onsdag den 10. juli 2013 12.32.07 UTC+2 skrev Salty Old Cowdawg: > > Is there a global variable (or variables) that get set when a group gets > defined in dashboard? What I'm trying to do is in a template have a > conditional such that if a host is in one group do "this" and if not in > t

Re: [Puppet Users] Re: Module team update: 2013-07-07 - 2013-07-12

2013-07-15 Thread David Schmitt
On 2013-07-13 20:26, Alessandro Franceschi wrote: Wow, that's what I call a direct approach, pushing a PR directly on puppet code to set "standards de facto"... wonder what some persons on this list would say about that (John?). I still think that trying to find a shared agreement on naming stand

[Puppet Users] Puppet run fails with service, succeeds with "puppet agent -t"

2013-07-15 Thread cko
hi everybody, im trying to install a package on a windows server host. my source parameter looks like this: $package_filename = "check-mk-agent-1.2.3i1.exe" $package_name = "Check_MK Agent 1.2.3i1" package { "$package_name": ensure => installed, prov

[Puppet Users] Re: Permission problem on puppet master

2013-07-15 Thread Piotr Jasiulewicz
Hi, just bumping this, still looking and still have a problem, anyone any clues? Thanks, Piotr W dniu piątek, 12 lipca 2013 17:44:41 UTC+1 użytkownik Piotr Jasiulewicz napisał: > > Hi, > > having some problems running puppet: > > root@puppet:/etc# puppet master --debug --verbose --no-daemonize

Re: [Puppet Users] username/password combo for custom provider (couchbase)

2013-07-15 Thread Jakov Sosic
On 07/13/2013 06:43 PM, Nan Liu wrote: > Puppet::Type.newtype(:couchbucket) do > ... > newparam(:transport) do > defaultto 'couch' > end > end > > This should allow a one time specification of username password for all > resources: > > transport { 'couch' > username => ... > password

[Puppet Users] Re: ERB Template Newb Question

2013-07-15 Thread jcbollinger
On Friday, July 12, 2013 5:57:49 PM UTC-5, towen27 wrote: > > I'm trying to write my first puppet template, but I am running into some > issues. The following is my template: > > *# Managed by Puppet* > *CONFIG_FILE=/etc/rabbitmq/rabbitmq* > *<% if @rabbitmq_port != 'UNSET' -%>* > *NODE_PORT=<%=

Re: [Puppet Users] The handy Grail of Modules Standards

2013-07-15 Thread jcbollinger
On Sunday, June 30, 2013 10:21:44 PM UTC-5, Ryan Coleman wrote: > > I'll admit that this is my Forge biased view of things, but I'm working > towards modules that are reusable, interoperable and introspectable. It > would help me contribute to the discussion if we could hammer out whether > we

Re: [Puppet Users] The handy Grail of Modules Standards

2013-07-15 Thread Alessandro Franceschi
Hi Ryan Personal and alternative time priorities and availability surely influence the flow of discussion and I definitively have to understand that better in the cases when I've some free time and others not, so sorry everybody for the insistence, and consider the pings about the matter as a wa

Re: [Puppet Users] Puppet run fails with service, succeeds with "puppet agent -t"

2013-07-15 Thread Josh Cooper
On Mon, Jul 15, 2013 at 2:53 AM, cko wrote: > hi everybody, > > im trying to install a package on a windows server host. my source > parameter looks like this: > > $package_filename = "check-mk-agent-1.2.3i1.exe" > $package_name = "Check_MK Agent 1.2.3i1" > > package { "$package_na

[Puppet Users] facter 1.6.18 tarball has a dangerous mac preflight script

2013-07-15 Thread Clay Caviness
The facter 1.6.18 tarball has many issues. First, the ext/osx/createpackage.sh script still uses packagemaker, which is deprecated. And even if it used that, there are a few references to files in the now-deleted conf/osx/ directory. So it's pretty difficult to create a Mac pkg from this, but afte

Re: [Puppet Users] Re: undefined method each for #

2013-07-15 Thread Josh Cooper
On Thu, Jul 11, 2013 at 2:34 PM, Greg Chavez wrote: > Removing ruby1.9.1 fixed the problem. > > On Thu, Jul 11, 2013 at 5:22 PM, Greg Chavez > wrote: > > I run puppet 3.2.2 on about 500 RedHat 5/6 systems. I have about 15 > > Ubuntu servers that run OpenStack; today I added the stdlib module to

Re: [Puppet Users] facter 1.6.18 tarball has a dangerous mac preflight script

2013-07-15 Thread Matthaus Owens
Clay, I've opened a pull to address this issue. We have long since stopped using the createpackage.sh task internally for building apple packages and instead use our shared rake tasks. Specifically, `rake package:bootstrap` followed by `rake package:apple` is how we build packages internally for re

Re: [Puppet Users] PUPPETDB and pgpool II

2013-07-15 Thread Robert Bachmann
Well from the command line I can issue SQL against the puppetdb database (via pgpool) and it returns fine. I will try the caching setting in the next comment first and see if the problem persists , thanks for the reply!! On Friday, July 12, 2013 1:41:43 PM UTC-4, Ken Barber wrote: > > Looks lik

Re: [Puppet Users] username/password combo for custom provider (couchbase)

2013-07-15 Thread Jakov Sosic
On 07/15/2013 01:54 PM, Jakov Sosic wrote: > OK, I will basically do something like this, but I will implement my own > transport-alike resource until you guys standardize this :) OK, I'm having a big problem ... How can I get the values from the other resource? For example: couchconnection { '

Re: [Puppet Users] Packages on fedora19

2013-07-15 Thread Justin Brown
Michael, Excellent work. No problems so far. Thanks, Justin On Sat, Jul 13, 2013 at 6:12 PM, Michael Stahnke wrote: > Fedora 19 is now up on yum.puppetlabs.com. > > As a word of caution, this is the first distro to adopt Ruby 2.0, so there > could be some bugs in a few spots. Please file if yo

Re: [Puppet Users] username/password combo for custom provider (couchbase)

2013-07-15 Thread Jakov Sosic
On 07/15/2013 07:55 PM, Jakov Sosic wrote: > For example: > > couchconnection { 'default': > username => 'admin', > password => 'admin', > } > > couchbucket { 'test': > ramsize=> '64', > connection => Couchconnection['default'], > } Damn, even my autorequire isn't working properly..

Re: [Puppet Users] puppetlabs-ntp template discussion

2013-07-15 Thread David Schmitt
On 2013-07-10 19:57, Ashley Penney wrote: Hi guys, As I mentioned in a previous email I've refactored ntp and released a 1.0.0 release candidate. There's one outstanding "flaw" remaining that's bothering me and I wanted to solicit opinions on the list. We currently maintain a template per distri

Re: [Puppet Users] username/password combo for custom provider (couchbase)

2013-07-15 Thread Jakov Sosic
On 07/15/2013 08:37 PM, Jakov Sosic wrote: > And this is part of couchbucket type: > > newproperty(:connection) do > desc 'Connection parameters for administrating Couchbase.' > defaultto 'couch' > end > > autorequire(:couchconnection) do > self[:connection] > end Hmm, autor

[Puppet Users] Announce: Puppet 3.2.3 Available

2013-07-15 Thread Moses Mendoza
3.2.3 is a bugfix release of the Puppet 3.2 series. It fixes some Windows bugs introduced in 3.2.0, as well as a few performance problems and miscellaneous bugs. === ## Puppet 3.2.3 Downloads ## === Source: https://downloads.puppetlabs.com/puppet/puppet-3.2

Re: [Puppet Users] username/password combo for custom provider (couchbase)

2013-07-15 Thread Nan Liu
On Mon, Jul 15, 2013 at 4:54 AM, Jakov Sosic wrote: > > OK, I will basically do something like this, but I will implement my own > transport-alike resource until you guys standardize this :) > Disclaimer, I don't work at Puppet Labs anymore, and this will be a personal project as time permits. T

Re: [Puppet Users] apache restart fails

2013-07-15 Thread Pete Brown
Hi. I would recommend you use reload for apache restarts. Reload does a config check before the reload and if there is an issue it won't reload the config. I am also wondering if you have you had a look at the puppetlabs/apache module on puppet forge? It does just about everything you will need to

Re: [Puppet Users] 3.2.2 on CentOS 6.3, and "Did not receive certificate"

2013-07-15 Thread Pete Brown
On 12/07/2013 4:45 AM, "kegstand" wrote: > > You should be running puppet version 2 clients with puppetmaster version 2. > You should be running puppet version 3 clients with puppetmaster version 3. Actually puppet 2.x nodes will talk to a puppet 3.x master. As long as the puppet master is equal

[Puppet Users] Re: puppetdb API v2 is not working for me

2013-07-15 Thread watchman
anybody got any similar experience, please help me. Or if anybody got any sql query to pull the details of all the resources on an ode, that also will work for me. thanks so much watchman On Monday, July 15, 2013 3:42:02 PM UTC+10, watchman wrote: > > hi folks, > > I am trying to use puppet