Re: [Puppet Users] Default sysctl.conf with augeas.

2011-11-07 Thread Rob McBroom
idn't have > these lines), and then add more lines to it with augeas. However, even > if I get the dependancies right and push the file out before running > augeas, augeas will re-add the lines every time because they aren't > there. Can you show the section of your manifests

Re: [Puppet Users] How best to monitor puppet?

2011-10-04 Thread Rob McBroom
ogs with this regex: puppetd\[.*failed:.* Seems to work pretty well. -- Rob McBroom <http://www.skurfer.com/> -- 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.

Re: [Puppet Users] ldap ENC extension to use environment parent node

2011-09-26 Thread Rob McBroom
actice, but in the LDAP schema, parentNode is defined as multi-value. So you should be able to define an additional parent node named after the environment. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] manage sudoers with augeas

2011-08-29 Thread Rob McBroom
sibility first. Maybe run visudo, since it checks syntax, or temporarily replace it with a very simple file and see if it starts working? -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] manage sudoers with augeas

2011-08-25 Thread Rob McBroom
On Aug 25, 2011, at 9:35 AM, Vincent wrote: > yes it was as root, why the ls /etc doesn't return the sudoers ? On Aug 25, 2011, at 9:23 AM, Rob McBroom wrote: > If a file hasn’t been properly parsed by Augeas, it simply won’t show up. > This could mean that the file has a syn

Re: [Puppet Users] manage sudoers with augeas

2011-08-25 Thread Rob McBroom
mission to read the file, or it could imply a failure in the lens itself.” Are you running `augtool` as root? -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

Re: [Puppet Users] puppet and LDAP

2011-07-20 Thread Rob McBroom
On Jul 19, 2011, at 7:58 PM, Eric Searcy wrote: > You should get a redundant LDAP setup as well as monitor whether your > authentication system is up. Absolutely. You can’t imagine the number of things that will break if LDAP goes away. -- Rob McBroom <http://www.skurfer.com/&

Re: [Puppet Users] AIX clients

2011-07-20 Thread Rob McBroom
On Jul 20, 2011, at 1:29 AM, Michael Stahnke wrote: > Sorry for being late to the party I had to remember where I had > stashed those items. I’ll take a look. Thanks. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the G

Re: [Puppet Users] LDAP ENC

2011-07-15 Thread Rob McBroom
a bug in Puppet or (more likely) Ruby. At thins point, I’d probably start looking at or writing some Ruby stuff to test it outside of Puppet. Maybe someone else has a better idea. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Googl

Re: [Puppet Users] LDAP ENC

2011-07-14 Thread Rob McBroom
gure that). Are you able to bind with that user from the command line? Or another approach: It looks like you were able to get the details for that host anonymously on the command-line. Is there any reason you want Puppet to authenticate when searching? -- Rob McBroom <http://www.skurfer.com/

Re: [Puppet Users] LDAP ENC

2011-07-14 Thread Rob McBroom
at the logs on the LDAP server to see if the connection is being made and what the results are? -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to p

Re: [Puppet Users] Re: add lines to /etc/hosts on client

2011-07-08 Thread Rob McBroom
ure what you’re asking, but hopefully the answer’s in there somewhere. -- Rob McBroom <http://www.skurfer.com/> -- 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.

Re: [Puppet Users] Re: add lines to /etc/hosts on client

2011-07-08 Thread Rob McBroom
On Jul 8, 2011, at 12:45 PM, newguy wrote: > How can I add lines to smb.conf with out overwriting the content of > the file. I think Augeas is what you’re looking for (for this and other inevitable use cases). http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas -- Rob M

Re: [Puppet Users] AIX clients

2011-07-07 Thread Rob McBroom
On Jul 6, 2011, at 5:39 PM, Michael Stahnke wrote: > I had Ruby with SSL working on AIX 5.x and 6.x at my last job. Let me > see if I can find my notes about building ruby, and maybe I'll be able > to help out some. I’d appreciate it. Thanks. -- Rob McBroom <http://www.skurfe

Re: [Puppet Users] AIX clients

2011-06-30 Thread Rob McBroom
ince I figured the theoretical answer would cover them. Sorry. -- Rob McBroom <http://www.skurfer.com/> -- 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

