Re: [Puppet Users] How to pass a array to define?

2010-06-20 Thread Joe McDonagh
usermod -G tester,rootadm tester' returned 6: usermod: group 'rootadm' does not exist the information seems like that the groups parameter is parsed wrong , does anyone have idea to parse this array parameter right ? Thanks so much:> Silviu You can't set group on a resour

Re: [Puppet Users] header for puppet managed files

2010-06-21 Thread Joe McDonagh
e the existence of a header. Generally I add in by hand, and I make sure it says whether this is managed as a template or plain file, and what module it can be found in. -- Joe McDonagh Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weir

Re: [Puppet Users] Re: How to pass a array to define?

2010-06-21 Thread Joe McDonagh
to pass the $configFileList through correctly. Any idea's on what I should be doing? Try wrapping fileName => [ $configFileList ] like that. Might work that way. -- -- Joe McDonagh Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird

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

2010-06-21 Thread Joe McDonagh
" <% end -%> This is how you would print out a setting for a variable. -- -- Joe McDonagh Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn pro." -- You received this message because you are subscribed to the Google Group

Re: [Puppet Users] realize virtual definition ?

2010-06-23 Thread Joe McDonagh
and more. Can I use virtual definition same way as virtual resources ? What am I doing wrong ? Any pointers to something similar would help a lot. I've checked "Pulling strings with Puppet" book but it does not show any example of the virtual definitions like this. Thanks

Re: [Puppet Users] Re: Problem with exec tar

2010-06-29 Thread Joe McDonagh
g like: command => "/bin/bash -c 'pushd somedir && dosomething'", -- -- Joe McDonagh Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn pro." -- You received this message because you are subscribed

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

2010-06-29 Thread Joe McDonagh
d be nice. I'm guessing this might be a little difficult because all the variables in the catalog would have to be assembled before applying the catalog. -- -- Joe McDonagh Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn p

Re: [Puppet Users] Deployment Examples

2010-06-29 Thread Joe McDonagh
red configs etc just fine, on a 32 bit VM with probably only one core. And yes, the docs that seem dated for splitting file serving, certificate auth, and manifests are probably still close to valid. -- -- Joe McDonagh Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode "

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

2010-07-02 Thread Joe McDonagh
/bin/chmod -R 755 /etc/nagios3", notify => Service["nagios"], refreshonly => "true"; service { "nagios": ensure => "running"; } -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going

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

2010-07-08 Thread Joe McDonagh
On 07/02/2010 04:45 AM, David Schmitt wrote: 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

Re: [Puppet Users] Puppet DDNS and Preseed -- Any easier alternative

2010-07-14 Thread Joe McDonagh
Are you using partman-auto? If so, could I see the config block? Thanks. -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn pro." -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Re: 0.25.4 caching problem with custom function

2010-07-28 Thread Joe McDonagh
ns, but I ran into a lot of problems recently when I tried to have a docroot sitting on NFS. No matter what I did I always ran into weird problems just like this. It sort of worked but definitely not something I could use in production... -- Joe McDonagh Operations Engineer AIM: YoosingYooni

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

2010-07-30 Thread Joe McDonagh
} ...which passes it to the default system shell. Daniel That seems like the implementation would be tricky and error-prone, compared to having people add sh/bash/ksh -c to the beginning of the command in the exec. I mean, is that really such a big deal? -- Joe McDonagh AIM: Yoosi

Re: [Puppet Users] Bizarre Stuff in Puppet 2.6.0

2010-07-30 Thread Joe McDonagh
g. I'm guessing it's near the same. -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn pro." -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, se

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread Joe McDonagh
t even use links, I just pointed Splunk at the puppet ssl certs. -- -- Joe McDonagh Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn pro." -- You received this message because you are subscribed to the Google Groups "Pup

Re: [Puppet Users] Optionally ensuring a service is running

2010-08-11 Thread Joe McDonagh
mpetti Marc, you might want to look into the schedule resource, and use that. As for your questions: 1. You would need a custom fact. 2. There are more options for ensure for services, such as enabled, installed, etc. I'm not sure undef would work. If you set a schedule for it though, it s

