[Puppet Users] agent suddenly disabled

2012-04-13 Thread Thomas
appropriate forum for this type of question. Thanks! Thomas Kenny -- 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

[Puppet Users] Re: agent suddenly disabled

2012-04-13 Thread Thomas
That worked, thanks! On Apr 13, 2:54 pm, Patrick Carlisle wrote: > This is a bug in the error message > (http://projects.puppetlabs.com/issues/13299). The correct command is > 'puppet agent --enable'. -- You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Compliance Workflow only in PE?

2012-05-02 Thread Thomas
I'm currently prototyping with Puppet Enterprise 2.5 and I was wondering if compliance workflow is only in PE or if is also available in the open source dashboard? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email

[Puppet Users] Re: Compliance Workflow only in PE?

2012-05-03 Thread Thomas
rameter in the manifests. I'll look into that but if anybody has advise on how to accomplish that I'd appreciate hearing about it. If others are interested I'll share how I accomplished compliance functionality via the command line, if I'm able to do it. Thomas On May 2, 7:15 

[Puppet Users] Running multiple instances of a puppetmaster on one server

2010-02-02 Thread Thomas
Hey, I've been trying to figure out how to run multiple puppetmasterd instances on one machine - perhaps on separate ports. Can anyone advise me if this is a bad idea, or if not, how to go about doing this? I'm trying to maintain puppet on an existing set of machines while refactoring the same ma

[Puppet Users] Puppet freezes in the middle of runs

2010-03-18 Thread Thomas
Hello, I'm running puppet on a bunch of Red Hat Enterprise Linux 5 machines. I am seeing an issue where puppetd will freeze in the middle of a run, regularly. If I run with --debug, the last line of output I see is usually a command that completes quickly, or a notification that something has succ

[Puppet Users] Re: Puppet freezes in the middle of runs

2010-03-18 Thread Thomas
rote: > On Thu, Mar 18, 2010 at 12:36 PM, Thomas wrote: > > Hello, > > > I'm running puppet on a bunch of Red Hat Enterprise Linux 5 machines. > > I am seeing an issue where puppetd will freeze in the middle of a run, > > regularly. If I run with --debug, the last

[Puppet Users] Re: Puppet freezes in the middle of runs

2010-03-18 Thread Thomas
.., 4096) = 4096 read(6, "bD48amJvc3Nlc2I6amF2YS5uYW1pbmcu"..., 4096) = 4096 read(6, "WldRPTwvS2V5PjxWYWx1ZT5yTzBBQlhO"..., 4096) = 4096 read(6, "ommit\n\t\t122063 Query\tSELECT S.SE"..., 4096) = 4096 read(6, "2063 Query\tSELECT S.SERVICE_KEY,"..., 4096) = 4096 rea

[Puppet Users] Re: Puppet freezes in the middle of runs

2010-03-18 Thread Thomas
uppet trying to read in data from one of the files in the archived_logs directory. Did I make a mistake in my configuration here? On Mar 18, 2:18 pm, Thomas wrote: > pstree doesn't show anything interesting: > >   ├─sshd,1354 >   │   ├─sshd,2008 >   │   │   └─bash,2010 >   │  

[Puppet Users] yum repo on same machine as Puppet Master?

2012-11-21 Thread Thomas
od, bad or indifferent practice? My Puppet Master (for now) will manage less than 10 nodes so I'm not worried about performance. Thanks! Thomas Kenny -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussio

[Puppet Users] best practices stand-alone puppet

2009-03-10 Thread thomas
to describe the system (few dozen of instances with ever- changing ports) and generate stuff I need on the external box, deploying configuration via ssh afterwards on the clients. If someone has faced similar situation - what pointers would you suggest? Thanks! Thomas

[Puppet Users] Re: best practices stand-alone puppet