[Puppet Users] AIX clients

2011-06-29 Thread Rob McBroom
some Python tool to generate the man pages. This dependency stuff could go on and on. So before I spend days dealing with these issues, I thought I’d see if anyone else has sorted them out already. Thanks. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because y

Re: [Puppet Users] Dashboard & LDAP ENC's

2011-06-29 Thread Rob McBroom
our shell, > etc. And to add to that, I’ve recently started looking at Fabric which allows you define a list of hosts in different “roles”. I can have these lists generated in real-time based on LDAP when the command runs. -- Rob McBroom <http://www.skurfer.com/> -- You received this

Re: [Puppet Users] Dashboard & LDAP ENC's

2011-06-29 Thread Rob McBroom
de). So I think what you’re seeing is expected behavior. The node should show up after its first Puppet run. If you want it to be more automatic, you may have to write something that queries LDAP and modifies the MySQL database. If you use Python, I’ve got a library that simplifies gettin

Re: [Puppet Users] Augeas match & Puppet

2011-06-29 Thread Rob McBroom
vc'] $svc Read the section of the wiki titled “A Better Way”. I have 26 Augeas resources and only one of them has “onlyif”. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to

Re: [Puppet Users] Re: ERB advice

2011-04-15 Thread Rob McBroom
hing like that work in your case? Well, it has to be 999 or less, and the IPs differ enough between them that I couldn’t just assume the last one or two octets will make it unique. I’ll probably just use a combination of environment and the integer present in the hostname. Thanks. -- Rob

[Puppet Users] ERB advice

2011-04-15 Thread Rob McBroom
on’t want to rely on that. What I really need is something like an MD5 sum of each hostname, but the resulting numbers are obviously way too big. Thanks. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet U

Re: [Puppet Users] failed dependancy on augas provider doesn't let me install the dependancy

2011-03-31 Thread Rob McBroom
awful. Of course the best way to fix it, as you pointed out, is to take whatever mechanism is installing Puppet and have it install Augeas too. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] nodes: internal, external, or LDAP?

2011-03-10 Thread Rob McBroom
ABC”, running `ssh-keyscan`, populating a local file for hostname completion in your shell, etc. I could go on, but I think you get the idea. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" gro

Re: [Puppet Users] Augeas input needed

2011-01-27 Thread Rob McBroom
subscribe => Augeas["authconfig"], refreshonly => true, } Of course you need to do a lot of other things as well (install packages, configure /etc/ldap.conf, distribute CA certs), but this covers the PAM stuff. The Augeas[“ldapauth”] line refers to /etc/ldap.conf, which Au

Re: [Puppet Users] "Registering" a node with a central service?

2011-01-27 Thread Rob McBroom
> server. Is there a standard way to do this, short of having some kind of web > service accessible from all the client systems? We track all of our systems in LDAP. This can be used by Puppet, but is also the source of information for our monitoring system and many, many other scripts.

Re: [Puppet Users] PSA: Please use tags when reporting bugs.

2011-01-27 Thread Rob McBroom
sections 4 or more spaces should also do the trick without requiring HTML tags. -- Rob McBroom <http://www.skurfer.com/> -- 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

Re: [Puppet Users] Puppet and augeas - onlyif conditions; overwriting default values

2010-12-29 Thread Rob McBroom
e same one in my particular case. Sounds like you've got them separated. Something else I don't use is virtual resources, but maybe that would apply here? If I understood them well enough to say for sure, I'd probably use them. :) -- Rob McBroom <http://www.skurfer.com/>

Re: [Puppet Users] Re: augeas / sudoers

2010-11-19 Thread Rob McBroom
ations In cases where I need multiple entries for the same user, I just use the Augeas type directly instead of the define. I would love it if the define could be updated to reliably handle this. Anyone have any ideas? -- Rob McBroom <http://www.skurfer.com/> -- You received this mes

Re: [Puppet Users] Restarting services

2010-11-09 Thread Rob McBroom
;: enable => true, } And then you can either use “subscribe” on the service or “notify” on the packages, config files, etc. (Although I have to think most properly made packages will restart the service for you if needed.) -- Rob McBroom <http://www.skurfer.com/> -- You receive