Re: [Puppet Users] install package based on operatingsystem AND operatingsystemrelease

2010-08-11 Thread Joe McDonagh
or in the package name selector, and setting 10 => "absent". -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn pro." -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] SVN hooks

2010-08-12 Thread Joe McDonagh
t;sh") bash -n $TMPFILE if [ $? -ne 0 ]; then echo "Bash syntax error in $LINE" >&2 let ERRCOUNT+=1 fi ;; *) continue ;; esac done < <(svnlook changed -t "$TXN" "$REPOS&quo

Re: [Puppet Users] Push changes to clients

2010-08-13 Thread Joe McDonagh
/etc/puppet/puppet.conf? For this to work you'd also have to transfer all the manifests to the clients. -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn pro." -- You received this message because you are subscribed

Re: [Puppet Users] Re: puppet dashboard gui looks odd from apache2

2010-08-21 Thread Joe McDonagh
... I know I've definitely had some head scratchers that resembled this issue before because of it. -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode L'ennui est contre-révolutionnaire -- You received this message because you are subscribed to the Google Groups "P

Re: [Puppet Users] extlookup in 2.6.1 defaults

2010-08-22 Thread Joe McDonagh
the same value as in the file, which means the file is somewhat > redundant. Anyone else see that? > > Doug. > extlookup has always supported defaults, which were always optional. A cursory look of the current code appears that it's also still an optonal default. -- Joe McDonagh

[Puppet Users] Re: puppetmaterd --no-daemonize is not working

2009-01-13 Thread Joe McDonagh
Is the service already running before you run it by hand? Can you run a ps aux | grep puppet to see if puppetmasterd does indeed go to the background? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Re: Is Anyone Using Puppet to Administer Multiple Clusters?

2009-01-13 Thread Joe McDonagh
I'm sure people are doing this, possibly even in significant numbers because it doesn't seem too complicated. What do you see (if anything) as being hurdles? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Nagios_host files are mode 600, need 644

2009-01-23 Thread Joe McDonagh
Hi, a little late on the thread, but I just use a straight up file resource that serves out the hosts/ folder for my nagios root. All the files in the fileserver have the proper owner, group, and mode, so I don't need to define those in the resource. I know it's not very puppety to be serving

[Puppet Users] Re: Setting ownership or mode of files created by nagios types

2009-02-11 Thread Joe McDonagh
Use a default acl that gives nagios user and nagios group access to the whole nagios tree. Peter Meier wrote: > Hi > > >> I'd really appreciate some help with this, I've tried to find the >> answer in the source code but I haven't had much luck finding an >> answer. Is there really no one th

[Puppet Users] Re: Setting ownership or mode of files created by nagios types

2009-02-19 Thread Joe McDonagh
Scott, I'm curious, did you try what I said? All it takes is enabling the 'acl' fsopt, remounting the volume, and adding a default FACL to your nagios root. Scott wrote: > So I don't know what happened to the other thread, but all I want to > do is be able to set the owner or the mode of the fi

[Puppet Users] Re: mixing up2date and yum for packages

2009-02-24 Thread Joe McDonagh
It's been a while, but isn't up2date transparent to yum now via the up2date yum plugin shipped with RHEL? Peter Meier wrote: > Hi > > >> If you have a sytem running both up2date and yum (to keep a current >> redhat repo) and want to install packages using either/or - is there a >> way to spec

[Puppet Users] Re: Puppet Idioms for distributing RPMs and/or buildign source tarballs?

2009-02-24 Thread Joe McDonagh
Jeremy Pruitt wrote: > In response to your first comment, it certainly should be idempotent. > Puppet should be able to determine that the rpm is already installed, > and I believe that is just a local "rpm -q" or something. So, I don't > think it should hit the URL unless it doesn't think it's in

[Puppet Users] Re: apt-get update - exit status 100

2009-02-28 Thread Joe McDonagh
From manpage: apt-get returns zero on normal operation, decimal 100 on error. So basically 100 is apt-get's catch-all return code. My money's on a timeout to your apt repo. Keith Edmunds wrote: >> does your /etc/apt/preferencs has some incorrect/no more up-to-date >> things inside ? >> >

