[Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class

2014-01-19 Thread jyotir bhandari
Hi I am trying to install package, which i was able to install if I kept the pp file in manifests and then importing via site.pp, but not working when i put it in module directory and then including class in nodes.pp *On puppet master* [root@server puppet]# tree . |-- auth.conf |-- fileserver.

[Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class

2014-01-19 Thread Jose Luis Ledesma
Hi, Nmap.pp should be called init.pp Regards, -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussio

[Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class

2014-01-19 Thread Jose Luis Ledesma
Ah! And the directory packages should be called nmap (the same name than the class, is how autoloader find it) Regards, -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an e

[Puppet Users] Re: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class

2014-01-19 Thread jyotir bhandari
Hi Jose, Thanks, that helped and worked for me. Jyotir On Sunday, 19 January 2014 15:42:12 UTC+5:30, jyotir bhandari wrote: > > Hi > > I am trying to install package, which i was able to install if I kept the > pp file in manifests and then importing via site.pp, but not working when i > put i

Re: [Puppet Users] Using puppet for IT asset management of disconnected hardware

2014-01-19 Thread Felix Frank
Hi, I don't really see what puppet is supposed to do with information about standby/spare hardware. Can you elaborate? Thanks, Felix On 01/10/2014 11:58 AM, Vladislav Geller wrote: > Is there a standard way of dealing with systems (well, in reality any > hardware) that is not actually part of t

[Puppet Users] Module contributing guidelines

2014-01-19 Thread Gareth Rushgrove
I finally added a CONTRIBUTING file to one of my open source puppet modules which has seen a bunch of people submitting pull requests. https://github.com/garethr/garethr-docker/blob/master/CONTRIBUTING.md This comes up on GitHub when submitting a new pull request or issue like so: https://github.

[Puppet Users] Re: Choo choo here comes the FOSDEM train

2014-01-19 Thread Klavs Klavsen
I'll be there as well.. saturday and sunday only though. (FiXion on irc) see http://blog.klavsen.info/ for a larger picture :) looking forward to seeing you there. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

Re: [Puppet Users] Re: Choo choo here comes the FOSDEM train

2014-01-19 Thread Gareth Rushgrove
I'll be around from Friday afternoon for FOSDEM, and also in Gent for Config Management Camp. Gareth Rushgrove IRC/Twitter/GitHub: @garethr Gareth On 19 January 2014 18:03, Klavs Klavsen wrote: > I'll be there as well.. saturday and sunday only though. (FiXion on irc) > > see http://blog.klavse

[Puppet Users] How to manage SugarCRM config.php with Puppet?

2014-01-19 Thread Erwin Bogaard
Hi, I'm looking into a way to manage the SugarCRM config.php (see partial example below this message). This proposes several problems: 1. The file is full of arrays and arrays-in-arrays (So I think Augeas is useless, as far as I understand it) 2. Not all config.php's contain the same arrays and/

Re: [Puppet Users] Re: puppet catalog compilation job queue idea

2014-01-19 Thread Felix Frank
Hi, you both raise a couple of good points. All things considered, I lean towards John's point of view. There's much to say for on-demand compilation. - resource use scales with number of agents - scaling can be influenced via intervals - admins can predict the need for recompilation and trivial

Re: [Puppet Users] How to manage SugarCRM config.php with Puppet?

2014-01-19 Thread rendhalver
Hi On 20 Jan 2014, at 7:34 am, Erwin Bogaard wrote: > Hi, > > I'm looking into a way to manage the SugarCRM config.php (see partial example > below this message). This proposes several problems: > 1. The file is full of arrays and arrays-in-arrays (So I think Augeas is > useless, as far as I

[Puppet Users] Re: uninitialized constant Puppet::FileSystem::File

2014-01-19 Thread Mike Skint
So root cause of this error was a plugin being pushed with another module. sorted.. On Saturday, January 18, 2014 8:40:00 PM UTC-8, Mike Skint wrote: > > > Hi, > > I'm running puppet 3.4.2 and on some nodes I'm seeing them fail with the > following errors. > Not sure where they are coming from.

Re: [Puppet Users] Re: overriding class parameters with 'undef'

2014-01-19 Thread Felix Frank
What I like to do in situations like this: service { 'httpd': name => $service_name, enable => $service_enable, } if $service_ensure { Service['httpd'] { ensure => $service_ensure } } It looks like an override, but it does work in the same class iff the respective pr

Re: [Puppet Users] hiera calling_class files fail with yaml provider on Windows

2014-01-19 Thread Felix Frank
Hi, that's what sprang to my mind, too, when I read your problem description. >From experience, it can be a little daunting to override certain parts of hiera functionality in a custom backend. You may find yourself using some copy-paste because some methods live on the module level and cannot be

[Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:

2014-01-19 Thread jyotir bhandari
Hi I am getting error when i try to add system user including fields mentioned in system_user.pp, if I manually mention all the fields in init.pp, it just works fine. [root@server accounts]# pwd /etc/puppet/modules/accounts [root@server accounts]# tree . `-- manifests |-- init.pp `-- sy

Re: [Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:

2014-01-19 Thread Jacob Fleming-Gale
Hi Jyotir, The filename and the defined type names need to be the same, you can either rename the define to accounts::system_users or rename the file to system.pp Jacob On 20 January 2014 14:52, jyotir bhandari wrote: > Hi > > I am getting error when i try to add system user including fields

[Puppet Users] Re: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:

2014-01-19 Thread jyotir bhandari
Hi Jacob, Thanks that worked. Jyotir On Monday, 20 January 2014 09:22:33 UTC+5:30, jyotir bhandari wrote: > > Hi > > I am getting error when i try to add system user including fields > mentioned in system_user.pp, if I manually mention all the fields in > init.pp, it just works fine. > > [roo

[Puppet Users] dynamic /etc/hosts

2014-01-19 Thread Peter Romfeld
Hi, I just started learning puppet, and still have problems understanding the advanced puppet language. I am using the puppet example42/hosts module to have a dynamic /etc/hosts file. Its working fine so far but i have one more requirement, i need to force update on all other nodes if one node ch