Re: [Puppet Users] Installing cloudprovisioner on windows

2013-01-15 Thread PuppetUser
So give me any other solution to install cloud provisioner tool to open source windows puppet. Also give me info of connecting puppet to AWS. I surfed a lot on youtube dint get any info. Please help me out. Regards PuppetUser On Friday, January 11, 2013 9:39:41 PM UTC+5:30, Josh Cooper wrote

[Puppet Users] Re: Puppet client unable to sign puppet master certificate..

2013-01-15 Thread DreamBig
Resolved the stupid issue... I just did not read the error message properly. It is complaining "Could not find class hosts".. Thanks, Rajeev On Jan 16, 11:32 am, DreamBig wrote: > Hi , > >   Need this help desperately > > 1) Cleaned certificates from master > 2) Cleaned ssl dir in agent > 3) On

[Puppet Users] Puppet client unable to sign puppet master certificate..

2013-01-15 Thread DreamBig
Hi , Need this help desperately 1) Cleaned certificates from master 2) Cleaned ssl dir in agent 3) On agent - I run - puppet agent -t --waitforcert 60 4) On master - I sign the agent. 5) Again - I run puppet agent -t I get the following error: /opt/puppet/lib/ruby/site_ruby/1.8/puppet/defaults

Re: [Puppet Users] Re: Announce: Puppet Dashboard 1.2.19 Available

2013-01-15 Thread Moses Mendoza
Hi Ellison, You're right! Thanks for pointing that out. I failed to update the VERSION file at the top of dashboard, which gets sourced for that link. Otherwise, this is indeed 1.2.19:) Moses On Tue, Jan 15, 2013 at 6:04 PM, Ellison Marks wrote: > Just updated and noticed that the version numbe

Re: [Puppet Users] Re: Using resource collectors with variables from the collected resource?

2013-01-15 Thread Peter Brown
Damn. Sorry dude I am not sure what else else to suggest. Your wrapper define may be the best way to go. Unless you can configure the user adding functions to use different home prefixes for a user based on group or something like that. The only other idea I can think of is setting up a symlink fro

[Puppet Users] Re: Announce: Puppet Dashboard 1.2.19 Available

2013-01-15 Thread Ellison Marks
Just updated and noticed that the version number at the top of the page in dashboard didn't bump, and it still lists 1.2.18 in /usr/share/puppet-dashboard/VERSION. This is on CentOS 6 from yum. On Tuesday, January 15, 2013 4:59:45 PM UTC-8, Moses Mendoza wrote: > > Puppet Dashboard 1.2.19 is now

[Puppet Users] Announce: Puppet Dashboard 1.2.19 Available

2013-01-15 Thread Moses Mendoza
Puppet Dashboard 1.2.19 is now available. This release of Puppet Dashboard addresses CVE-2013-0155. All users are strongly encouraged to update when possible. This vulnerability exposes ActiveRecord to unsafe query generation. More information on the vulnerability can be found here: http://cve.

[Puppet Users] Re: Using resource collectors with variables from the collected resource?

2013-01-15 Thread Richard Jacobsen
No, I tried that as well. Still reports the class of the collector and not the $name of the virtual resource. On Tuesday, January 15, 2013 10:12:18 AM UTC-8, Richard Jacobsen wrote: > > Hi everyone. An example is worth 1000 words, so here's one: > > In this example I would like the home direct

[Puppet Users] Puppet Enterprise hotfixes for ActiveRecord vulnerability [ CVE-2013-0155 ]

2013-01-15 Thread Moses Mendoza
Good day, A security vulnerability has been disclosed in Ruby on Rails, specifically in all versions of ActiveRecord, assigned CVE-2013-0155. An earlier Rails advisory of this vulnerability mistakenly stated that the version of ActiveRecord used in Puppet Enterprise was not affected. The vulnerabi

Re: [Puppet Users] Re: Version 2.6 Future Updates?

2013-01-15 Thread Peter Brown
On 16 January 2013 05:15, llowder wrote: > > > On Tuesday, January 15, 2013 10:53:55 AM UTC-6, Michael Hrivnak wrote: >> >> I am trying to determine how much longer, if at all, version 2.6 of >> Puppet Open Source will get security fixes. Any guidance? >> >> The only documentation I can find is t