[Puppet Users] Re: Chef versus Puppet

2009-03-05 Thread Joe McDonagh
I'm with Luke on the whole Order-of-operations thing he had posted on his blog at some point (I think in the history of puppet). I just think it's a better design, and one of the main reasons why I didn't choose cfengine to whip my inherited infrastructure into line. May have been easier to st

[Puppet Users] Re: Experiences with RHN Satellite?

2009-03-09 Thread Joe McDonagh
I've used it somewhat and it's great when it works, painful when it doesn't (re: PAIN), but it's sort of beastly for only 50 boxes IMO. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post t

[Puppet Users] Re: Bizzare yum problem

2009-03-09 Thread Joe McDonagh
Marti Martinez wrote: > I have a bizarre problem with yum; I can add packages without incident > with the following syntax: > > package { "mod_perl": ensure => present, } > package { "mod_ssl": ensure => present, } > package { "perl-DBD-MySQL": ensure => present, } > > > Works fine, for most

[Puppet Users] Re: force a reboot

2009-04-15 Thread Joe McDonagh
James Richardson wrote: > Hi, > > I am just starting to try to learn/use puppet. The problem I am trying > to overcome now it how to make a client reboot after a kernel upgrade. > > Alternatively, what is the best practice for managing kernels on a > debian system. > > Thanks > I manage upgrad

[Puppet Users] Re: Reloading Custom Facts / Plugins on sync

2009-04-15 Thread Joe McDonagh
C. Handel wrote: > I wrote a custom fact and set up syncing with the help of > http://reductivelabs.com/trac/puppet/wiki/PluginsInModules > > Now the custom fact is distributed to my client just fine > > info: Retrieving plugins > notice: /File[/var/lib/puppet/lib]/checksum: checksum changed ... >

[Puppet Users] Re: problem with conditionals

2009-05-08 Thread Joe McDonagh
Todd Zullinger wrote: > Jeremy Hansen wrote: > >> I'm new to puppet. I'm trying to use some real case examples to better >> understand how Puppet works. >> >> Here's my case: >> >> exec { "usermod -d /home/hadoop -s /bin/bash hadoop": >> unless => "test `grep ^hadoop /etc/passwd |

[Puppet Users] Re: Boston Puppet Meet

2009-05-28 Thread Joe McDonagh
I am in the Back Bay and as long as I am not too swamped I will go. Paul Nasrat wrote: > I'm going to be in Boston/Cambridge/Somerville at the start of June > > Anyone fancy meeting up for a few beers and talking about > puppet/systems administration? > > Maybe somewhere like Cambridge Brewing Co

[Puppet Users] Re: symbolic link without full path

2009-06-14 Thread Joe McDonagh
Rene wrote: > Hi > > Is it possible to create a link like: > .bashrc -> .profile > > without absolute path and without using an exec? > > BR Rene > > > I have definitions for my users that include a resource for bashrc. If you were doing it this way, you could ensure that something like this

[Puppet Users] Re: symbolic link without full path

2009-06-15 Thread Joe McDonagh
Are you sure that /etc/skel was populated before the users were added from puppet? --~--~-~--~~~---~--~~ 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@googlegroup

[Puppet Users] .24.8 package for OpenBSD 4.5

2009-06-15 Thread Joe McDonagh
On a recent project we got .24.8 puppetd built for OBSD 4.5. If anyone is interested you can snag it at www.colonfail.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

[Puppet Users] Re: Unable to exec 'sudo apt-get build-dep rubygems'

2009-06-16 Thread Joe McDonagh
Swati wrote: > Hi, > > I am trying to build ruby gems from source by execing sudo apt-get > install rubygems. But this command fails and returns 1. When I run a > the particular command from the terminal it runs fine. I am sorry, I > am newbie to puppet as well as linux type operating systems, any

[Puppet Users] Re: Centralized puppet install?

