[Puppet Users] package installation failure

2013-01-29 Thread GRANIER Bernard (MORPHO)
Hi, On CentOS, I try to install a package, since the yum server is not configured, the installation failed. In dashboard, I have the following message : change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install java-1.6.0-openjdk' returned 1: Error: Nothing to do

Re: [Puppet Users] Puppet issues

2013-01-29 Thread linuxhack2012
Hi, Somehow I got it working with the below config, cat /etc/puppet/manifests/classes/sysctl.pp class sysctl::config { Class['sysctl::config'] - Sysctl::Entry | | file { '/etc/sysctl.conf': ensure = present, mode = '0644', owner = 'root', group = 'root', }

Re: [Puppet Users] Puppet issues

2013-01-29 Thread linuxhack2012
Hi, I find another one method but it doesn't work :( https://redmine.koumbit.net/projects/puppet-sysctl/repository/diff?rev=80ca84b00e9942e33f18444150ff70e3b4d792fbtype=inline Would it be possible to make this work? -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: How to collect hostnames or host ips

2013-01-29 Thread Luke Bigum
Hi Dusty, On Tuesday, January 29, 2013 2:30:14 AM UTC, Dusty Doris wrote: I'd like to be able to collect all the hostnames (fqdn) or ips of certain hosts to be used in setting up firewall rules. I'd like to search for hosts that have included a particular class, perhaps by simply setting a

[Puppet Users] Puppet Site.pp hierarchy (multi-tenant) question

2013-01-29 Thread jim
Hello all, I was wondering if someone could please help or explain the best approach to setting up puppet as our first requirement is to support multi-tenant within our company what I mean by this is we have different teams supporting different O/S or the same O/S but different

Re: [Puppet Users] How to collect hostnames or host ips

2013-01-29 Thread Ohad Levy
On Tue, Jan 29, 2013 at 4:30 AM, Dusty Doris du...@doris.name wrote: I'd like to be able to collect all the hostnames (fqdn) or ips of certain hosts to be used in setting up firewall rules. I'd like to search for hosts that have included a particular class, perhaps by simply setting a tag

Re: [Puppet Users] Thoughts on roles/profiles class paradigm

2013-01-29 Thread jim
Hello Craig, I was wondering if someone could please help or explain the best approach to setting up puppet as our first requirement is to support multi-tenant within our company what I mean by this is we have different teams supporting different O/S or the same O/S but different

[Puppet Users] Re: Weird problem realizing exported resources

2013-01-29 Thread MCZ
That is very interesting insight, indeed I was confusing resource ordering with parsing order although none of the proposed solutions worked for me, anyway, thanks for making a good point! On Thursday, 24 January 2013 20:43:32 UTC, jcbollinger wrote: On Thursday, January 24, 2013 9:20:23 AM

[Puppet Users] New Module - NetApp Storage support

2013-01-29 Thread Gavin Williams
Afternoon all Thought I'd drop a quick message through to highlight a new module that I've just released to the Forge... The module is fatmcgav/netapphttps://forge.puppetlabs.com/fatmcgav/netapp/0.1.0, and its purpose is to allow Puppet to manage NetApp storage devices using Puppet's

[Puppet Users] Puppet service

2013-01-29 Thread Mamta Garg
HI All, Can any anyone please help me with attached screenshot. Actually i am not able to lauch puppet dashboard and when i have tried to running below command ,getting error. puppet resource service puppet ensure=running enable=true -- Thanks and Regards, Mamta Garg -- You received this

Re: [Puppet Users] All nodes are showing unresponsive

2013-01-29 Thread Mamta Garg
I have reboot Agent master machine and now not able to lauch puppet dashboard. Canany one help? On Mon, Jan 28, 2013 at 4:46 PM, James Sweeny jswe...@puppetlabs.comwrote: I should note also that the Console determines the time a node last submitted a report based on the agent's timestamp. If

[Puppet Users] Cron job based on gateway

2013-01-29 Thread Balasubramaniam Natarajan
Hi Is there a way for puppet to create cron job on each of my node based on my gateway's IP ? bala@bala-desktop:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.0.2.00.0.0.0 255.255.255.0 U 1 0

[Puppet Users] Reusable Puppet config for Vagrant

2013-01-29 Thread Brian Lalor
I took an hour this morning to document how I use Vagrant and Puppet together to provision development VMs as well as more production-like systems. This may be entirely elementary to folks who are more fluent with Puppet, but this is an example I thought was lacking.

Re: [Puppet Users] Referencing a variable from one class in another

2013-01-29 Thread jcbollinger
On Monday, January 28, 2013 11:17:03 AM UTC-6, Calvin Walton wrote: On Mon, 2013-01-28 at 09:12 -0800, Luke Bigum wrote: On Monday, January 28, 2013 5:00:24 PM UTC, Ti Leggett wrote: However, let me warn you against going overboard with having classes include other classes from other

Re: [Puppet Users] Puppet Support for Windows

2013-01-29 Thread Rich Siegel
Do you have any code on github? Perhaps we can collaborate. I am doing a bit of windows type and provider development currently (mostly learning how ;) I have a pendinga windows clustering provider, and a windows ad dns provider in the works. I have also wrote a chocolatey provider that we

[Puppet Users] puppetdb catalog duplication

2013-01-29 Thread ollies...@googlemail.com
Hello, Just kicking the tyres with PuppetDB (1.1.0) on a test setup with 100-odd nodes running only once an hour by default. Looking at the dashboard the catalog duplication is showing 0.0% which seems a little odd to me. Any way to track down why this is and how to correct it as presumably

[Puppet Users] Want to work in cutting-edge education in Cambridge, MA?

2013-01-29 Thread Ashley Penney
Hello! I'm not a recruiter, manager, or otherwise non-technical person spamming the users list in order to harvest email addresses. I'm one of the 'devop engineers' at EdX, a MIT/Harvard/Everyone else non-profit organization aimed at reinventing online education. We're the non-profit version of

Re: [Puppet Users] Referencing a variable from one class in another

2013-01-29 Thread Ti Leggett
On Jan 29, 2013, at 8:51 AM, jcbollinger john.bollin...@stjude.org wrote: The only way to force parse-time ordering right now is to do a direct include, unfortunately. Yes, but I'm not sure I would say unfortunately there. The problem is not so much with any limitation of Puppet

[Puppet Users] Re: puppetdb catalog duplication

2013-01-29 Thread llowder
On Tuesday, January 29, 2013 8:54:43 AM UTC-6, olli...@googlemail.com wrote: Hello, Just kicking the tyres with PuppetDB (1.1.0) on a test setup with 100-odd nodes running only once an hour by default. Looking at the dashboard the catalog duplication is showing 0.0% which seems a

[Puppet Users] Re: Extending a standard type

2013-01-29 Thread jcbollinger
On Monday, January 28, 2013 11:07:51 AM UTC-6, Matthew Pounsett wrote: On Monday, 28 January 2013 11:14:59 UTC-5, jcbollinger wrote: define site::user ( $comment, $ensure, $home, $name = $title, Don't do that ($name = $title). Puppet provides it

[Puppet Users] Re: define()'s sloooow

2013-01-29 Thread jcbollinger
The bottom line is that I don't have an explanation for why your compilations are so slow. Sorry. I don't think it's anything specific to defined types, except inasmuch as defined type instances do have overhead comparable to that of native type instances. Perhaps the guys over on

Re: [Puppet Users] Extending a standard type

2013-01-29 Thread Matthew Pounsett
On Tuesday, 29 January 2013 00:29:43 UTC-5, Keith Burdis wrote: You can set the default values to undef and then the standard user type will use its defaults (if any). It usually makes sense to default the ensure parameter to 'present' though because if it is undef then nothing will

[Puppet Users] Deploying modules and configuration - Precousions

2013-01-29 Thread אלעד שמיטנקה
Hi, I have a production puppet server running with apachepassenger Unfortunately, we have stumbled upon cases in which a module was installed in position we did not meant to install it on, no, the blame is not on puppet, it's on us, we didn't notice some cases of behavior of the modules. all the

[Puppet Users] Re: How to assign variable for an URL

2013-01-29 Thread Matthew Pounsett
On Tuesday, 29 January 2013 02:05:30 UTC-5, yarlagadda ramya wrote: Hi all, I have written the following code... $someendpoint1=12345 $someendpoint2=54321 $prop = /app/tcs/temp.properties file{'temp.properties': path =$prop, ensure ='present', content

[Puppet Users] Re: Puppet Agent does not connect to master

2013-01-29 Thread jcbollinger
On Tuesday, January 29, 2013 1:40:17 AM UTC-6, Rainer Bendig wrote: Hi, we are running several debian squeeze (64 bit, no backports) and a puppetmaster (3.0.2). now i wanted to upgrade the agents from 3.0.1 to 3.0.2, and got stuck... the new 3.0.2 agents don't connect to the master...

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

2013-01-29 Thread Vasil Mikhalenya
hi all, if you have big storage of public keys (may be of employees) try this one https://github.com/bazilek/puppet-ssh_key_groups/ On Wed, Jan 23, 2013 at 11:45 PM, Jist Anidiot jistanid...@gmail.comwrote: Thoughts? (1)

[Puppet Users] Re: Puppet Site.pp hierarchy (multi-tenant) question

2013-01-29 Thread Matthew Pounsett
On Tuesday, 29 January 2013 04:34:56 UTC-5, jim wrote: The easiest option would be to add different manifests for different groups / teams within site.pp, but if I make changes to the sub-manifests, i'd need to touch the site.pp file for changes to kick in, which could also effect the

[Puppet Users] Re: Puppet Site.pp hierarchy (multi-tenant) question

2013-01-29 Thread אלעד שמיטנקה
If you worry that 1 team will add node classification of another one, then the only way is via enviroments, each enviroment will have it's own site.pp if that's not the case, you can just put include nodes.d in the site.pp, create a directory named nodes.d and then have different files for each

[Puppet Users] Seriously, am I the only one having trouble with the RHEL puppetlabs repos?

2013-01-29 Thread Greg Chavez
This is the third time I've sent a message about this. Does anybody know what's going on? I'm going to file a bug if this isn't fixed soon. RHEL6: http://yum.puppetlabs.com/el/6/products/x86_64/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum Trying other mirror.

Re: [Puppet Users] Cron job based on gateway

2013-01-29 Thread Keith Burdis
Here's one way: 1) Install the erwbgy/system module: # puppet module install erwbgy/system 2) Configure a custom fact using facter_dot_d for the default gateway: include system::schedules $config = { 'default_route' = { 'type' = 'script', 'value' = #!/bin/bash\nprintf

[Puppet Users] command puppet node install

2013-01-29 Thread GRANIER Bernard (MORPHO)
Hi, If I understood correctly, this command installs puppet on a remote node. Is this command available in enterprise version only or is it possible to use it in community version ? Sincerly, Bernard Granier CE Plateforme Système bernard.gran...@morpho.commailto:bernard.gran...@morpho.com 01

RE: [Puppet Users] Seriously, am I the only one having trouble with the RHEL puppetlabs repos?

2013-01-29 Thread Nielsen, Steve
Try running this: yum clean all Steve From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Greg Chavez Sent: Tuesday, January 29, 2013 11:13 AM To: puppet-users@googlegroups.com Subject: [Puppet Users] Seriously, am I the only one having trouble with the

Re: [Puppet Users] Seriously, am I the only one having trouble with the RHEL puppetlabs repos?

2013-01-29 Thread Greg Chavez
I've run yum clean all a hundred times, but that's besides the point since I only notice the problem on new systems. The build system (Cobbler) installs the latest puppet-release rpm for each node, then instantiates Puppet. It's worked like butter for over a year. -- You received this message

[Puppet Users] Re: define()'s sloooow

2013-01-29 Thread asq
W dniu wtorek, 29 stycznia 2013 16:54:46 UTC+1 użytkownik jcbollinger napisał: The bottom line is that I don't have an explanation for why your compilations are so slow. Sorry. I don't think it's anything specific to defined types, except inasmuch as defined type instances do have

Re: [Puppet Users] Seriously, am I the only one having trouble with the RHEL puppetlabs repos?

2013-01-29 Thread Scott Anderson
I had to not use the puppet repos to get it to work.. but this is on centos 5 and 6. On Tue, Jan 29, 2013 at 12:13 PM, Greg Chavez greg.cha...@gmail.com wrote: This is the third time I've sent a message about this. Does anybody know what's going on? I'm going to file a bug if this isn't

Re: [Puppet Users] Referencing a variable from one class in another

2013-01-29 Thread Matthew Pounsett
On Tuesday, 29 January 2013 10:07:29 UTC-5, Ti Leggett wrote: I'm not sure I fully agree with this from a design standpoint. In object-oriented programming, one of the design principles is that variables relating to the object are encapsulated within the object and exposed or not

Re: [Puppet Users] Seriously, am I the only one having trouble with the RHEL puppetlabs repos?

2013-01-29 Thread Matthaus Owens
Are you behind any sort of proxy that might be caching metadata? On Tue, Jan 29, 2013 at 10:30 AM, Scott Anderson s...@torand.org wrote: I had to not use the puppet repos to get it to work.. but this is on centos 5 and 6. On Tue, Jan 29, 2013 at 12:13 PM, Greg Chavez greg.cha...@gmail.com

Re: [Puppet Users] Referencing a variable from one class in another

2013-01-29 Thread Ti Leggett
On Jan 29, 2013, at 12:42 PM, Matthew Pounsett matt.pouns...@gmail.com wrote: On Tuesday, 29 January 2013 10:07:29 UTC-5, Ti Leggett wrote: I'm not sure I fully agree with this from a design standpoint. In object-oriented programming, one of the design principles is that variables

Re: [Puppet Users] How to collect hostnames or host ips

2013-01-29 Thread Dusty Doris
Thanks Luke and Ohad, this is great information. Going to check out both foreman and puppetdb. On Tuesday, January 29, 2013 4:35:27 AM UTC-5, ohad wrote: On Tue, Jan 29, 2013 at 4:30 AM, Dusty Doris du...@doris.namejavascript: wrote: I'd like to be able to collect all the hostnames

Re: [Puppet Users] Seriously, am I the only one having trouble with the RHEL puppetlabs repos?

2013-01-29 Thread Greg Chavez
Gah... I bet that's it. We recently switched from our own sensible Internet egress to a tortured journey from DC to our Philly mothership. We go through Websense, I think, and I know that blicky has had problems in the past with over-caching. Thanks. Glad yours works, Dan. Cheers. On Tue,

Re: [Puppet Users] Seriously, am I the only one having trouble with the RHEL puppetlabs repos?

2013-01-29 Thread Matthaus Owens
We also tend to update our metadata more often than other public repositories because we push new packages to it several times a week (sometimes several times a day). On Tue, Jan 29, 2013 at 11:31 AM, Greg Chavez greg.cha...@gmail.com wrote: Gah... I bet that's it. We recently switched from our

[Puppet Users] stuck installing puppet in RHEL 5

2013-01-29 Thread brutuz
Hi All, Im trying to install but with no luck. Any idea what I did wrong ? ** mkdir -p /var/log/pe-console-auth ** touch /var/log/pe-console-auth/cas.log ** touch /var/log/pe-console-auth/auth.log ** chmod 770 /var/log/pe-console-auth ** chmod 660 /var/log/pe-console-auth/auth.log ** touch

Re: [Puppet Users] Puppet Support for Windows

2013-01-29 Thread damian . folwell
no sorry, i'm only on day 2 of learning Ruby and about day 5 of Puppet. If i'm lucky i get about an hour every other evening to look at this so progress is slow. Once I've got something worthwhile sharing i'll post it somewhere. My two projects are an ntfsfile type (in which you can specify

Re: [Puppet Users] Apache module

2013-01-29 Thread Ashley Gould
Hi, On Mon, Jan 28, 2013 at 10:05:21PM -0800, Alex Harvey wrote: Hi all, I've spent a bit of time today investigating whether or not I can use the Puppet Labs Apache module - https://forge.puppetlabs.com/puppetlabs/apache I've noted this helpful blog post -

Re: [Puppet Users] stuck installing puppet in RHEL 5

2013-01-29 Thread Matthaus Owens
I've CCed the pe-users list as I think it is probably a better place for this PE specific question. The rake 400 error you see can be caused by a couple of issues. The most common ones I've seen are - the hostname you gave for the master isn't reachable (you may need to add an entry to

[Puppet Users] Questions/Concerns Related to Changing Console DB Password

2013-01-29 Thread Brendan Murtagh
Hello, I ran into an issue today as I began to transition into a production environment from my Puppet testbed. I am using Puppet Enterprise 2.7 for Ubuntu (x64) and ran through the Installer and configured the Console, Cloud Provisioner, and Master on the same box. This all went well. I then

Re: [Puppet Users] Referencing a variable from one class in another

2013-01-29 Thread Matthew Pounsett
On Tuesday, 29 January 2013 13:58:20 UTC-5, Ti Leggett wrote: I include that in the module that installs the shell packages and configures them, in my case, I call it base. In other words, the variables should be as close to the things they affect or are affected by. Just because every

[Puppet Users] Help needed testing new cloud metadata facts in OpenStack, Eucalyptus, EC2, and Xen

2013-01-29 Thread Jeff McCune
Hello, Regarding, https://github.com/puppetlabs/facter/pull/387 One of the long standing tickets with a lot of watchers is #7559 [1] where the ec2_* metadata and userdata facts are not populated on Amazon EC2 VPC instances. This bug has been quite problematic to solve once and for all because

Re: [Puppet Users] Questions/Concerns Related to Changing Console DB Password

2013-01-29 Thread Matthaus Owens
I'm CCing the pe-users list as this is a Puppet Enterprise specific question. The passwords in puppet.conf and database.yml are not encrypted, those are the passwords (they are also stored in the answers file in the installer directory and in /etc/puppetlabs/installer/database_info.install). To

[Puppet Users] Re: How to collect hostnames or host ips

2013-01-29 Thread Jared Curtis
On Monday, January 28, 2013 6:30:14 PM UTC-8, Dusty Doris wrote: I'd like to be able to collect all the hostnames (fqdn) or ips of certain hosts to be used in setting up firewall rules. I'd like to search for hosts that have included a particular class, perhaps by simply setting a tag

Re: [Puppet Users] All nodes are showing unresponsive

2013-01-29 Thread RAVI TEJ
Hi mamta, Could you please check the time on the server(which is hosting puppet-dashboard) ?? Make sure it is sync with the puppet master. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving

[Puppet Users] Re: Reusable Puppet config for Vagrant

2013-01-29 Thread Felipe Salum
I have done something similar, installing puppet master, puppetdb and a few nodes for testing, everything via vagrant. https://github.com/fsalum/vagrant-puppet Felipe On Tuesday, January 29, 2013 6:42:42 AM UTC-8, blalor wrote: I took an hour this morning to document how I use Vagrant and