Re: [Puppet Users] fqdn vs short name

2010-11-03 Thread Rob McBroom
fqdn just as an alias in DNS, work? All of our (RHEL5) systems have their hostname set to their hostname (crazy!), but the Puppet client always generates certs based on the FQDN anyway. I'm not sure how honestly, but I haven't done anything special. The client is an RPM straight f

Re: MCollective Client Languages (WAS Re: [Puppet Users] Re: Accessing Facter in other languages than Ruby?)

2010-10-25 Thread Rob McBroom
keep track of his servers *in a Word document*. I wish I was kidding. (I put everything in an LDAP database, but he plugs his ears and says “la la la” when that comes up.) -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Gr

Re: [Puppet Users] problem w/ puppet & augeus : xinetd.d/rsync server_args value

2010-10-22 Thread Rob McBroom
On Oct 22, 2010, at 8:33 AM, Rob McBroom wrote: > Some quick poking around makes me think "value" won't work. You might need to > say "value[1]" or "value[last()]" or something. Looking further, here's an example from `tftp`: /files/etc

Re: [Puppet Users] problem w/ puppet & augeus : xinetd.d/rsync server_args value

2010-10-22 Thread Rob McBroom
orks there? Some quick poking around makes me think "value" won't work. You might need to say "value[1]" or "value[last()]" or something. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Group

Re: [Puppet Users] Puppet master reparsing every 24 hours

2010-10-21 Thread Rob McBroom
th NetBackup. The access time on our puppet.conf is less than 10 minutes ago, but the string “Reparsing” doesn't appear anywhere in the Puppetmaster's logs (which go back a month). Hope that helps in some way. -- Rob McBroom <http://www.skurfer.com/> -- You received this me

Re: [Puppet Users] Using Augeas to manage /etc/network/interfaces from Puppet

2010-10-06 Thread Rob McBroom
abs.com/projects/puppet/wiki/Puppet_Augeas You can usually avoid the ugly mess of using last() and onlyif, as shown in the wiki. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to

Re: [Puppet Users] Dynamic Variable Name

2010-10-06 Thread Rob McBroom
On Oct 6, 2010, at 2:48 PM, Rodrigo Lopes wrote: > Any alternative? There may be other options, but I would look at inline_template() for this. http://docs.puppetlabs.com/references/latest/function.html#inline_template -- Rob McBroom <http://www.skurfer.com/> -- You received thi

Re: [Puppet Users] Augeas type to edit/append to /etc/pam.d/sshd

2010-10-04 Thread Rob McBroom
7;]/module pam_mkhomedir.so", > "set *[module = 'pam_mkhomedir.so']/argument[1] umask=0022", >], Have you tried re-arranging these so the value for module is the first one set? I think you have to do it that way so the other three 'set' statement

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-10-01 Thread Rob McBroom
I've used Puppet, the type reference has said: “Set this attribute to present to make sure the filesystem is in the filesystem table but not mounted (if the filesystem is currently mounted, it will be unmounted).” See <http://docs.puppetlabs.com/guides/types/mount.html#id75> -- Rob

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread Rob McBroom
ed”. I would love it if that behavior were changed to just “put it in fstab”. Then I could actually use it. :) -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send e

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Rob McBroom
27;t know me Nigel. If this was your first post, maybe. But you could fill an encyclopedia with examples of you being a dick to people trying to help you on this list. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Need advice on managing large Centos environment

2010-09-22 Thread Rob McBroom
r caused problems for me was when Puppet and/or Augeas were updated in EPEL and a new system got the newer version before the rest of the environment was really set up for it. If you've got all these packages in a local repo (which is what I should be doing), you won't have to worry about

Re: [Puppet Users] Dashboard database optimization

2010-09-16 Thread Rob McBroom
ways import those if I really needed the data in the Dashboard.) -- Rob McBroom <http://www.skurfer.com/> -- 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. T

Re: [Puppet Users] augeas and /etc/securetty