2009-06-17 Thread Joe McDonagh
alop wrote: > Has anyone had experience with a centralized puppet install? > The preferred MO at my shop is to have minimal packages installed on a > system locally, and most apps are installed on an NFS filer. At first > glance it seems easy to simply have the init.d script call puppetd off > of

[Puppet Users] Re: new type: /etc/exports, some questions

2009-06-20 Thread Joe McDonagh
Udo Waechter wrote: > Hello all. > > I have just started to implement my first type and a parsed-file > provider for it. > > It is called nfs_export and it should manage nfs-exports via > /etc/exports. First, here is the type: > http://pastie.org/518506 > and here the parsedfile provider: > http

[Puppet Users] Re: exec "sudo apt-get -t unstable install rubygems" fails!

2009-06-20 Thread Joe McDonagh
Peter Meier wrote: > Hi > > >> I am trying to install the latest unstable binary of rubygems using the >> following exec >> >> exec { "latestrubygems": >>command => "sudo apt-get -t unstable install rubygems" >> } >> >> I have the apt.conf and the sources.list file updated correctly

[Puppet Users] Re: Avoiding disaster

2009-06-23 Thread Joe McDonagh
martin wrote: > I've been struggling to find a good way of preventing myself from > shooting myself in the foot when pushing new puppet profiles to my > servers. I try to do rigorous testing, but there is always the odd > system which was setup years ago and keels over when puppet makes the > chan

[Puppet Users] Re: Installing applications using puppet

2009-06-25 Thread Joe McDonagh
Neil K wrote: > Hi all, > > I am pretty new to Puppet. My puppet master server is a RHEL 5 box and > puppet client is a CentOS 5.3 vm. I have managed to configure puppet > server to successfully install.and upgrade rpm based packages on the > client machine. Is it possible to install noon-rpm base

[Puppet Users] Re: cronjob every 15 minutes

2009-07-04 Thread Joe McDonagh
Macno wrote: > You can do something like this > > cron { > "getBroadcast": > command => "/server/www-production/www.server.de/cli/ > getBroadcastFromFtp.php", > user=> root, > weekday => 3, > minute => $hostname ? { >

[Puppet Users] Re: cron, package and provider

2009-07-22 Thread Joe McDonagh
> we'll need an anacron provider. >>> >>> >> Is the anacron package even getting installed or is the failure >> occuring before the package resource is executed? >> >> >>>> Any suggestions? >>>> >>>>

[Puppet Users] Re: cron, package and provider

2009-07-22 Thread Joe McDonagh
# puppet /var/tmp/puppet-cron.pp > sh: Syntax error: Bad fd number > sh: Syntax error: Bad fd number > err: Could not create puppet cron test: Could not find a default > provider for cron > Could not find a default provider for cron > > seph > > Joe McDonagh writes:

[Puppet Users] Re: cron, package and provider

2009-07-22 Thread Joe McDonagh
seph wrote: > I'm running on ubuntu. Anyhow, I'm running puppet with only that > file. Nothing more. So if it needs an explicit service definition, it > should complain about it. Anyhow I tried it, same error. The cron thing > fails out before it gets anywhere. > > sep

[Puppet Users] Re: cron, package and provider

2009-07-22 Thread Joe McDonagh
seph wrote: > Joe McDonagh writes: > > >> I think it would be non-trivial to make the provider aware of what >> packages and what services it needs, which it would need to do to tell >> you anything more than the provider can't be found. Is the cron package

[Puppet Users] Re: cron, package and provider

2009-07-22 Thread Joe McDonagh
seph wrote: > These are the ubuntu packages. > > r...@puppet-test:~# dpkg -s puppet | grep Version > Version: 0.24.8-1 > > r...@puppet-test:~# dpkg -s facter | grep Version > Version: 1.5.1-0.1 > > seph > > Joe McDonagh writes: > > >> IDK i

[Puppet Users] Re: cron, package and provider

2009-07-22 Thread Joe McDonagh
seph wrote: > I got the same error when it was run from a puppetmaster, I switched to > a simpler local example to debug it. > > If you don't have cron installed, does puppet error out, or install it > like it ought? > > seph > > Joe McDonagh writes: > >

[Puppet Users] Re: File resource type: critical chmod security issue

2009-07-27 Thread Joe McDonagh
icitly > avoided in an audit, if that's the case. If there is no policy, > perhaps we should define one? > > Thanks a lot! > -judd > > > Please explain to me how this is a security risk. -- Joe McDonagh Operations Engineer www.colonfail.com --~--~-~--~--

[Puppet Users] Re: File resource type: critical chmod security issue

2009-07-27 Thread Joe McDonagh
on...@jmcdonag) Mon Jul 27 04:48 PM /dev/pts/3 [~/Desktop] > ls -l testfile -rw--- 1 jmcdonagh jmcdonagh 0 2009-07-27 16:48 testfile (jmcdon...@jmcdonag) Mon Jul 27 04:48 PM /dev/pts/3 [~/Desktop] > -- Joe McDonagh Operations Engineer www.colonfail.com --~--~-~--~~-

[Puppet Users] Re: puppet vs cron vs x86_64

2009-07-28 Thread Joe McDonagh
~]$ uname -a > Linux hyperic. 2.6.27.21-170.2.56.fc10.x86_64 #1 SMP Mon Mar 23 > 23:08:10 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux > > Alexey Wasilyev > Systems Administrator > Grid Dynamics > > > > > > > > Is the cronta