Re: [Puppet Users] Using resource collectors with variables from the collected resource?

2013-01-15 Thread Peter Brown
On 16 January 2013 04:12, Richard Jacobsen wrote: > Hi everyone. An example is worth 1000 words, so here's one: > > In this example I would like the home directory to be overridden to > /testdir/me: > > @user { 'me': > ensure => present, > home => '/home/$title', > tag => 'userclass1' > }

[Puppet Users] Multiple class calls via dashboard

2013-01-15 Thread Michael Dodwell
Hi, I currently have puppet setup and backed into the dashboard and using ENC. I wish to control as much of the configuration of machines via the dashboard. However, I have a requirement to call a module/class multiple times and was wondering if this is possible? in a normal manifest I'd do

Re: [Puppet Users] Puppetdb will setting gc-interval to 0 disable it

2013-01-15 Thread Chuck
On Tuesday, January 15, 2013 3:19:29 PM UTC-6, Ken Barber wrote: > > So that looks like its taking ages ... some questions for you: > > * What version of Postgresql are you running and on what distro & > version exactly? > RHEL 6.3 Enterprise DB ppas-9.1.4 * Are you using the distros packages

[Puppet Users] Re: Array Comparison

2013-01-15 Thread Guy Heckman
John, That worked. Thank you very much for the thorough explanation. -- 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/-/f8DbMwR8z6sJ. To post to this group, s

Re: [Puppet Users] Puppetdb will setting gc-interval to 0 disable it

2013-01-15 Thread Ken Barber
So that looks like its taking ages ... some questions for you: * What version of Postgresql are you running and on what distro & version exactly? * Are you using the distros packages or someone elses? * Is autovacuum switched on at all (check your postgresql.conf)? * Do you know the last time the

Re: [Puppet Users] Puppetdb will setting gc-interval to 0 disable it

2013-01-15 Thread Chuck
I will work on setting up a puppetdb server I can put into debug mode. For now here is a "normal" GC run log output and my configuration files. Thanks, 2013-01-15 19:20:57,767 INFO [clojure-agent-send-off-pool-12] [cli.services] Starting database garbage collection 2013-01-15 19:26:40,383 WA

[Puppet Users] Couple of blog posts on puppet design

2013-01-15 Thread llowder
After reading recent posts by R.I. Pienaar [1] and Craig Dunn [2] I was inspired to not only refactor my puppet code, but also write about the process and one idea on how to combine these two patterns. I've currently completed parts 1 and 2, and plan on completing part 3 this week. Part 1 can

Re: [Puppet Users] Puppetdb will setting gc-interval to 0 disable it

2013-01-15 Thread Ken Barber
Hey Chuck, I've had a chat with my colleagues and they raised some concerns about your gc performance. I wouldn't mind drilling into that problem if thats okay with you? For starters - what are your settings looking like? In particular I'm interested in node-ttl-seconds and report-ttl-seconds. F

[Puppet Users] Re: Version 2.6 Future Updates?

2013-01-15 Thread llowder
On Tuesday, January 15, 2013 10:53:55 AM UTC-6, Michael Hrivnak wrote: > > I am trying to determine how much longer, if at all, version 2.6 of Puppet > Open Source will get security fixes. Any guidance? > > The only documentation I can find is this link, stating that 2.6 is > currently "a secur

[Puppet Users] Re: Puppet, Hiera and complex data structures...

2013-01-15 Thread jcbollinger
On Tuesday, January 15, 2013 4:34:19 AM UTC-6, Gavin Williams wrote: > > Morning all... > > Firstly, apologies for the length of this post, however I thought it would > be beneficial to fully explain what I'm trying to achieve. > > I've started using Hiera with Puppet 3.0, and must say I'm ver

[Puppet Users] Using resource collectors with variables from the collected resource?

2013-01-15 Thread Richard Jacobsen
Hi everyone. An example is worth 1000 words, so here's one: In this example I would like the home directory to be overridden to /testdir/me: @user { 'me': ensure => present, home => '/home/$title', tag => 'userclass1' } User <| tag == 'userclass1' |> { home => "/testhome/$title" } It