2010-09-08 Thread Rob McBroom
/*[. = 'ttyS1'] ttyS1 but that doesn't appear to work for some reason. You may be stuck using last() (or ins) and onlyif. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users&qu

Re: [Puppet Users] augeas and /etc/securetty

2010-09-08 Thread Rob McBroom
examples using augeas, this one only has value per line, not > name-val pair. Which examples are you looking at? There's a lengthy discussion of this very scenario in the Wiki. http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas#Paths+for+Numbered+Items -- Rob McBroom

Re: [Puppet Users] help adding line to /etc/inittab

2010-09-03 Thread Rob McBroom
st identical to yours, but it only has the last 3 changes. If it still doesn't work, it may be that something doesn't like the ~ character. -- Rob McBroom <http://www.skurfer.com/> Before you give the government new power to go after bad guys, remember this: The power will be pe

Re: [Puppet Users] [puppet-server] - "/var/lib/puppet" while installing 0.25.5 puppet-server

2010-09-03 Thread Rob McBroom
`/var/lib/puppet/`. I couldn't be completely wrong about that, though. -- Rob McBroom <http://www.skurfer.com/> The magnitude of a problem does not affect its ownership. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To p

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-27 Thread Rob McBroom
On Aug 27, 2010, at 2:53 PM, James Turnbull wrote: > Rob McBroom wrote: >> On Aug 27, 2010, at 2:11 PM, Brice Figureau wrote: >> >>> They're not real filenames just pointers to where the files are. >>> That means all files in: >>> lib/puppet/types

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-27 Thread Rob McBroom
`providers`. There are no files anywhere in the entire repo named `typename.rb` or `functioname.rb`. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

Re: [Puppet Users] Re: Change date format in puppet-dashboard

2010-08-27 Thread Rob McBroom
ates appear, not the time zone, but still, that's a great tip. Thanks. -- Rob McBroom <http://www.skurfer.com/> -- 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.co

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-27 Thread Rob McBroom
tioname.rb`, etc. in master or 2.6.x. -- Rob McBroom <http://www.skurfer.com/> -- 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 gr

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-27 Thread Rob McBroom
hing? Also, should I fork it on GitHub and work from that, or just clone the real deal? Maybe this is all answered on the Wiki, but it seems to be down right now. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups &quo

Re: [Puppet Users] Change date format in puppet-dashboard

2010-08-27 Thread Rob McBroom
shows dates like 2010-08-27 12:30 UTC Isn't that “the format the rest of the world uses” – largest to smallest? American style (which makes no sense to me) would be more like 08-27-2010 12:30 UTC -- Rob McBroom <http://www.skurfer.com/> -- You received this message because

Re: [Puppet Users] Is it safe to both import and inherit from a class?

2010-08-26 Thread Rob McBroom
accidental, it actually makes sense in a > declarative language. Good to know. Thanks. -- Rob McBroom <http://www.skurfer.com/> Before you give the government new power to go after bad guys, remember this: The power will be permanent. The definition of “bad guys ” will not. -- Y

[Puppet Users] Is it safe to both import and inherit from a class?

2010-08-26 Thread Rob McBroom
it's much easier to find all LDAP servers by searching for `class=ldap` than `(|(class=ldapconsumer)(class=ldapprovider))`. -- Rob McBroom <http://www.skurfer.com/> The magnitude of a problem does not affect its ownership. -- You received this message because you are subscribed

Re: [Puppet Users] Re: Is it possible to use hierarchic LDAP entries for puppet clients and parentnodes?

2010-08-26 Thread Rob McBroom
s was responsible for a list of "HostEntry" values, I would think simply calling those classes in sequence would do the trick and you could forget about inheritance. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Definitions in External Nodes

2010-08-26 Thread Rob McBroom
nd variables. Classes can call definitions. Facts and variables can be passed to those definitions. What additional functionality would you get? -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

Re: [Puppet Users] Re: Is it possible to use hierarchic LDAP entries for puppet clients and parentnodes?

2010-08-25 Thread Rob McBroom
n LDAP. That would give you a bit more control over what happens to inherited values. I added support for parent nodes to my LDAP setup, but have never once found a use for it because classes have always gotten the job done. -- Rob McBroom <http://www.skurfer.com/> Don't try to tell me so

Re: [Puppet Users] Is it possible to use hierarchic LDAP entries for puppet clients and parentnodes?

2010-08-23 Thread Rob McBroom
I don't know the answer to your question, but as an alternative, I believe you can specify more than one parentnode, so the node's entry could contain parentnode: 192_168_100_0 parentnode: zzbasenode to inherit things from both. -- Rob McBroom <http://www.skurfer.com/>

[Puppet Users] Augeas Documentation

2010-08-23 Thread Rob McBroom
ms" thing is so fundamental to using Augeas in Puppet that I moved it up to the main body and expanded it. Based on the Path Expressions documentation, I feel like there are some more tricks we could be using. So if anyone has some, please add them. -- Rob McBroom <http://www.skurfer.com/&

Re: [Puppet Users] strange interaction between ldap and puppet

2010-08-17 Thread Rob McBroom
e `nentries` is 50 or more during a Puppet run.) -- Rob McBroom <http://www.skurfer.com/> -- 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] Re: Using date in site.pp

2010-08-17 Thread Rob McBroom
the main docs site, though. http://docs.puppetlabs.com/guides/templating.html -- Rob McBroom <http://www.skurfer.com/> It's not that I think guns, drugs, prostitution, swimming, eating and reading should be legal. It's just that no one on Earth has the authority to make them i

Re: [Puppet Users] Using date in site.pp

2010-08-17 Thread Rob McBroom
nline template. http://docs.puppetlabs.com/references/latest/function.html#inline_template -- Rob McBroom <http://www.skurfer.com/> -- 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...@googlegroup

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-12 Thread Rob McBroom
ugeas examples: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas#Simple+Examples Again, the tags are where they should be, but it shows as normal text. Thanks. (I'll probably be practically rewriting that page. I'm finding much easier, more reliable ways to use Augeas t

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-12 Thread Rob McBroom
On Aug 11, 2010, at 4:48 PM, James Turnbull wrote: > Rob McBroom wrote: >> 1) It looks like text enclosed `like this` is properly converted to >> like this on the back-end, but there’s no styling to set this >> text apart. (It should show up in a fixed-width font at the v

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-11 Thread Rob McBroom
, but if I were to fork that repo, I could just send a pull request, right? [1]: http://docs.puppetlabs.com/references/latest/configuration.html -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-11 Thread Rob McBroom
of thing you’re asking for help with, and if I get time I’ll try, but the first issue I think needs to be fixed in the CSS file(s) across the board. Thanks. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppe

Re: [Puppet Users] "ensure => running" an init script that isn't actually a service ?

2010-08-06 Thread Rob McBroom
and looks at the exit status. 0 means “running” and everything else means not running. `service network status` exits with 0 on my RHEL5 systems. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] a basic(?) mount resource

2010-08-05 Thread Rob McBroom
to 'present' I don’t understand this behavior. Why on Earth would I want to define something in `fstab` that is guaranteed to get unmounted at some random time in the next 30 minutes? -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribe

[Puppet Users] a basic(?) mount resource

2010-08-04 Thread Rob McBroom
not recommended. If I add `ensure => present`, the entry gets added, but according to the documentation, "if the filesystem is currently mounted, it will be unmounted". I don't want Puppet to unmount (or mount) it. I just want it defined in `fstab` so it can be easily mounted a

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Rob McBroom
On Aug 3, 2010, at 2:30 PM, Rein Henrichs wrote: > Rob, looks like you've already resolved the issue. Yes. Thanks everyone for the responses. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Us

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Rob McBroom
ck. Thanks. Now, some questions: 1. Is that a good idea; For the web server to have write access to the application itself? 2. Why wasn’t this necessary with previous versions? 3. If it is necessary, should it be mentioned in the installation instructions? -- Rob McBroom <http://ww

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Rob McBroom
, :cache => ‘all’ …followed by a trace through the application. The `production.log`, though it’s now writable, contains nothing. So I guess it’s trying to cache all the stylesheets and JavaScript into one file? I chowned the `stylesheets` directory to apache:apache, but I still see the error. Is

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-02 Thread Rob McBroom
/lib/ruby/site_ruby/1.8/puppet/reports/ service httpd restart >From looking at the database directly, new reports are being stored, which I >suppose is the most important thing, but where can I find error logs for the >web interface? Thanks. -- Rob McBroom <http://www

Re: [Puppet Users] Puppet_Augeas: Working Examlples

2010-07-29 Thread Rob McBroom
wrong. Can anyone test it? (Not one of my examples. It’s one of the first up in the main body.) I wrote everything in Markdown before I tried to edit the page. Happy to find out all I had to do was “Paste” and be done. :) -- Rob McBroom <http://www.skurfer.com/> Don't try to tel

Re: [Puppet Users] Puppet_Augeas: Working Examlples

2010-07-29 Thread Rob McBroom
new line on every Puppet run as it’s currently written? -- Rob McBroom <http://www.skurfer.com/> -- 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 unsubscr

Re: [Puppet Users] Catching failure with templates

2010-07-29 Thread Rob McBroom
in my `fileserver.conf`. Then, in the manifests, I can just do this: content => template("$environment/path/file.erb"), -- Rob McBroom <http://www.skurfer.com/> It's not that I think guns, drugs, prostitution, swimming, eating and reading should be legal. It's just tha

[Puppet Users] Augeas working inconsistently

2010-07-27 Thread Rob McBroom
try { "rob": user => "rmcbroom”, } If the entry is already there, this will add the “tag” to it: sudoentry { "rob": user => "rmcbroom", tag => "NOPASSWD", } But if the user doesn’t exist and you try to add the entr

[Puppet Users] Catching failure with templates

2010-07-27 Thread Rob McBroom
ther ideas would be appreciated.) Thanks. -- Rob McBroom <http://www.skurfer.com/> Don't try to tell me something is important to you if the whole of your “support” entails getting Congress to force *others* to spend time and money on it. -- You received this message because you are

Re: [Puppet Users] Getting started

2010-07-26 Thread Rob McBroom
ay… http://docs.reductivelabs.com/#getting_started -- Rob McBroom <http://www.skurfer.com/> -- 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

Re: [Puppet Users] instantiating defines in LDAP

2010-07-23 Thread Rob McBroom
called that define as needed within classes. To put it another way, the defines should be called from inside classes along with file, package, server and other resources. Creating a class exclusively to call a single define seems off to me, but of course I don’t know the details of your situation

Re: [Puppet Users] instantiating defines in LDAP

2010-07-23 Thread Rob McBroom
=> "root", group => "ldap", mode => "640", source => "puppet://puppet/files/$environment/ldap/$hostname.replication", notify => Service["ldap”], } Although, now that I think about it, the per-host changes in

Re: [Puppet Users] Re: checking if a user exists

2010-07-23 Thread Rob McBroom
e. It seems that fixing the current UIDs by hand > would work. In that case, couldn’t you just have the package manage the user? -- Rob McBroom <http://www.skurfer.com/> It's not that I think guns, drugs, prostitution, swimming, eating and reading should be legal. It's ju

Re: [Puppet Users] checking if a user exists

2010-07-23 Thread Rob McBroom
rectory, but if the user owns any files elsewhere, you’ll need to fix them by hand. It can be a big project, but once the UID is fixed, Puppet won’t try to run `usermod` at all. If you don’t care about keeping the UID consistent, then yeah, remove that line as suggested. -- Rob McBroom <

Re: [Puppet Users] Installing a module FIRST

2010-07-22 Thread Rob McBroom
need with a specific, low numbered UID, rather than just picking the next available? FWIW, We started numbering our LDAP users at 1100 to avoid such conflicts. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "P

Re: [Puppet Users] A WTF moment brought to you by Puppet + [confused] nscd

2010-07-20 Thread Rob McBroom
On Jul 20, 2010, at 10:40 AM, Jonathan Share wrote: > Any reason for not specifying the uid parameter for the user? Well, just that I’m not looking to “change” the UID so I shouldn’t need to mention it at all. After what happened yesterday though, I’m considering it. -- Rob McBroom &l

[Puppet Users] A WTF moment brought to you by Puppet + [confused] nscd

2010-07-20 Thread Rob McBroom
row in a temporary rule to set root’s UID back to 0. After 30 minutes, I was able to get in and figure out what happened. Like I said, Puppet didn’t do anything wrong, but I wonder: If its internal logic leads it to conclude that it needs to create new user named “root”, should it maybe think

Re: [Puppet Users] Re: Distributing passwd/group/shadow

2010-07-20 Thread Rob McBroom
but I’ve been able to do most of what I need just using classes. -- Rob McBroom <http://www.skurfer.com/> -- 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.

Re: [Puppet Users] subscribing a service to multiple files ?

2010-07-16 Thread Rob McBroom
Also worth mentioning: Puppet is smart enough to only restart the service once if more than one of the files it depends on are changed. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

Re: [Puppet Users] subscribing a service to multiple files ?

2010-07-16 Thread Rob McBroom
File["you_get_the_idea"], ], Or you can use “notify” on each individual file instead of using “subscribe” on the service if you find that easier to manage. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Augeas and grub.conf

2010-07-15 Thread Rob McBroom
u can use `count()` as in `match title[*]/kernel/*[count(rhgb) = 1]`. Unfortunately with this particular case, Augeas seems to assign a count of 0 to both missing items and items with a value of “(none)”, so you can’t distinguish. There might be a way. I’m no expert. For what it’s worth, I know h

Re: [Puppet Users] Re: puppet and augeas to keep ntp.conf

2010-07-14 Thread Rob McBroom
bably wrong, but I’m sure there’s something along those lines that’ll work. > And where is description of augeas behavior? This is a good place to start: http://augeas.net/page/Path_expressions -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are su

Re: [Puppet Users] puppet and augeas to keep ntp.conf

2010-07-12 Thread Rob McBroom
subsequent runs, it finds something at that path, sees that it’s already set to the desired value, and does nothing. The syntax above might not work exactly as is, but hopefully you get the idea. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you

Re: [Puppet Users] Puppet report server

2010-07-08 Thread Rob McBroom
lems before we switched. -- Rob McBroom <http://www.skurfer.com/> -- 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 e

Re: [Puppet Users] Sun Java module for RedHat

2010-07-06 Thread Rob McBroom
ementary” channel, so Puppet can’t install them unless the system is subscribed to that channel first (and I don’t know of a way to subscribe it automatically using Puppet). I only have 2 servers like this, so I haven’t really dug in to find a better solution. -- Rob McBroom <http://www.skur

Re: [Puppet Users] Re: augeas and sudo woes

2010-06-30 Thread Rob McBroom
to the file on every single Puppet run. You could add an ‘onlyif’, but by using `last() + 1` and ‘onlyif’ you can only add entries.” for a solution. -- Rob McBroom <http://www.skurfer.com/> Don't try to tell me something is important to you if the whole of your “support” entails ge

Re: [Puppet Users] Re: augeas and sudo woes

2010-06-30 Thread Rob McBroom
y has an entry. Maybe you’re OK with that, but it’s something to be aware of. -- Rob McBroom <http://www.skurfer.com/> -- 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...@googlegroup

Re: [Puppet Users] augeas and sudo woes

2010-06-30 Thread Rob McBroom
On Jun 30, 2010, at 10:36 AM, Rob McBroom wrote: > In any case, I would try this: > >"set spec[last()]/host_group/command 'NOPASSWD: ALL’”, And of course replace the fancy quotes my mail client inserted. -- Rob McBroom <http://www.skurfer.com/> -- You received

Re: [Puppet Users] augeas and sudo woes

2010-06-30 Thread Rob McBroom
ot;set spec[user = 'rmcbroom']/host_group/host ALL", "set spec[user = 'rmcbroom']/host_group/command ALL", "set spec[user = 'rmcbroom']/host_group/command/runas_user ALL”, ], } This will add the entry if it doesn’t exist, but i

Re: [Puppet Users] LDAP node search stopped working after Puppetmaster upgrade

2010-06-30 Thread Rob McBroom
see attempts from the Puppetmaster to search > the directory (i.e., no connections to the ldap server). I’ve had no trouble with 0.25.4. Is that the version you’re on or are you on 0.25.5? -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed

Re: [Puppet Users] node inheritance for external nodes

2010-06-22 Thread Rob McBroom
ntNode attribute. -- Rob McBroom <http://www.skurfer.com/> The magnitude of a problem does not affect its ownership. -- 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.co

  1   2   >