2009-03-10 Thread thomas
w can I loop through all nodes executing .pp script? - how can I select just one host when running "puppet"? ( For sure I am trying to use puppet not at all in the way it meant to be in the first place, degrading it to ant/maven type of utility, hence my question if this is possible at al

[Puppet Users] Re: best practices stand-alone puppet

2009-03-11 Thread thomas
I can't pull. Rsync way could be the way to go, with the client pretending to be its own server as Stephen has outlined previously. Many thanks for the explanation, will give it a try. Regards, Thomas On Mar 11, 6:05 pm, Andrew Shafer wrote: > Can you not have anything installed? or

[Puppet Users] definitions reuse

2009-03-13 Thread thomas
slfront/back=>on} } Or in terms of common puppet examples: node,apache (singleton), virtual host (defintion) - I need some inheritance reuse on virtual host level. Only one way to do this is via template, but so far I tied to stay rather generic here and keep all my "business" logic

[Puppet Users] Re: definitions reuse

2009-03-19 Thread thomas
> Can you elaborate on where the reuse is necessary? In my case in the sections of httpd.conf. I'd love to find a way to have some 'abstract' modssl, modproxy,modesc sections and derive from it for inbound/outbound traffic specifc configuration snippets assembling appropriate httpd.conf at the en

[Puppet Users] how to override hostname

2009-03-23 Thread thomas
I am trying to test stand alone puppet manifests invoking /usr/bin/ puppet. Is there a way to override current hostname with some other value? I have tried with no success: FACTER_hostname=foo /usr/bin/puppet manifest.pp Regards, Thomas

[Puppet Users] Re: how to override hostname

2009-03-23 Thread thomas
$confdir/manifests/_tmp.pp Not most elegant but works ... On Mar 23, 1:42 pm, Bruce Richardson wrote: > On Mon, Mar 23, 2009 at 05:18:55AM -0700, thomas wrote: > > > I am trying to test stand alone puppet manifests invoking /usr/bin/ > > puppet. > > > Is there a w

[Puppet Users] Hyperic monitoring of Puppet master and nodes?

2013-01-30 Thread Thomas
uring Puppet is running properly? So far I'm planning to have Hyperic monitor that the required services are running on all agents and the master. Is there any thing else I should consider having Hyperic monitor to assure my Puppet infrastructure is running properly? Thanks! Thomas -- You r

[Puppet Users] Re: Hyperic monitoring of Puppet master and nodes?

2013-02-01 Thread Thomas
and agents. I'll look into Foreman and tagmail as you suggested. Thanks! Thomas On Wednesday, January 30, 2013 9:12:06 AM UTC-5, llowder wrote: > > > > On Wednesday, January 30, 2013 7:46:53 AM UTC-6, Thomas wrote: >> >> I'll be looking at having Hyperic monitor

[Puppet Users] console_auth database is not configured?

2013-05-02 Thread Thomas
rake so any leads or assistance is appreciated! Thanks! Thomas -- 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.co

[Puppet Users] mysql create user problem

2013-05-29 Thread Thomas
I'm new to using the puppetlabs/mysql forge module and having trouble creating the user for performing backups. My guess is that I'm overlooking something simple... Any advise is appreciated! I'm using puppet 3.1.1 on the master and puppet 2.7.14 on the node both on RHEL 6.0, mysql 5.1.47, mysq

[Puppet Users] Re: mysql create user problem

2013-05-29 Thread Thomas
Never mind! Some how mysql's root user lost privileges and once I fixed that the mysql module worked great! On Wednesday, May 29, 2013 11:05:10 AM UTC-4, Thomas wrote: > > I'm new to using the puppetlabs/mysql forge module and having trouble > creating the user for performin

[Puppet Users] firewall chains?

2013-08-15 Thread Thomas
the first time I'm trying to use firewallchain and I can't seem to determine the proper syntax to define the above. Any advise would be appreciated! Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe

[Puppet Users] Re: firewall chains?

2013-08-15 Thread Thomas
Tables Dropped Packet:', jump => 'LOG', } firewall { '992 jump to DROP': chain => 'LOGGING', proto => 'all', action => 'drop', } On Thursday, August 15, 201

[Puppet Users] rake problem for dashboard

2013-09-18 Thread Thomas
I've setup a new puppet master and I'm having trouble with running dashboard rake commands. Any advise on why I may be getting this error would be appreciated! Thanks, Thomas sh-4.1# pwd /usr/share/puppet-dashboard sh-4.1# sudo -u puppet-dashboard rake RAILS_ENV=production jobs:wor

[Puppet Users] best practice for managing multiple stanzas within a config file?