Re: [Puppet Users] Re: Access variables defined in defined type

2013-01-15 Thread jcbollinger
On Tuesday, January 15, 2013 4:56:13 AM UTC-6, Vladimir Rutsky wrote: > > > On Fri, Jan 11, 2013 at 6:14 PM, jcbollinger > > > wrote: > >> >> >> On Friday, January 11, 2013 4:45:49 AM UTC-6, Vladimir Rutsky wrote: >> >>> Can you suggest solution to my problem? >>> >>> >> >> Generally speaking,

Re: [Puppet Users] Including some resources only some of the time

2013-01-15 Thread nicolas vigier
On Tue, 15 Jan 2013, Brian Mathis wrote: > I haven't used them yet myself, but I think you might want to use a schedule: >http://docs.puppetlabs.com/references/latest/type.html#schedule This seems to be exactly what I was looking for. Thanks ! -- You received this message because you are su

Re: [Puppet Users] generate function not working within conditional?

2013-01-15 Thread Jakov Sosic
On 01/15/2013 04:58 PM, jcbollinger wrote: > That already seems pretty clear to me in the existing docs: > > Calls an external command on the Puppet master and *returns the results > of the command*. > (Emphasis added.) How would you suggest improving that? Hm, it's maybe only me, but result o

Re: [Puppet Users] Including some resources only some of the time

2013-01-15 Thread Brian Mathis
I haven't used them yet myself, but I think you might want to use a schedule: http://docs.puppetlabs.com/references/latest/type.html#schedule ❧ Brian Mathis On Tue, Jan 15, 2013 at 10:29 AM, nicolas vigier wrote: > Hello, > > I am using puppet on some servers to do various different things,

[Puppet Users] Recommendations for devlopment of a new provider

