[Puppet Users] Could not retrieve information from source(s) puppet://puppet/plugins error message

2010-07-02 Thread SyRenity
Hi. After I upgraded to latest puppet, I started receiving this message both in clients and in master. Following the advice below, i create an empty stub module, with empty lib directory: http://projects.puppetlabs.com/issues/2244 Any idea if this is a clean solution, or there is another,

[Puppet Users] Puppet-tool modules not working

2010-07-02 Thread SyRenity
Hi. I created a new module using puppet-tool, but Puppet shows following error when trying to synchronize it: README.markdown:2: syntax error ==^ /var/lib/puppet/lib/puppet/ facter/README.markdown:7: syntax error on site-specific data that just isn’t available via Facter. The

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-02 Thread David Schmitt
On 6/30/2010 1:47 AM, Joe McDonagh wrote: Also, it would be *huge* to be able to append to vars. Right now I open fw ports via a variable in the node def like: $open_tcp_ports = 22,443 If I could always open 22 in the node def, but += inside classes for httpd, nfs, etc. things would be nice.

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-02 Thread David Schmitt
On 6/30/2010 10:57 AM, Matt wrote: On 29 June 2010 17:22, Luke Kaniesl...@puppetlabs.com wrote: Hi all, Given the number of threads on variable scoping recently, it's pretty clear we need to change how it works. Markus has a lot of this redone in his futures branch, and I'm asking him to

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-02 Thread David Schmitt
On 6/30/2010 5:07 PM, Patrick Mohr wrote: By the way, ignoring the technical aspect, how do you think defined should work in this case? In this case, what aleart should be printed, or what error should be printed? This is a rather contrived example, but I'm not really sure what puppet should

Re: [Puppet Users] Package requires....

2010-07-02 Thread Patrick Mohr
On Jul 1, 2010, at 10:45 PM, Douglas Garstang wrote: On Thu, Jul 1, 2010 at 9:11 PM, Patrick Mohr kc7...@gmail.com wrote: On Jul 1, 2010, at 9:05 PM, christopher floess wrote: Hey, this is sort of hijacking the thread, so if need be, please, I can start another thread for it, but could

Re: [Puppet Users] Data Backup

2010-07-02 Thread Alex Howells
On 1 July 2010 14:13, Demitrius Robinson robinsondemitri...@gmail.com wrote: Most backup software programs    data offer some form of data . Filtering allows you to filter certain types of files for backup. For example, you can select to backup all of the images in your hard drive- giving you

[Puppet Users] Re: Managing some (but not all) user files

2010-07-02 Thread John Lyman
Use recurse = remote. See this thread too: http://groups.google.com/group/puppet-users/browse_thread/thread/8eb0bc8a117924b8/e509c1ff40c25296. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to

Re: [Puppet Users] Data Backup

2010-07-02 Thread James Turnbull
Alex Howells wrote: On 1 July 2010 14:13, Demitrius Robinson robinsondemitri...@gmail.com wrote: Most backup software programsdata offer some form of data . Filtering allows you to filter certain types of files for backup. For example, you can select to backup all of the images in your

[Puppet Users] Setting permissions on nagios service check file

2010-07-02 Thread Druwerd
Is there a better way to set the permissions on the cfg files generated by the nagios_service type? I want each nagios service check to have it's own file, but don't want to write it out each time. Is there a way to set default permissions for the nagios_service cfg files? # Monitor ntp

Re: [Puppet Users] vardir variable not coming through

2010-07-02 Thread Darren Chamberlain
* noob-puppeteer rahul.pilani at gmail.com [2010/07/01 18:00]: I must be missing something with how puppet.conf works. I have configured puppet.conf like so: [main] vardir = /var/xyz/puppet I have a very simple site.pp file { $vardir/touch: ensure = present, } I am

Re: [Puppet Users] vardir variable not coming through

2010-07-02 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am running puppet 0.25.5, and have the puppetmasterd and puppetd on the same server. When I start the puppetd client, it gets an empty $vardir, and tries to create /touch instead of /var/xyz/puppet/touch. What am I missing? afair config

Re: [Puppet Users] [puppet-users] apt and gem package with the same name

2010-07-02 Thread Darren Chamberlain
* hernan hernan.silberman at gmail.com [2010/06/30 17:02]: I'm building a puppet manifest for an Ubuntu machine that needs to have both of these on it: package { memcached: provider = gem, ensure = 0.18.0 } package { memcached: provider = apt, ensure = installed

Re: [Puppet Users] Setting permissions on nagios service check file

2010-07-02 Thread Joe McDonagh
On 07/02/2010 12:11 PM, Druwerd wrote: Is there a better way to set the permissions on the cfg files generated by the nagios_service type? I want each nagios service check to have it's own file, but don't want to write it out each time. Is there a way to set default permissions for the

Re: [Puppet Users] Setting permissions on nagios service check file

2010-07-02 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/02/2010 06:39 PM, Joe McDonagh wrote: On 07/02/2010 12:11 PM, Druwerd wrote: Is there a better way to set the permissions on the cfg files generated by the nagios_service type? I want each nagios service check to have it's own file, but

Re: [Puppet Users] Puppet-tool modules not working

2010-07-02 Thread Dan Bode
I have opened a ticket against puppet http://projects.puppetlabs.com/issues/4135 this is just a warning, and only occurs when the file is synced. The files are still synced correctly. Engineering is aware of this issue. thanks for reporting it :) On Fri, Jul 2, 2010 at 1:04 AM, SyRenity

Re: [Puppet Users] vardir variable not coming through

2010-07-02 Thread James Turnbull
Peter Meier wrote: I am running puppet 0.25.5, and have the puppetmasterd and puppetd on the same server. When I start the puppetd client, it gets an empty $vardir, and tries to create /touch instead of /var/xyz/puppet/touch. What am I missing? afair config variables are not yet present

Re: [Puppet Users] Re: Splitting classes into separate files

2010-07-02 Thread Jeff McCune
On Thu, Jul 1, 2010 at 6:03 PM, Chuck cssc...@gmail.com wrote: Move the classes directory to  /etc/puppet/modules/repo/manifests/classes With puppet 0.25.x, you should no longer need to use any import statements at all. The autoloader will import the correct manifest file so long as you

Re: [Puppet Users] ERB / Tagging...

2010-07-02 Thread Jeff McCune
On Wed, Jun 30, 2010 at 10:40 AM, CraftyTech hmmed...@gmail.com wrote: Hello All,     Can someone point me in the right direction here.  I'm trying to create an erb template for my /etc/hosts file, so that when executed, it populates the /etc/hosts file only with entries that are tag

Re: [Puppet Users] which is more efficient?

2010-07-02 Thread Jeff McCune
On Wed, Jun 30, 2010 at 11:57 AM, Brice Figureau brice-pup...@daysofwonder.com wrote: On 30/06/10 20:48, Marcus, Allan B wrote: We need to put a script into /usr/local/bin. Which is more efficient, put the text into a variable and use content =, or put the file on the puppetmaster server and