[Puppet Users] Re: nagios? naginator?

2009-08-13 Thread Joe McDonagh
; > I would also like to know if this works on the 3.x series of nagios. -- Joe McDonagh Operations Engineer www.colonfail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To pos

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Joe McDonagh
rst option is allready implemented? Anyway, have anyone > implemented such mechanisms? > Best regards, > Kenneth Holter > > > Look into stored configurations on the wiki. This will take care of #1 entirely, and in the future there will probably be a shiny web app to manage it

[Puppet Users] Re: Using Puppet for updating Ubuntu machines over the network

2009-09-01 Thread Joe McDonagh
his. If you don't have rigorous testing like this, you can run the updates via a capistrano task. (This is what I do) I have tasks for each site that is named aptup_${sitename} then I also have an aptup task that takes an argument (server name) in case I need to do a one off. This w

[Puppet Users] Re: puppet 0.24.8, random problem with very slow puppetruns - no stored-configuration

2009-09-01 Thread Joe McDonagh
different "roles" in our environment with different manifests/ > classes/modules and when we start a puppetrun on role1 and another on > role2 it happens that role2 fails and role1 not. Starting the run > again sometimes both

[Puppet Users] Re: nodes inherits with external node

2009-09-01 Thread Joe McDonagh
tlined in wiki:CommonMisconceptions. That alone caused me to switch from node inheritance via node templates to using classes as the templates. Another comment I have is to take the canned recipes like from Lab42, and make them your own. Don't feel like you have to stick to their par

[Puppet Users] Re: Silent failure

2009-09-05 Thread Joe McDonagh
timu wrote: > I am just learning puppet and as can be expected I am making lots and > lots of mistakes. > > One thing I find very frustrating is that the puppet client seems to > fail very silently even when I run it manually. > > When I am debugging I use the command line. > > puppetd --server my

[Puppet Users] Re: Mac OS X pkg for Puppet 0.25.0

2009-09-06 Thread Joe McDonagh
Nigel Kersten wrote: > https://sites.google.com/a/explanatorygap.net/puppet/ > > https://sites.google.com/a/explanatorygap.net/puppet/Home/puppet-0.25.0.pkg.tar.bz2 > > > Please note the issue with Facter and OS X 10.6.0 still remains. > Either install Facter from source or run a version of Facte

[Puppet Users] Re: failing to run a script within puppet

2009-09-23 Thread Joe McDonagh
order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > > --~--~-~--~~~---~--~~ > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this g

[Puppet Users] Capistrano roles filled in using puppet's stored config db

2009-09-28 Thread Joe McDonagh
end end end enum Later on I can do something like task :aptup_all, :roles => [ :ubuntu ] run "sudo apt-get update -y && sudo apt-get upgrade -y" end Of course this is pretty rudimentary, but I plan on extending my Capfile to do a lot more tasks. -- Joe McDonagh Operati