2013-09-30 Thread Thomas
t found a clean solution yet to construct the stanza. Any suggestions would be appreciated. Thanks! Thomas -- 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

[Puppet Users] MySQL server install with datadir != /var/lib/mysql

2013-12-03 Thread Thomas
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 recei

Re: [Puppet Users] MySQL server install with datadir != /var/lib/mysql

2013-12-04 Thread Thomas
are of a potential solution. On Tuesday, December 3, 2013 9:51:27 PM UTC-5, Ygor wrote: > > One gets the impression that you have tried and have been unsuccessful. > > Details would help with troubleshooting. > > On Dec 3, 2013, at 8:39 PM, Thomas > > wrote: > > >

[Puppet Users] Re: MySQL server install with datadir != /var/lib/mysql

2013-12-04 Thread Thomas
abs-mysql. > > > On Wednesday, 4 December 2013 02:39:50 UTC+1, Thomas wrote: >> >> 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 rece

[Puppet Users] Re: MySQL server install with datadir != /var/lib/mysql

2013-12-04 Thread Thomas
is hard to puppetise as it is only needed the very first time when >> mysql is not yet installed. I've only ever had to do this on smaller groups >> of servers at a time, so always resorted to doing it manually. >> >> let me know if you figure it out, would be great to s

Re: [Puppet Users] Re: MySQL server install with datadir != /var/lib/mysql

2013-12-04 Thread Thomas
data/mysql. > > > On Wed, Dec 4, 2013 at 4:02 PM, Thomas > > wrote: > >> Yes it might be tricky to integrate it but I think this would be a useful >> enhancement. >> >> >> On Wednesday, December 4, 2013 7:38:46 AM UTC-5, Luke Bigum wrote: >>

[Puppet Users] Delete a clients certificate with curl no longer working?

2014-05-06 Thread Thomas
When deploying openvz images, we use a init-script to delete puppets ssl directory and then run a curl that deletes the certificate from the puppet server: curl -k -X DELETE -H "Accept: pson" "https://puppet.example.com:8140/production/certificate_status/client.examle.com";. After upgrading to

[Puppet Users] Re: Delete a clients certificate with curl no longer working?

2014-05-14 Thread Thomas
On Tuesday, May 6, 2014 1:31:48 PM UTC+2, Thomas wrote: > > When deploying openvz images, we use a init-script to delete puppets ssl > directory and then run a curl that deletes the certificate from the puppet > server: > curl -k -X DELETE -H "Accept: pson" " >

Re: [Puppet Users] Re: User Management from LDAP / freeipa

2017-02-07 Thread Thomas
Am 7. Februar 2017 17:17:30 MEZ schrieb Dan White : >I am not trying to manage users. >I am trying to INTELLIGENTLY push out things like dot-files, but Puppet >cannot "see" IdM created users. > "Intelligent" software provides ways to set admin (=puppet) managed system defaults somewhere in /e

[Puppet Users] Puppet SSL Problems

2012-02-03 Thread Thomas Jones
I am attempting to implement puppet for a server block of 20. Have set it up and used for 2 months now. All of a sudden i get SSL problems. Here is what ive done: Server - removed Server SSL directory completely(/var/lib/puppetmaster/ssl). Server(Client) - removed Client SSL directory completely(/

Re: [Puppet Users] Example42 MySQL puppet-module

2012-02-21 Thread Thomas Jones
mysql::grant { ["db1", "db2"]: mysql_privileges => "ALL", mysql_password => "password", mysql_db => "db1", mysql_user => ["db1", "db2"], mysql_host => "%" } } Keep in mind this sets both users with same pw for both dbs. It would be better to just copy n paste another grant directive and chg accord

[Puppet Users] Developers having access to deploy

2012-03-02 Thread Thomas Rasmussen
ers should have access to deploy, but not have access to the puppetmaster server? hope that this can be done. Regards Thomas -- 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@googleg

[Puppet Users] Re: Developers having access to deploy

2012-03-05 Thread Thomas Rasmussen
r ACLs on nodes. Thomas On Friday, March 2, 2012 10:42:28 AM UTC+1, Thomas Rasmussen wrote: > > Hi > > I'm in the process of looking for a way to have developers deploying > on their test systems without intervention of sysadmins, to solve this > i'd like to use P

