[Puppet Users] Re: Cache for the local system while offline

2012-02-16 Thread mukulm
I am too getting the same message & error as, err: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known err: Could not retrieve catalog; skipping run err: Could not send report: getaddrinfo: Name or service not known Can anyone assist how cache cache can be achie

Re: [Puppet Users] Re: vmware provisioning

2012-02-16 Thread Patrick Debois
You might want to take a look at veewee03. It now can create baseboxes on Vmware Fusion. Which allows you to export them to OVA format that you can import in Vsphere/Esx https://github.com/jedi4ever/veewee On 16/02/12 00:34, Eric Shamow wrote: Indeed, at $(job - 1) we implemented something t

Re: [Puppet Users] Re: vmware provisioning

2012-02-16 Thread Jan Ivar Beddari
On 16. feb. 2012 00:34, Eric Shamow wrote: In theory it should be easy to write something through the cloud provisioning framework that takes even less time and is more flexible than our tools, but it's a fairly straightforward task. I've been thinking about doing exactly that but I'm a bit wo

[Puppet Users] Re: About puppet report

2012-02-16 Thread Dmitry
PS: my tagmail.conf file contains: warning: m...@email.tld On Feb 16, 9:44 am, Dmitry wrote: > Hello! > > I am using puppet-2.7.6 under FreeBSD. > > Here is my config file: > > [agent] >   server = some.server.tld >   splay = true > > [master] >   reportfrom = s...@email.tld >   reports = store

[Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
Hi , I have installed puppet master and puppet client on the same machine using synaptic package manager. Puppet client and Puppet master are on the same machine having Ubuntu (10.10 LTS )as base operating system. root@laptop:/etc/puppet# puppetd agent --test info: Retrieving plugin err: /File[/v

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread krish
> > Installed Puppet Version is 0.25.4 > Can you guys help me resolving this error . Could you get the latest from repos - http://apt.puppetlabs.com/dists/maverick/main/binary-amd64/Packages And did your puppetmaster start? -- Krish OlinData.com -- You received this message because you are

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
On Thu, Feb 16, 2012 at 5:42 PM, krish wrote: >> >> Installed Puppet Version is 0.25.4 >> Can you guys help me resolving this error . > > > Could you get the latest from repos - > http://apt.puppetlabs.com/dists/maverick/main/binary-amd64/Packages > > And did your puppetmaster start? thanx for re

Re: [Puppet Users] Re: puppet on solaris 11

2012-02-16 Thread Tim Dunphy
Whoa! It was just a syntax error! That did it! Thanks man! However don't you agree if puppet would say something more informative such as ... oh I don't know.. 'command not found' or 'syntax error'... I don't necessarily expect anyone to do something about this... just sayin'! but anyway, thanks

[Puppet Users] Re: Removing the ability to serve symlinks as symlinks from the master...

2012-02-16 Thread jcbollinger
On Feb 15, 3:29 pm, Daniel Pittman wrote: > On Tue, Feb 14, 2012 at 06:54, jcbollinger wrote: > > [...]  As I understand it, the issue is not > > with "putting a symlink in a module" but rather with recursively > > managing a directory tree that contains symlinks.  Modules appear to > > have no

[Puppet Users] Re: Removing the ability to serve symlinks as symlinks from the master...

2012-02-16 Thread jcbollinger
On Feb 13, 4:58 pm, Daniel Pittman wrote: > If folks would take a minute and fill in a brief survey about this, > that would be > great:https://docs.google.com/a/rimspace.net/spreadsheet/viewform?formkey=d... Even with the clarification, I can't fill out the survey. An answer to the second qu

[Puppet Users] Puppet on Windows

2012-02-16 Thread Jay Ze
Hi, I want to run Puppet on a Windows 2003 Server. I already have a working Puppetmaster (Scientific Linux). I installed Puppet on Windows like shown here: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows This worked very well. But when I want to run puppet. puppet agent --test --

[Puppet Users] Re: Puppetmaster leaving files open with "too many files open" error

2012-02-16 Thread Leon Johnson
I've noticed the same thing with our puppetmaster server. We're still in testing so dramatic changes to puppet.conf are not a problem. But commenting lines out doesn't fix the problem, it just turns on the feature that was being broken by too many files being open. Trey: We've been testing on

Re: [Puppet Users] Re: Removing the ability to serve symlinks as symlinks from the master...

2012-02-16 Thread Jan Ivar Beddari
On 02/16/2012 03:30 PM, jcbollinger wrote: If the File resource behaved as documented then there would be no uncertainty. With "recurse => true, links => manage, force => true" the File resource would always manage a node's corresponding directory tree into an exact match to the master's. W

Re: [Puppet Users] Puppet on Windows

2012-02-16 Thread Josh Cooper
Hi Jay, On Thu, Feb 16, 2012 at 6:14 AM, Jay Ze wrote: > Hi, > > I want to run Puppet on a Windows 2003 Server. I already have a > working Puppetmaster (Scientific Linux). > > I installed Puppet on Windows like shown here: > http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows > > This w

Re: [Puppet Users] Re: puppet on solaris 11

2012-02-16 Thread Michael Stahnke
On Thu, Feb 16, 2012 at 5:39 AM, Tim Dunphy wrote: > Whoa! It was just a syntax error! That did it! Thanks man! However > don't you agree if puppet would say something more informative such as > ... oh I don't know.. 'command not found' or 'syntax error'...  I > don't necessarily expect anyone to

[Puppet Users] Could not set present on ensure: Read-only file system

2012-02-16 Thread Jair Gaxiola
Hi, I try install python-psycopg2 with other packages, when run apt-get -y update returns the errors: err: /Stage[main]/Etc/Package[build-essential]/ensure: change from purged to present failed: Could not set 'present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/v

Re: [Puppet Users] Could not set present on ensure: Read-only file system

2012-02-16 Thread Denmat
Hi, Is it a read only file system? > change from > purged to present failed: Could not set 'present on ensure: Read-only > file system - /tmp/puppet20120216-1063-18q7lsz-0 at > /tmp/vagrant-puppet/manifests/vagrant.pp:15 Try doing a remount on / with rw. Also check if you can do a manual inst

Re: [Puppet Users] Could not set present on ensure: Read-only file system

2012-02-16 Thread Jair Gaxiola
On Thu, Feb 16, 2012 at 1:28 PM, Denmat wrote: > Hi, > > Is it a read only file system? > > change from > purged to present failed: Could not set 'present on ensure: Read-only > file system - /tmp/puppet20120216-1063-18q7lsz-0 at > /tmp/vagrant-puppet/manifests/vagrant.pp:15 I have of file system

Re: [Puppet Users] Re: vmware provisioning

2012-02-16 Thread Jon Sabo
I wrote some code to create the virtual hardware on esx/esx(i) hypervisors using jython and the vsphere api.  You can find my poorly written codes here on github. https://github.com/jsabo/vmware_misc/blob/master/vmware_cli.py I was building the esx(i) boxes with Cobbler and then as part of a firs

[Puppet Users] Basic string manipulation in puppet

2012-02-16 Thread Aaron Nicoli
Hi all, Been searching the net for a few hours now. I have a basic operation I wish to perform but, cannot find examples close enough to what I'm after to implement it myself. This is what I want to do: $version = '10.2.0' I want to manipulate the string to make a new var ($cutversion), equal j

[Puppet Users] Puppet, Facter and Mcollective

2012-02-16 Thread Tony C
I'm not sure if this is the right group or not, but i'll start here. I have Puppet enterprise 2.0, playing around with custom facts. I have noticed that adding a custom fact to any module will distribute that fact to all machines, regardless if they are assigned to that module or not. Is there a

Re: [Puppet Users] Basic string manipulation in puppet

2012-02-16 Thread Stefan Schulte
On Thu, Feb 16, 2012 at 02:50:27PM -0800, Aaron Nicoli wrote: > Hi all, > > Been searching the net for a few hours now. > I have a basic operation I wish to perform but, cannot find examples > close enough to what I'm after to implement it myself. > > This is what I want to do: > > $version = '1

[Puppet Users] Re: [Puppet-dev] Announce: Facter 1.6.6rc1 available

2012-02-16 Thread Michael Stahnke
Facter 1.6.6rc2 was cut today. This addresses the following issue: Make ec2 facts work on CentOS again (#12666) Refactoring the ec2 facts lost the support for CentOS where the hardware address in arp -an is uppercased. Fix and add a unit test now that there are those Thanks

Re: [Puppet Users] Puppet, Facter and Mcollective

2012-02-16 Thread Gary Larizza
Hey there, Check your cron with crontab -l and you'll see a line that calls "/opt/puppet/sbin/refresh-mcollective-metadata" every 15 minutes. That's the process that updates the facts.yaml file with your current custom facts. You can trigger it whenever you'd like :) On Thu, Feb 16, 2012 at 3:

[Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Tony C
Awesome Gary, Thanks for the reply. Will this also populate parameters assigned via an ENC (my case would be the puppet dashboard)? Thanks again. On Feb 16, 3:33 pm, Gary Larizza wrote: > Hey there, > > Check your cron with crontab -l and you'll see a line that calls > "/opt/puppet/sbin/refresh

Re: [Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Gary Larizza
Tony, No. Those don't become custom fact values, so client's aren't aware of them. On Thu, Feb 16, 2012 at 3:34 PM, Tony C wrote: > Awesome Gary, Thanks for the reply. > > Will this also populate parameters assigned via an ENC (my case would > be the puppet dashboard)? > > Thanks again. > > O

[Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Tony C
I see, but following this page does allow for that http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML I just tested it. So in my enterprise, i would much rather control the facts.yaml using a module of the above listed link and a puppet run, than allowing a cron job

Re: [Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Gary Larizza
Our cron entry is declared in the pe_mcollective module that we ship in our modulepath --> /opt/puppet/share/puppet/modules/pe_mcollective/manifests/metadata.pp I'll answer this more in-depth when I get a free second to expound on it, but I'm a bit tied-up at the moment :) On Thu, Feb 16, 2012 at

[Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Tony C
No worries Gary. Thanks for your help already. I'm definitely on your time so just chime in if / when you have a second. On Feb 16, 4:00 pm, Gary Larizza wrote: > Our cron entry is declared in the pe_mcollective module that we ship in our > modulepath > --> /opt/puppet/share/puppet/modules/pe_mco

Re: [Puppet Users] Puppet, Facter and Mcollective

2012-02-16 Thread Nan Liu
On Thu, Feb 16, 2012 at 3:19 PM, Tony C wrote: > I'm not sure if this is the right group or not, but i'll start here. > > I have Puppet enterprise 2.0, playing around with custom facts. > > I have noticed that adding a custom fact to any module will distribute > that fact to all machines, regardle

Re: [Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Nan Liu
On Thu, Feb 16, 2012 at 3:52 PM, Tony C wrote: > I see, but following this page does allow for that > > http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML > > I just tested it. So in my enterprise, i would much rather control the > facts.yaml using a module of the abo

[Puppet Users] Re: Basic string manipulation in puppet

2012-02-16 Thread Aaron Nicoli
Stefan, Your the man, thanks for the help, exactly the kind of thing I am after! Cheers dude, On Feb 17, 10:24 am, Stefan Schulte wrote: > On Thu, Feb 16, 2012 at 02:50:27PM -0800, Aaron Nicoli wrote: > > Hi all, > > > Been searching the net for a few hours now. > > I have a basic operation I w

[Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Tony C
Thanks Nan. I supposed every one's environment is different. For the facts.d, how does that work exactly? On Feb 16, 4:31 pm, Nan Liu wrote: > On Thu, Feb 16, 2012 at 3:52 PM, Tony C wrote: > > I see, but following this page does allow for that > > >http://projects.puppetlabs.com/projects/mcoll

Re: [Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Gary Larizza
Let me see if I can help on a couple of things: 1.) Facts.dot.d is from this repo --> https://github.com/ripienaar/facter-facts/tree/master/facts-dot-d Check it out. You can specify YAML, JSON, Shell, or even a single plain text file where you write 'factname = factval' and they turn into Facter

[Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Greg
As far as I know thats true... One option to limit facts is to use confine to limit where its gets run. For example, here is a fact that is clearly only applicable for Solaris hosts: Facter.add("obpversion") do confine :kernel => :sunos setcode do %x{/usr/sbin/

[Puppet Users] Managing /etc/yum.conf

2012-02-16 Thread Gonzalo Servat
Hi, It's easy enough to modify, say, the "exclude" variable in /etc/yum.conf with something like: augeas { yum_exclude_kernel: context => '/files/etc/yum.conf/main', changes => 'set exclude kernel*' } However, I'd like a more flexible system where I can "build" the list o

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
Is there anyone who can help me ? On Thu, Feb 16, 2012 at 6:17 PM, sam wrote: > On Thu, Feb 16, 2012 at 5:42 PM, krish wrote: >>> >>> Installed Puppet Version is 0.25.4 >>> Can you guys help me resolving this error . >> >> >> Could you get the latest from repos - >> http://apt.puppetlabs.com/dis

Re: [Puppet Users] Managing /etc/yum.conf

2012-02-16 Thread Gary Larizza
Hey Gonzalo, Have you tried Hiera at all? (http://github.com/puppetlabs/hiera and http://github.com/puppetlabs/hiera-puppet ) With Hiera (and, specifically the hiera_array() function), you can scour through a hierarchy to populate a variable inside your Puppet manifest. If you had a variable to

Re: [Puppet Users] Managing /etc/yum.conf

2012-02-16 Thread Gonzalo Servat
On Fri, Feb 17, 2012 at 5:26 PM, Gary Larizza wrote: > Hey Gonzalo, > > Have you tried Hiera at all? (http://github.com/puppetlabs/hiera and > http://github.com/puppetlabs/hiera-puppet ) With Hiera (and, > specifically the hiera_array() function), you can scour through a hierarchy > to populate

[Puppet Users] Re: Puppet on Windows

2012-02-16 Thread Jay Ze
On 16 Feb., 18:11, Josh Cooper wrote: > Hi Jay, > > On Thu, Feb 16, 2012 at 6:14 AM, Jay Ze > wrote: > > > Hi, > > > I want to run Puppet on a Windows 2003 Server. I already have a > > working Puppetmaster (Scientific Linux). > > > I installed Puppet on Windows like shown here: > >http://projec

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread krish
On Fri, Feb 17, 2012 at 11:50 AM, sam wrote: > Is there anyone who can help me ? 1. Why not use maverick repo. Why source? 2. Did you install all depends properly? 3. Are you doing something similar - http://projects.puppetlabs.com/issues/12494 -- Krish -- You received this message because

[Puppet Users] Re: Puppet on Windows

2012-02-16 Thread Jay Ze
Sorry. Wanted to know what shortly means.. not soon ;-) On 17 Feb., 07:32, Jay Ze wrote: > On 16 Feb., 18:11, Josh Cooper wrote: > > > > > > > > > > > Hi Jay, > > > On Thu, Feb 16, 2012 at 6:14 AM, Jay Ze > > wrote: > > > > Hi, > > > > I want to run Puppet on a Windows 2003 Server. I already ha

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
On Fri, Feb 17, 2012 at 12:08 PM, krish wrote: > On Fri, Feb 17, 2012 at 11:50 AM, sam wrote: >> Is there anyone who can help me ? > > > 1. Why not use maverick repo. Why source? Installing from source is the best method I guess and I've to do it on production boxes with source. > 2. Did you inst

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread krish
Can you pastebin us a full puppetd -tdv output. -- Krish OlinData.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-user

Re: [Puppet Users] puppet agent test showing error.

2012-02-16 Thread sam
On Fri, Feb 17, 2012 at 12:39 PM, krish wrote: > Can you pastebin us a full puppetd -tdv output. > Ok here you go http://pastie.org/3399696 > -- > Krish > OlinData.com > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this