[Puppet Users] Re: puppet port 8139

2009-10-02 Thread Joe McDonagh
ion logged.I tried to open > some other service also on same port on same machine say mysql and it > opened up the port.Please help what needs to be done for the same. > > > > > Paste your config please. -- Joe McDonag

[Puppet Users] Re: Same exec but different working directories

2009-10-08 Thread Joe McDonagh
I'm not sure I understand- you want the behavior of your manifest to change without modifying something? -- Joe McDonagh Operations Engineer www.colonfail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[Puppet Users] Re: Puppet 0.25 Client won't start "Retrieved certificate does not match private key"

2009-10-13 Thread Joe McDonagh
emoved the RPM on the master, you may have SSL certificates still hanging out under /var/lib/puppet/ssl. That's why the certificate it serves doesn't match the new private key. -- Joe McDonagh Operations Engineer www.colonfail.com --~--~-~--~~~---~--~~

[Puppet Users] Re: Puppet Expert Directory

2009-11-02 Thread Joe McDonagh
m always looking for night-time/weekend work and have found that a lot of the websites out there like rentacoder are impossible to find work on. Something as focused as this might be more beneficial, however it seems to me that it might take money out of RL's pocket if there is no m

[Puppet Users] Re: Problem with augeas on Ubuntu 8.04

2009-11-03 Thread Joe McDonagh
c. Nicolas, any idea what's happening ? > > David > > > > > > David, 8.04 is LTS and IIRC the maintained packages weren't introduced til 9.04. They will only make it into LTS if they are 'backported'. -- Joe McDonagh Operations Engineer www.colonfa

Re: [Puppet Users] Facts of other nodes

2012-05-10 Thread Joe Topjian
Hi Ohad, > if you are interested in using foreman, see > http://blog.theforeman.org/2012/01/getting-foreman-search-results-into.html > I currently do not use foreman, but this is good incentive to look into it. Thank you very much. Joe -- Joe Topjian Systems Administrator C

Re: [Puppet Users] Re: Facts of other nodes

2012-05-10 Thread Joe Topjian
st via a Puppet function. The built-in extlookup() > function provides an approach of this sort. Hiera provides a more > flexible approach of the same kind, and it will be a built-in starting > with the next major version of Puppet (Telly). > Thank you for the options - it's app

Re: [Puppet Users] Facts of other nodes

2012-05-10 Thread Joe Topjian
useful. Thank you! > Its worth noting that once the next generation of storeconfigs comes out > (which is REALLY soon), it will have better APIs to support these kinds of > functions and I intend to write puppet functions that support these kinds > of use cases. > Good to know

Re: [Puppet Users] avoiding duplicate package definitions with stdlib's "ensure_packages"

2013-05-21 Thread Joe Topjian
ps > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group

[Puppet Users] pe_account user type setup

2013-06-07 Thread Joe Arnet
got the users.pp and groups.pp in /etc/puppetlabs/puppet/modules/site/manifests. I'm trying to do this in what I understand to be the namespace format, not yaml. I know the connection is valid between master -> node as I've trialed out the motd module in a similar format. Any help wo

[Puppet Users] Upgrade from 2.7.20 to 2.7.22 breaks puppet-dashboard

2013-06-20 Thread Joe Benson
nstalled RPMS from yum.puppetlabs.com rpm -qa |grep puppet puppet-server-2.7.22-1.el5 puppet-2.7.22-1.el5 puppet-dashboard-1.2.23-1.el5 If I back-rev puppet and puppet-server to 2.7.20 it works. Any Ideas? Thanks, Joe -- You received this message because you are subscribed to the Google Groups &q

Re: [Puppet Users] Intermittent freeze on select when running standalone

2012-07-26 Thread Joe Topjian
he command has just hung. Similarly, running strace on the process results in an infinite output of select. ctrl-c does not kill the process - I have to kill the PID from another terminal. I cannot reproduce this issue at will -- it seems to happen randomly. Thanks, Joe -- Joe Topjian Systems A