[Puppet Users] Avoiding duplicate definitions

2012-03-05 Thread Thomas Sturm
nd I don't know of or I didn't understand so far? Thanks for any suggestions! Thomas -- 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 fro

Re: [Puppet Users] Re: Developers having access to deploy

2012-03-06 Thread Thomas Rasmussen
Seems as though instantlinux is deploy'ing a customized OS, however we are dealing with mix of different OS'es (This has to work at least on Linux and Solaris), so doesn't seem like an option Thomas On Tuesday, March 6, 2012 3:26:19 PM UTC+1, Chuck Anderson wrote: > > Chec

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-03-29 Thread Thomas Bellman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (I know I'm late in responding; I'm a couple of months behind in reading the mailing-list, and still have 2000 unread. I have read this entire thread, though.) On 2012-01-19 18:18, Nigel Kersten wrote: > I'm looking for strong opinions on whether we

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-03-29 Thread Thomas Bellman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (Coming late to the discussion, I know. Sorry.) On 2012-01-26 11:19, Felix Frank wrote: [Regarding common modules for installing packages.] > Thinking about other examples of similar systems (CPAN, Gems, Pear, you > name it), module dependencies ar

Re: [Puppet Users] regsubst and regex

2012-04-16 Thread Thomas Bellman
On 2012-04-16 15:26, Antidot SAS wrote: > A quick question for you, here is the code: > $tt=regsubst("test","^(.*)->(.*)",'\2') > > Doesn't return: undef or nil, it does return: "test" As expected and intended. > Niether does $tt=regsubst("test","^(.?)->(.*)",'\2') > or $tt=regsubst("test","^(

Re: [Puppet Users] regsubst and regex

2012-04-16 Thread Thomas Bellman
On 2012-04-16 15:57, Antidot SAS top-posted: > Thx for the reply it helps. > > But how come the \2 returns something that I never asked? It doesn't. But since there are no occurrances of '^(.*)->(.*)', then there are none that get replaced. Similarly, if you do: regsubst('foobar', 'x', 'y

[Puppet Users] centos 6.2 - puppet 2.7.13 - SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: tlsv1 alert protocol version

2012-04-22 Thread Thomas Bétrancourt
Hi! I've installed puppetmaster 2.7.13 on a server with CentOS 6.2 with a rpm supplied by yum.puppetlabs.com. I've setup a apache2 vhost with mod_ssl and passenger. The server is configured to autosign the cert requests. The agent installed on the puppetmaster's server works fine. I've a secon

Re: [Puppet Users] Thoughts on preseed vs config files?

2012-05-03 Thread Thomas Bendler
wn configuration mechanism I save a lot of time. I still can call the distribution mechanism with exec so I still can reflect the configuration change within puppet. Regards, Thomas -- Linux ... enjoy the ride! -- You received this message because you are subscribed to the Google Groups "P

[Puppet Users] Variable scope when having node inheritance

2011-08-05 Thread Thomas Rasmussen
effect. Only if I move the include sudoers::config to the 'server-defaults' node, then it works as I want. Being somewhat new to puppet, I really cant figure out how I can solve this task, but hopefully somebody can give some good hints? There isn't any of my default variables that

[Puppet Users] Re: Variable scope when having node inheritance

2011-08-05 Thread Thomas Rasmussen
sudoers::config': sudoenv=> $sudoenv, stage => install; in my server-defaults node definition, but puppet gave me a duplicate error on include. I'm running 2.6.4 on both server and client side. Regards Thomas On Aug 5, 10:09 am, Denmat wrote: > Hi, > > You setting sudoenv

Re: [Puppet Users] Hash Interpolation inside double quotes?

2011-08-08 Thread Thomas Bellman
Douglas Garstang wrote: > How can I interpolate a hash inside a string? Like this: "tomcat-${config['tomcat_version_server']}" The curly braces groups things so the parser knows that the variable expression to expand doesn't end after the "g" in "config". I'm not sure where this is documen

Re: [Puppet Users] (mostly) philosophical design question

2011-10-04 Thread Thomas Bendler
from my point of view is to find a design approach which strictly separate generic from site specific code but I'm still in a design development phase ;). Regards, Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this grou

