[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

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

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

[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 trtrmi...@gmail.com 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

[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:

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 das.srikris...@gmail.com 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?

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 dan...@puppetlabs.com wrote: On Tue, Feb 14, 2012 at 06:54, jcbollinger john.bollin...@stjude.org 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

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. Where

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 iltisannihila...@googlemail.comwrote: 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:

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 bluethu...@gmail.com 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

[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

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 install

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 tu2bg...@gmail.com 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

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

[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

[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

[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 g...@puppetlabs.com wrote: Hey there, Check your cron with crontab -l and you'll see a line that calls

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 tonyjch...@gmail.com wrote: Awesome Gary, Thanks for the reply. Will this also populate parameters assigned via an ENC (my case would be the puppet dashboard)?

[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 g...@puppetlabs.com wrote: Our cron entry is declared in the pe_mcollective module that we ship in our modulepath --

Re: [Puppet Users] Puppet, Facter and Mcollective

2012-02-16 Thread Nan Liu
On Thu, Feb 16, 2012 at 3:19 PM, Tony C tonyjch...@gmail.com 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

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 tonyjch...@gmail.com 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

[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 stefan.schu...@taunusstein.net 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

[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 n...@puppetlabs.com wrote: On Thu, Feb 16, 2012 at 3:52 PM, Tony C tonyjch...@gmail.com wrote: I see, but following this page does allow for that

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

[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 of

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 er.sureshprajap...@gmail.com wrote: On Thu, Feb 16, 2012 at 5:42 PM, krish das.srikris...@gmail.com wrote: Installed Puppet Version is 0.25.4 Can you guys help me resolving this error . Could you get the latest from

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 g...@puppetlabs.com 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

[Puppet Users] Re: Puppet on Windows

2012-02-16 Thread Jay Ze
On 16 Feb., 18:11, Josh Cooper j...@puppetlabs.com wrote: Hi Jay, On Thu, Feb 16, 2012 at 6:14 AM, Jay Ze iltisannihila...@googlemail.comwrote: Hi, I want to run Puppet on a Windows 2003 Server. I already have a working Puppetmaster (Scientific Linux). I installed Puppet on

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

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

2012-02-16 Thread sam
On Fri, Feb 17, 2012 at 12:39 PM, krish das.srikris...@gmail.com 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