2013-01-15 Thread Drew Fisher
I'm working on a new provider for puppet 3.x and Solaris 11's dladm command. One of the subcommands is set-linkprop which is used to set various properties for networking links. The problem is there are dozens and dozens of properties that can be set depending on the type of link (physical or

[Puppet Users] Including some resources only some of the time

2013-01-15 Thread nicolas vigier
Hello, I am using puppet on some servers to do various different things, running puppet from crontab every 15 minutes, which is doing all the various tasks every 15 minutes. However some of the tasks are very resource intensive, but they wouldn't need to be done so often, they could be done once a

Re: [Puppet Users] ssh::auth and other ways of managing ssh keys

2013-01-15 Thread nicolas vigier
On Mon, 14 Jan 2013, Ashley Gould wrote: > > I've created a puppet-sshauth repo on github: > https://github.com/ashleygould/puppet-sshauth > > I would very much like to work with others on perfecting this > module. Management of keypairs is really useful. 2 improvements I > imagine are using h

[Puppet Users] Version 2.6 Future Updates?

2013-01-15 Thread Michael Hrivnak
I am trying to determine how much longer, if at all, version 2.6 of Puppet Open Source will get security fixes. Any guidance? The only documentation I can find is this link, stating that 2.6 is currently "a security-fixes only branch". http://projects.puppetlabs.com/projects/puppet/wiki/Release

[Puppet Users] Re: Array Comparison

2013-01-15 Thread jcbollinger
On Monday, January 14, 2013 9:57:54 AM UTC-6, Guy Heckman wrote: > > Pardon my newbish question, but is there a non-iterative way to compare > whether an array is a subset of another array? > > Something like: > > class scratchpad { > > *$config_ciphers = ['aes128-ctr' , 'aes192-ctr', 'aes256-

Re: [Puppet Users] Puppetdb will setting gc-interval to 0 disable it

2013-01-15 Thread Chuck
On Tuesday, January 15, 2013 9:55:48 AM UTC-6, Ken Barber wrote: > > > Well I currently have 7,000 nodes in my PuppetDB instance and 8 puppetdb > > servers in various geographic locations. The garbage collect seems to > be a > > pretty intensive operation on the Postgres DB server in the cur

Re: [Puppet Users] generate function not working within conditional?

2013-01-15 Thread jcbollinger
On Monday, January 14, 2013 10:38:33 AM UTC-6, Jakov Sosic wrote: > > > I guess a fix in the documentation of generate() function, explaining > what function returns to puppet DSL would be a good addition... > That already seems pretty clear to me in the existing docs: Calls an external comm

Re: [Puppet Users] Puppetdb will setting gc-interval to 0 disable it

2013-01-15 Thread Ken Barber
> Well I currently have 7,000 nodes in my PuppetDB instance and 8 puppetdb > servers in various geographic locations. The garbage collect seems to be a > pretty intensive operation on the Postgres DB server in the current design. Thats a shame to hear. What's the impact for you? I see from your

[Puppet Users] Re: Profiles, Hiera, and create_resources('class','...')

2013-01-15 Thread jcbollinger
On Monday, January 14, 2013 11:00:42 AM UTC-6, Eric Sakowski wrote: > > > [...] > OK, so given that I am a user of the apache module, and it is > parameterized already when I install it, for Puppet 3.0 then I could simply > drop create_resources call and Puppet 3 will automatically look it up i

Re: [Puppet Users] Dashboard/Site.pp interfunctionality

2013-01-15 Thread Art
Thank you for the answers. I have few follow up questions. If the Dashboard is being deprecated what is the Puppet Enterprise Console? Are these not the same? Am I misusing terminology? If the Puppet Enterprise Console have a different interaction with the site.pp file? On Friday, January

[Puppet Users] Facter and eth1

2013-01-15 Thread Dan White
I have one older server where the physical NIC port for eth0 won't hold the CAT5 cable in place, so I use the other NIC port, eth1, and have eth0 disabled/turned off Facts ipaddress and netmask accurately duplicate ipaddress_eth1 and netmask_eth1, but macaddress is a duplicate of macaddress_eth

[Puppet Users] plugin geppeto and metadata.json

2013-01-15 Thread GRANIER Bernard (MORPHO)
Hi, I try to use Maven to create module packaged in a tar.gz file. But with the geppeto plugin, the file metadata.json is managed automatically, how it is done ? I would like to generate the metadata.json before plugin-assembly execution. Cordialement, Bernard Granier CE Plateforme Système be

Re: [Puppet Users] Re: Announce: PuppetDB 1.1.0-rc4 now available

2013-01-15 Thread Eric Kissinger
must have been a problem with my download of rc4. rc5 worked without issue -Thanks On Thursday, January 10, 2013 12:20:16 PM UTC-6, Moses Mendoza wrote: > > On Thu, Jan 10, 2013 at 7:27 AM, Eric Kissinger > > wrote: > > > > > > The puppetdb-1.1.0-0.1rc4.el6.noarch.rpm package seems to ha

[Puppet Users] Pls do suggest a simple example for creating a class using manifests

2013-01-15 Thread yarlagadda ramya
Hi all, I have created two different manifests: 1) For moving a particular file from one directory to another using exec. 2)For renaming that same file using exec. Now can you please suggest me the syntax for creating a class which applies these two manifests?? In Modules, actually a very compl

Re: [Puppet Users] Re: Access variables defined in defined type

2013-01-15 Thread Vladimir Rutsky
On Fri, Jan 11, 2013 at 6:14 PM, jcbollinger wrote: > > > On Friday, January 11, 2013 4:45:49 AM UTC-6, Vladimir Rutsky wrote: > >> Can you suggest solution to my problem? >> >> > > Generally speaking, the Puppet way of approaching such problems is to have > all the relevant resources draw on the

[Puppet Users] Puppet, Hiera and complex data structures...

2013-01-15 Thread Gavin Williams
Morning all... Firstly, apologies for the length of this post, however I thought it would be beneficial to fully explain what I'm trying to achieve. I've started using Hiera with Puppet 3.0, and must say I'm very impressed soo far. It's handled the bulk of what I've thrown at it so far withou

[Puppet Users] module documentation

2013-01-15 Thread GRANIER Bernard (MORPHO)
Hi, I see that comments could be written : # my comment Or /* my coment */ But is there something like javadoc comments and tag ? Cordialement, Bernard Granier CE Plateforme Système bernard.gran...@morpho.com 01 58 11 32 51 From: puppet-users@googlegroups.com