Re: [Puppet Users] Intermittent freeze on select when running standalone

2012-07-29 Thread Joe Topjian
st need to wait* for the 2.7.12 or > later version of pupet to make it to the debian packages for Ubuntu then > I should be able to test. > It's very disappointing / frustrating that Ubuntu LTS stocks 2.7.11 by default. :/ Thanks, Joe -- Joe Topjian Systems Administrator Cybera Inc

Re: [Puppet Users] Intermittent freeze on select when running standalone

2012-07-29 Thread Joe Topjian
nd then maintain that non-stock version from there on out) or will have to put up with the bug mentioned in this thread as well as miss out on built-in puppet module support. All of which would not be necessary if 12.04 just shipped with 2.7.12+. The comment was more whining on my part

[Puppet Users] duplicate resources across defined types

2012-07-31 Thread Joe Topjian
apache/pull/37/files Here, on all but one of the vhost entries, you mark ensure_dirs as false and Puppet will not enforce the existence of the two directories. This works, but it comes off as a workaround more than a proper solution. Any ideas? Thanks, Joe -- Joe Topjian Systems Administrator

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Joe Topjian
ughts? > The only thing I am curious about now is the difference between this and a virtual resource? Maybe I was under the wrong impression about virtual resources... I thought that they did this same thing. Thank you for your help and work with this! Joe -- Joe Topjian Systems Administrat

Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Joe Topjian
ensure_resource.rb:24 Thanks, Joe -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Cybera is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure. -- You received this message because

Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Joe Topjian
> > I made a few inline comments > Thank you. > should be fixed in master. > Yup, looks good. I will open a pull request for this. -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Cybera is a not-for-profit organization that works to spur and support inno

Re: [Puppet Users] How to set DNS on Ubuntu 12.04 clients?

2012-09-11 Thread Joe Topjian
c file and then use the puppet module. I am not 100% confident of this solution, though, since I'm not sure if resolvconf will recreate the symlink at some point -- I haven't used this solution enough to confirm that. Thanks, Joe -- Joe Topjian Systems Administrator Cybera Inc. www.cyber

Re: [Puppet Users] How to set DNS on Ubuntu 12.04 clients?

2012-09-11 Thread Joe Topjian
> > if /etc/resolv.conf is a puppet maintained file, even if resolvconf > package is updated, it will be replaced by the puppet asserted file anyway. > Very true, but I would hate to have two services fighting with each other in that way. -- Joe Topjian Systems Administrato

Re: [Puppet Users] Can puppet add repositories to nodes?

2012-09-17 Thread Joe Topjian
Hi Sandra, The Puppet Apt module should be of some use: http://puppetlabs.com/blog/module-of-the-week-puppetlabs-apt-pull-apt-strings-with-puppet/ Thanks, Joe On Mon, Sep 17, 2012 at 7:51 AM, Sandra Schlichting < littlesandr...@gmail.com> wrote: > Hi all, > > I would

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-03 Thread Joe Hillenbrand
btw, I'm running Ubuntu 10.04.1 -- 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-users+unsubscr...@googlegroups.com. For mor

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-04 Thread Joe Hillenbrand
Installing 3.0.11 (and removing all the old versions manually, fucking ruby gems!) didn't help for me: ~$ sudo gem list *** LOCAL GEMS *** activemodel (3.0.11) activerecord (3.0.11) activesupport (3.0.11) arel (2.0.10) bigdecimal (1.1.0) builder (2.1.2) bundler (1.1.5) charlock_holmes (0.6.8) i1

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-09 Thread Joe Hillenbrand
Same story here. Started with puppet 2.7 on Ubuntu 10.04, did apt-get upgrade, then it broke. I have since switched from storedconfig to PuppetDB, which I highly recommend to anyone else having this issue. On Tue, Oct 9, 2012 at 9:54 AM, Jonathan Gazeley wrote: > My version of puppet 2.7 was ins

Re: [Puppet Users] pocco - a puppet manifest documentation experiment