Re: [Puppet Users] Publicly accessible server?

2011-10-21 Thread Thomas Bendler
nce problems. > [...] > Set up a firewall and restrict the IPs that can access Puppet. Regards, Thomas -- Linux ... enjoy the ride! -- 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@goog

Re: [Puppet Users] Is it possible to conditionally replace a file ?

2012-01-04 Thread Thomas Bellman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-11-28 16:01, Dan White wrote: > In my users class, I want to be able to push out custom dot-files when > the user account is first created. > Unfortunately, if one sets user:managehome => true, the dotfiles are > created by default and the cus

Re: [Puppet Users] Why we wont use zpool ever again

2010-04-07 Thread Thomas Bellman
Joe McDonagh wrote: [I'm re-arranging what Joe said a bit so I can keep replies to related issues together.] They're not unix-agnostic resources for one (has that fundamental bit of philosophy changed?), and they're unlikely to change in a way that you want puppet to 'correct'. Puppet has

Re: [Puppet Users] File Size

2010-04-08 Thread Thomas Bellman
Trevor Vaughan wrote: Mainly sugar around the call with the ability to twiddle all of the useful rsync flags in a platform-agnostic manner where possible. That would be truly awesome. I have such a define in my module "nsc-puppet-utils" (available at http://www.nsc.liu.se/~bellman/nsc-puppet-

Re: [Puppet Users] File Size

2010-04-08 Thread Thomas Bellman
Dan Bode wrote: I would prefer if puppet ran the sync. It would be nice to receive puppet events for any changes made via rsync (essentially reports of which files change, this would require that it is implemented in ruby). I can see from reading the man page that there is a --dryrun call tha

Re: [Puppet Users] File Size

2010-04-08 Thread Thomas Bellman
Patrick wrote: On Apr 8, 2010, at 2:15 AM, Thomas Bellman wrote: This does two things: when run the first time, it actually does an rsync of a directory tree. And then it creates a cron job for keeping the tree synchronized with the source. You use the 'creates' parameter to

Re: [Puppet Users] ad hoc tasks with puppet

2010-04-20 Thread Thomas Bellman
Sukh Khehra wrote: I have a need to audit user accounts on all of my puppet clients. Essentially, I need to collect the password and shadow file from all of my clients to one central location and analyze them. How would someone do this using puppet. Is there any mechanism to ship files to the

Re: [Puppet Users] regsubst questions

2010-04-23 Thread Thomas Bellman
On 04/23/10 15:55, ed-rfmd wrote: $boot_time = generate('/usr/bin/env', '/bin/date', '+%H:%m') notice("boot_time => $boot_time") $boot_hour = regsubst($boot_time,'^([0-9]+)[:]([0-9]+)\n','\1') notice("w newline - boot_hour => |$boot_hour|") $boot_hour_1 = regsubst($boo

Re: [Puppet Users] read-only 'ensure' for File resource?

2010-04-24 Thread Thomas Bellman
On 04/24/10 00:47, Eric Sorenson wrote: rlpowell mentioned this earlier on irc and i find myself in a similar boat - I need to express a condition that doesn't fit neatly into the class/parameter model and I'm not quite sure how to do it. i'd like to add a cron entry IFF a particular file (not

[Puppet Users] Re: Problem using exec with vmbuilder

2010-04-26 Thread Thomas Bellman
On 2010-04-26 13:08, Yann wrote: It seems my puppet is running with an incorrect locale: LANG=C [...] LC_MESSAGES=C [...] LC_ALL=C r...@venice:/tmp# /usr/bin/vmbuilder kvm ubuntu 2010-04-26 11:58:14,501 INFO: Cleaning up locale-gen does not recognize your locale 'C' "C" is a very much va

Re: [Puppet Users] adding users help.

2010-05-04 Thread Thomas Bellman
On 2010-05-03 19:06, merritt wrote: I want to be able to add additional resources to my virtual users, such as force a file or directory to exist if I realize that user, if someone could point me in the right direction, I’m guessing i need to use a definition I’m just not sure on the best way to

Re: [Puppet Users] Provisioning VM in Xen via Puppet - Howto??

2010-05-12 Thread Thomas Bellman
On 05/11/10 21:48, Gabriel - IP Guys wrote: I've finally managed to get xen installed on a remote system via puppet http://puppetnewbie.blogspot.com/2010/05/installing-xen-instance.html I was about to create my test machines manually, when it occurred to me, that I should be doing this via pupp

Re: [Puppet Users] Have I found a bug with variables in nodes?

2010-05-12 Thread Thomas Bellman
On 05/12/10 00:31, Dan Bode wrote: you guys don't use an external node classifier? Is there a reason you prefer to declare nodes? Why *should* I use an external node classifier? I would just need to invent a description language for describing my nodes, when there already is an existing one i

[Puppet Users] Re: Have I found a bug with variables in nodes?

2010-05-19 Thread Thomas Bellman
On 2010-05-12 18:10, Ken wrote: External node classifiers can only specify variables and classes, not resources. Big limitation. I personally like the separation. In our case we want to provide a 'model/data only' approach at that layer - and hide 'code logic'. Of course parameterized classes

[Puppet Users] Re: Have I found a bug with variables in nodes?

2010-05-19 Thread Thomas Bellman
On 2010-05-19 11:59, R.I.Pienaar wrote: it's not exactly your use case, but there's a lot of milage to be had by just creating a query interface for puppet into your customer db and using that.. pseudo code alert: node foo { include virtual_web_hosts } class virtual_web_hosts { $website

[Puppet Users] Re: customizing an existing type & provider, or creating a new set

2010-05-25 Thread Thomas Bellman
On 2010-05-24 22:32, Hercynium wrote: Can do. What's the preferable approach on this list? Posting to pastebin/gist, or directly in-message? Inline in the message, please. Having to surf to a webpage to view the information sucks, especially if you read mail offline. /Bellman -- Yo

Re: [Puppet Users] package question

2010-05-28 Thread Thomas Bellman
On 2010-05-28 15:19, ed-rfmd wrote: package { "libXp-32bit": provider => rpm, source => "$kickstart/ICAClient/RHEL5/ libXp-1.0.0-8.1.el5.i386.rpm", ensure => installed, } package { "openmotif-32bit"

Re: [Puppet Users] Provisioning VM in Xen via Puppet - Howto??

2010-06-14 Thread Thomas Bellman
On 2010-06-11 21:20, Christopher Johnston wrote: Thomas I don't see your GIT repo, looks to be offline. I don't see any problems when I check now. A git clone of http://www.nsc.liu.se/~bellman/nsc-puppet-utils.git works fine for me. (Note, however, that you can't point a nor

Re: [Puppet Users] Unable to use custom type loaded from module

2010-06-15 Thread Thomas Bellman
On 2010-06-15 01:21, Nigel Kersten wrote: Sorry, I wasn't quite clear. You need to make this accessible to the libdir on the *server*. So whatever your puppetmasterd libdir is, you need to somehow ensure the types/providers are there. We do it with symlinks. I think it is sufficient to set mo

Re: [Puppet Users] Unable to use custom type loaded from module

2010-06-15 Thread Thomas Bellman
On 2010-06-15 16:20, Nigel Kersten wrote: On Tue, Jun 15, 2010 at 1:00 AM, Thomas Bellman wrote: I think it is sufficient to set modulepath under [puppetmasterd] in the puppet.conf file. I do: [puppetmasterd] modulepath = /config/e/production/modules ... I dislike

Re: [Puppet Users] Unable to use custom type loaded from module

2010-06-15 Thread Thomas Bellman
On 2010-06-15 17:07, Nigel Kersten wrote: On Tue, Jun 15, 2010 at 7:58 AM, Thomas Bellman wrote: I mitigate that by also doing manifestdir = /dev/null manifest = /dev/null/site.pp Are you using an external node classifier? I thought that when I deployed a classifier it stopped

Re: [Puppet Users] Installing several packages in order

2010-06-16 Thread Thomas Bellman
On 2010-06-16 19:21, Alan Barrett wrote: No, that won't install the packages in any specific order. There are no explicit or implicit dependencies between apckages in your example, but in my case I want each package to explicitly depend on its predecessor in the array. How about this: de

[Puppet Users] Re: erb templating support for case statements?

2010-06-22 Thread Thomas Bellman
On 2010-06-21 21:37, CraftyTech wrote: > Thanks for the response. Right now I have it: > > max_allowed_packet=<% if $memorysize.to_i <= 4 %>8M<% elseif > memorysize.to_i = 4.1..8 %>16M<% elseif memorysize.to_i = 8.1..16 > %>32M<% elseif memorysize.to_i > 16 %>32M<%end %> > > but for some reason

Re: [Puppet Users] Ability to deploy a "skeleton" directory

2010-06-26 Thread Thomas Bellman
Jean-Baptiste Barth wrote: I'd like to be able to deploy a skeleton directory through puppet, i.e. puppet deploys it only if it does not exist. [...] But I have 2 problems for the moment : - if I don't set owner/group, it takes uid/gid on the puppetmaster, which does not exist on the node ; i

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

2010-07-05 Thread Thomas Bellman
into almost 200 files in two dozen directories. /Thomas Bellman -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email

[Puppet Users] Re: Multiple repositories under one file

2010-07-30 Thread Thomas Bellman
On 2010-07-30 13:59, CraftyTech wrote: > So it looks like it's a bug... Apparently, you can only specify one > repo per file via Yumrepo definition... > > http://projects.puppetlabs.com/issues/2062 > > It looks like it was so long ago.. I'm surprised that no one has come > up with a work around

Re: [Puppet Users] exec not finding shell builtins/functions?

2010-07-30 Thread Thomas Bellman
On 2010-07-30 06:18, Daniel Pittman wrote: > If this is a "voting" matter, let me put in a vote for passing a simple string > to the shell, and passing an array direct to exec, which is consistent with > the use of 'system' style commands in a whole bunch of sysadmin scripting > languages. > > Eg

Re: [Puppet Users] Is a puppet server essential?

2010-08-27 Thread Thomas Bellman
On 2010-08-27 04:04, bonobo wrote: > It appears that running a puppet server is essential. In his book > "Pulling Strings with Puppet", James Turnbull says: > > "... the node will request whatever configuration is specified for > that node. The master server will then compile and deliver that >

Re: [Puppet Users] Definitions in External Nodes

2010-08-28 Thread Thomas Bellman
Nigel Kersten wrote: On Sat, Aug 28, 2010 at 9:04 AM, Douglas Garstang wrote: I mean that you need to create a new class for each customer you add. That does not scale. Why can't you have a class that instantiates your defined type? I don't know Douglas' circumstances, but assume you hav

Re: [Puppet Users] File selection for template() similar to source

2010-08-31 Thread Thomas Bellman
On 2010-08-31 17:21, Marc Zampetti wrote: > I cannot do: > > file { "file.conf" : > content => [ template("module/file.conf.${hostname}"), > template("module/file.conf.$ > {groupname}"), > template("module/file.conf")] > } Y

Re: [Puppet Users] for each in puppet templates

2010-09-06 Thread Thomas Bellman
li...@truthisfreedom.org.uk wrote: <% mysql_repl_dbs.split[','].each do | dbname | -%> replicate-do-db=<%=dbname%> <% end -%> I get an error stating that puppet cannot convert a String to an Integer. Function calls in Ruby use round parenthesis or none at all, not square parenthesis. Square

Re: [Puppet Users] SSLVerifyClient required with Apache+Mongrel

2010-09-06 Thread Thomas Guthmann
thing will work and people will rollback to Webrick. So whoever can modify the wiki pages, do it. You will be seen as a hero for all the future puppet users coming ;) And thanks Héctor for asking, I wanted to send an email about that but I forgot, your email acted as a reminder ;) Cheers, T

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Thomas Bellman
2010-09-15 15:36, Marc Zampetti wrote: > I don't think I've made my problem clear. The issue is NOT how to > specify a version for a package. I know how to do that. And I know how > to use a define to do it as well. > > The issue is that if I call the define from two different classes on the > s

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Thomas Bellman
2010-09-15 16:15, R.I.Pienaar wrote: > - "Marc Zampetti" wrote: > >> The problem is that I'm trying to do just what you suggest. I have a >> single class that defines the package and a default version, or just >> installed. Then I have sub classes that try to override the version. >> So, t

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Thomas Bellman
2010-09-15 16:51, R.I.Pienaar wrote: > - "Thomas Bellman" wrote: > >> define pkg($app) { >> $version = extlookup("pkg_${name}_${app}", "present") >> package { $name: ensure => $version; } >> } >>

Re: [Puppet Users] Re: require service started at another node

2010-11-01 Thread Thomas Bendler
You can also implement it as a watchdog if you put your code in a construct like this: while true; do [... start logic with checks ...] sleep 30 done Kind regards, Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

Re: [Puppet Users] Re: Prevent users from creating new accounts

2010-11-05 Thread Thomas Bendler
d something yet. Kind regards, Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegro

Re: [Puppet Users] Managing private key files; content=>file vs. binary content.

2010-11-10 Thread Thomas Bendler
file { "/path/to/file": source => "/nfs/$host/file"; } Make an export for each connected server and restrict access to this one. Put all private files on the NFS server and you're done. Kind regards, Thomas -- You received this message because you are subscribed

Re: [Puppet Users] Re: Managing private key files; content=>file vs. binary content.

2010-11-10 Thread Thomas Bendler
ld: $myKey = "-BEGIN RSA PRIVATE KEY-\nMIICXgIBAAKBgQDTqkVS4/iwKx8LngXQrEShlfSRtcSyOB1IjC5AIGUAJvapq9lz\n..." file { "/path/to/keyFile": content => $myKey; } Put this into your Webserver class and assign the class only to the Webservers. Kind regards, Thomas -- You received this

Re: [Puppet Users] Re: Managing private key files; content=>file vs. binary content.

2010-11-10 Thread Thomas Bendler
u convert the key to a PEM key before putting it into puppet? You can use OpenSSL to convert the binary key to a PEM key: openssl enc -in some-bin.key -out some-pem.key -a Kind regards, Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" gro

Re: [Puppet Users] Re: Disabling Certificates

2010-11-12 Thread Thomas Bendler
DNS entry, free up the IP in the CMDB, remove hardware from rack and what else needs to be done when a box is retired. Nearly all of this stuff could be scripted except the removal from the rack. Kind regards, Thomas -- You received this message because you are subscribed to the Google Groups &

[Puppet Users] The puppet model

2010-11-23 Thread Thomas Hallgren
Hi, I'm trying to find a formal description of the "Graph based model" that puppet uses but so far I have not been able to find it. Can someone please tell me where to look? Thanks, Thomas Hallgren -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: The puppet model

2010-11-23 Thread Thomas Hallgren
Thanks Dan. This was very helpful. Regards, Thomas Hallgren -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to pu

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-25 Thread Thomas Bendler
t ports? If yes, go ahead and drop XMLRPC support. Kind regards, Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-25 Thread Thomas Bendler
not that good idea. > [...] > But on this distributions you normaly use also the old server variant, so shouldn't be a problem. And if you make you're own repository with actual puppet rpms you should upgrade the client as well I would assume. Kind regards, Thomas -- You rec

Re: [Puppet Users] Re: Puppet on Windows

2010-11-26 Thread Thomas Bendler
(facter already does what I expect). Do you know if MCollective will be running on Windows as well? With this combination I could manage my own script directory to start and stop applications as well as start and stop Windows itself. Kind regards, Thomas -- thomas bendler (systemadministrat

Re: [Puppet Users] Re: Puppet on Windows

2010-11-26 Thread Thomas Bendler
b or must be something taken into account before using it? Kind regards, Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Use MySQL replication with stored configs

2010-12-23 Thread Thomas Mueller
Am Wed, 22 Dec 2010 22:02:27 +0200 schrieb Ohad Levy: > Hi, > > Search the threads, there were a few discussions about this point... at > the moment afaik, its not doable. it maybe could be done outside of puppet with mysql-proxy. rewriting/ redirecting SELECT and UPDATE/INSER

Re: [Puppet Users] Package Repositories at http://yum.puppetlabs.com/

2010-12-30 Thread Thomas Bendler
combination with CentOS + EPEL or RHEL + EPEL or whatever combination will help. Regards, Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe f

Re: [Puppet Users] race conditions in using "svn update" in puppetmaster's /etc/puppet directory?

2011-01-03 Thread Thomas Bendler
to implement some additional checks to make it more robust. Kind regards, Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send

  1   2   3   4   5   >