similar to: params pattern when writing modules

Displaying 20 results from an estimated 40000 matches similar to: "params pattern when writing modules"

2012 Oct 22
4
How do design next-gen modules, any guidelines ? a question for gurus...
Hi, My dilemma is how should I write my module to be "next-gen" ? Not from a code point of view but from a design/layout point of view. We wrote our modules for 2.6.x like every beginner would have done: write everything in init.pp. But now, the fashion is to use parameterized classes and Hiera which we will use with puppet 2.7.x. I mainly followed/watched what Example42 was doing.
2013 May 20
2
puppet pull code from svn
How can i setup puppet to pull code from A current SVN server? -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at
2013 Aug 16
4
Learningpuppet
Hi guys, I''m having difficulties with this exercise: "Try wrapping a user resource in a *human::user* type that automatically grabs that personʼs *.bashrc* file from your *site module* and *manages one or more ssh_authorized_key resources* for their account" 1. What''s a "site module"? 2. What am I expected to change in the .bashrc-file? Really thanks in
2010 Dec 10
11
pp grammar test-files?
Hi, I am working on some tools that read and write pp files, and I wonder if there are some pp files available somewhere that can be used to test a parser. I am especially interested in if there are some tests written that capture invalid syntax. - henrik -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send
2012 Aug 25
8
JBOSS installation and Configuration through puppet
Hi All, I have puppet server and client ready. I found JBOSS module and manifests under https://github.com/example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and imported it through git. I am encountering these isse while I run : http://pastebin.com/S67JqmSK -- You received this message because you are subscribed to the Google Groups
2012 Dec 18
4
site.pp referring to other manifests without modules
Hi all, I want to do some code reuse, and modules seem overkill. Is it possible to have something like this? A file called myuser.pp class myuser { user {...} file {...} ... } Then in site.pp have this: node ''foo.example.com'' { include myuser .. other things .. } node ''bar.example.com'' { include myuser .. other things .. } When I try this,
2013 Mar 20
2
How to make sure my common module executes before all other ones
I am running puppet 3.1.1 and have a site.pp which roughly looks like this site.pp: node basenode { include common } node ''server1'' inherits basenode { include role::appserver } node ''server2'' inherits basenode { include role::webserver } And my common module includes lots of different types of classes for creating base directories, adding in
2013 Jan 30
2
Mcollective on puppet server and agent?
I have a puppet server and various puppet agents. I want to do mcollective stuff. So please anyone tell me what should i install on puppet server and agent to run mcollective? Is there any need to install ActiveMQ also and where should i install it? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe
2013 Jun 20
2
Re-inventing the Wheel (again?)
I''m new to puppet and working my way through the documentation. I''m struggling with the puppet labs module repo. I''ve toyed with numerous automation and configuration methodologies over the decades. Perhaps I''m seeing puppet wrong, Compared with CFEngine there is a a lot I like, but I''m not sure why I''m still having to re-invent the
2013 Jul 22
8
How do I set global noop?
I''m trying to set a global noop but it doesn''t seem possible, There are 2 bugs open about this which to me look pretty serious as the expected behaviour isn''t the case. http://projects.puppetlabs.com/issues/21286 http://projects.puppetlabs.com/issues/6549 If anyone has a work around (that doesn''t include modifying puppet.conf file) I would be very
2013 Sep 04
3
Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
Hi, I am new to the job and forum. I installed puppet and puppetmaster and set up my first dependencies acording to a manual that we have here in our company. Everything works fine and I can set up new nodes with several modules to choose from. Unfortunatley the Dashboard <http://forge.puppetlabs.com/puppetlabs/dashboard>gives me errors instead of starting correctley. Here the
2012 May 17
5
Newbie question: what to start from?
Hello fellow community members! I just joined you in order to find an information about how to start using Puppet... Currently we use cfengine for our legacy system containing several OS platforms, including physical and virtual servers. For fresh new hardware and OS versions we decided to go with Puppet due to it''s growing popularity (wow, 4082 members of this group only!).
2010 Nov 19
3
what are the constraints on the contents of 'imported ' files
I am trying to import a hash definition from a separate file but this fails whereas including the text verbatim in the original manifest works fine: class monitor ($master, $interface) { # import "masters.pp" $sensor_rule_categories = { ''dmzo'' => [scan,finger,ftp,telnet,rpc,rservices,ddos,dns,tftp,web- coldfusion,misc,web-php,x11,attack-responses,
2012 Dec 05
10
Slight oversight in the type documentation
So I was looking at the type reference, and noticed that for a lot of the types, no namevar was listed. When I checked the types in the code, for each of those omissions, the namevar was simply "name". Now, it might be self evident that this is the case, but a little documentation couldn''t hurt, If not in each type, at least in the section where it describes what namevars
2013 Dec 04
10
MySQL server install with datadir != /var/lib/mysql
Has anybody sucessfully used puppetlabs-mysql (or some other method) to install MySQL-server on Linux with a my.cnf where datadir != /var/lib/mysql ? -- 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+unsubscribe@googlegroups.com. To view
2013 Mar 21
6
How we can create two database Using same credetial using Puppet
Hello All, I wanted to create two two MySQL database with same user credential using Puppet-MySQL. How can I achieve this? Please find my script below. class mysql::vsdatabase { include mysql mysql::db { ''vidispine'': user => ''user'', password => ''user123'', host => ''db.<hostname>.com'', } } How can I add
2013 Nov 20
4
puppet testing
Hi There, I am kind of lost, understood something wrong. I have written a module. Now how can I test this module? Do I need to copy it to agent or server? Is it possible to test it as a standalone module where I have a machine with puppet agent or server installed? It is a simple module I dont want complicate things with cucumber or some rspec etc. How can I test it with puppet apply
2010 Dec 14
17
n00b questions - verbosity of config????
Hi, I''m learning puppet as that is what they use at my current work, though that could change... Question 1: Last place of work, we wrote our own perl based system which was extremely simple and concise to drive - eg to distribute a file, we would put it in: <nfsdir>/noarch/dist/etc/syslog-ng/syslog-ng.conf/ # which means create a file /etc/syslog-ng/syslog-ng.conf on the
2012 Dec 19
12
Reg : Error in puppet agent in Windows
Hi, I installed Open source puppet 3.0 .1in Windows machine and puppet master 3.0.1 in red hat linux machine. I did all the necessary configurations. C:\Documents and Settings\All Users\Application Data\PuppetLabs\puppet\etc\puppet.conf- > server = test.posmaster.internal Added entry in hosts file. While execute ping command ping (ping test.posmaster.internal) giving response. But while
2012 May 05
3
Error 400 on SERVER - pe_mcollective - missing value of param 'undef'
New install of 2.5.1 on Ubuntu 10.10 server. Multiple (6) new installs on Ubuntu 12.04 clients running agent 2.7.14-1puppetlabs1 from the puppetlabs repo generating the following error. err: Could not retrieve catalog from remote server: Error 400 on SERVER: No matching value for selector param ‘undef’ at /opt/puppet/share/puppet/modules/pe_mcollective/manifests/init.pp:89 on node