2012-10-19 Thread Joe Topjian
Hi Nan, Like everyone else, I think this is great. > Run pocco against a modules directory: > > pocco /etc/puppet/modules/ > Just a quick comment: Isn't pocco the name of the Python *occo? ( http://fitzgen.github.com/pocco/) should the name be changed to differentiate? Joe

Re: [Puppet Users] Disabling root user

2012-10-23 Thread joe dhonny
on ubuntu are not to let anyone login as root, unless you configured it otherwise. See the ubuntu server guide at https://help.ubuntu.com for details. hth, joe -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

Re: [Puppet Users] Have Class Only Perform Actions When There Is Work To Do (i.e. Making Them Idempotent)

2012-10-29 Thread joe dhonny
Hi Dave, Am 26.10.2012 20:50, schrieb Dave Mankoff: > Interesting. It sounds like you're actually advocating _for_ the bash > script approach. I wanted to avoid package management systems only because > they are way more complicated than a basic install of python requires: > > wget python.tgz

Re: [Puppet Users] How to group hosts?

2012-12-06 Thread Joe Topjian
etc/facter/facts.d/role.txt: role=storage_nodes Hope that helps, Joe On Thu, Dec 6, 2012 at 10:27 AM, Jakov Sosic wrote: > Hi. > > I'm currently using hiera in a very rudimentary way, using only perhost > and common. > > Now, I'm trying to group my hosts a little bi

Re: [Puppet Users] How to group hosts?

2012-12-14 Thread Joe Topjian
ndant in most cases, but there are a few cases when it makes sense. I think the main one is when the built-in set of facts is not enough to properly categorize your nodes. In this case, you're correct -- add the facts at the time of provisioning. Then they will be available f

[Puppet Users] puppet-dashboard can't read files in /var/lib/puppet/reports

2013-07-29 Thread Joe VanAndel
On CentOS 6.4, with puppet-3.2.3-1 and puppet-dashboard-1.2.23-1, installed from the puppetlabs repo, I found that puppet-dashboard couldn't read the reports in /var/lib/puppet/reports (permissions drwxr-x--- puppet puppet,) so the dashboard was always out of date. My solution was to add the

[Puppet Users] Oxford Global Resources is hiring for a devops role

2013-09-19 Thread Joe FitzGerald
right candidate, we may consider other arrangements if neither of those locations work for you. Please contact me if you are interested in applying or have questions. Joe -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubs

Re: [Puppet Users] Simplest manner to print a node's catalog

2013-11-11 Thread Joe Esposito
Hey Tom, This works on puppet 2.6.3 (on Ubuntu 10.04) #puppet master --compile nodename Joe Esposito On Mon, Nov 11, 2013 at 1:44 PM, Thomas Noonan II wrote: > Hello, list: > Today a coworker and I were trying to find the easiest way to > print the catalog for a node runni

[Puppet Users] Using the user

2014-02-21 Thread Joe Bond
rings up a bazillion hits, and the type reference page doesn't seem to have the functionality I want, so I thought I'd post. Here is how a user is created: user { "Joe": ensure => 'present', uid => '3657',

Re: [Puppet Users] LaunchDaemon on Mac OSX 10.9 Mavericks

2014-03-14 Thread Joe Garfoot
Hi Merlin, It¹s working here. This is what we're using with Mavericks and Puppet 3.4.3. http://pastebin.com/i9A82gYr I installed puppet using the installer packages from Puppet Labs rather than via a gem if that makes a difference. Thanks Joe On 14/03/2014 13:21, "Merl

[Puppet Users] Parsing issues in 3.5

2014-05-09 Thread Joe Topjian
y those changes needed made, but I don't understand what caused them to appear in 3.5.x when everything works fine in 3.4. I read that Puppet 3.6 fixes some issues with the future parser. Are the issues I'm seeing known and fixed? Thanks, Joe -- You received this message because you are

Re: [Puppet Users] Parsing issues in 3.5

2014-05-12 Thread Joe Topjian
--evaluator current but not under --evaluator future, > we like to hear about it, please file a ticket in that case. > I apologize for the late reply! Thank you for your reply and information. I'm away from the office this week, but will try this out as soon as I have a chance. Tha

<    1   2   3   4   >