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

2011-11-07 Thread Rob McBroom
. 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 that mess with the above three lines? -- Rob McBroom http://www.skurfer.com/ -- You received

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

2011-10-04 Thread Rob McBroom
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. To unsubscribe from

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

2011-09-26 Thread Rob McBroom
, 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 Users group. To post

Re: [Puppet Users] manage sudoers with augeas

2011-08-29 Thread Rob McBroom
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 post to this group, send email

Re: [Puppet Users] manage sudoers with augeas

2011-08-25 Thread Rob McBroom
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, send email to puppet-users@googlegroups.com. To unsubscribe from

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 syntax error, the file

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 Google Groups Puppet

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/ -- You received

Re: [Puppet Users] LDAP ENC

2011-07-15 Thread Rob McBroom
) 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 Google Groups Puppet Users group. To post

Re: [Puppet Users] LDAP ENC

2011-07-14 Thread Rob McBroom
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 puppet-users@googlegroups.com

Re: [Puppet Users] LDAP ENC

2011-07-14 Thread Rob McBroom
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/ -- You received

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 McBroom

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

2011-07-08 Thread Rob McBroom
, 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. To unsubscribe from this group, send email

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.skurfer.com/ -- You

Re: [Puppet Users] AIX clients

2011-06-30 Thread Rob McBroom
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 from this group, send email

Re: [Puppet Users] Augeas match Puppet

2011-06-29 Thread Rob McBroom
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 this group, send email to puppet-users@googlegroups.com

Re: [Puppet Users] Dashboard LDAP ENC's

2011-06-29 Thread Rob McBroom
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 message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email

[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 you

[Puppet Users] ERB advice

2011-04-15 Thread Rob McBroom
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 Users group. To post

Re: [Puppet Users] Re: ERB advice

2011-04-15 Thread Rob McBroom
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 McBroom http://www.skurfer.com/ -- You received

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

2011-03-31 Thread Rob McBroom
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 group. To post to this group, send email to puppet

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

2011-03-10 Thread Rob McBroom
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 group. To post to this group, send email to puppet-users@googlegroups.com

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

2011-01-27 Thread Rob McBroom
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@googlegroups.com. To unsubscribe from this group, send

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

2011-01-27 Thread Rob McBroom
. 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. -- Rob McBroom http

Re: [Puppet Users] Augeas input needed

2011-01-27 Thread Rob McBroom
, distribute CA certs), but this covers the PAM stuff. The Augeas[“ldapauth”] line refers to /etc/ldap.conf, which Augeas can also manage. If you’re on a different OS, let me know and I’ll see if there’s a simpler way to do the PAM stuff. -- Rob McBroom http://www.skurfer.com/ -- You

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

2010-12-29 Thread Rob McBroom
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/ -- You received this message because you

Re: [Puppet Users] Re: augeas / sudoers

2010-11-19 Thread Rob McBroom
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 message because you

Re: [Puppet Users] Restarting services

2010-11-09 Thread Rob McBroom
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 received this message because you are subscribed

Re: [Puppet Users] fqdn vs short name

2010-11-03 Thread Rob McBroom
, 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 from EPEL. -- Rob McBroom http

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

2010-10-22 Thread Rob McBroom
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 Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group

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/xinetd.d/tftp/tftp/server_args /files/etc/xinetd.d/tftp

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

2010-10-21 Thread Rob McBroom
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 message because you are subscribed to the Google Groups Puppet Users

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 this message

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

2010-10-06 Thread Rob McBroom
/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 this group, send email to puppet-us

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

2010-10-04 Thread Rob McBroom
] 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' statements can find the path. -- Rob McBroom http://www.skurfer.com/ -- You received this message because you are subscribed

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

2010-10-01 Thread Rob McBroom
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 McBroom http://www.skurfer.com

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

2010-09-30 Thread Rob McBroom
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 email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Rob McBroom
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 Puppet Users group. To post to this group, send email

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

2010-09-22 Thread Rob McBroom
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 that. -- Rob McBroom http://www.skurfer.com/ -- You received this message because you

Re: [Puppet Users] Dashboard database optimization

2010-09-16 Thread Rob McBroom
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. To unsubscribe from this group, send email to puppet-users+unsubscr

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

2010-09-08 Thread Rob McBroom
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 http://www.skurfer.com/ -- You

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

2010-09-08 Thread Rob McBroom
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 group. To post to this group, send email to puppet-us

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

2010-09-03 Thread Rob McBroom
/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 post to this group, send email to puppet

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

2010-09-03 Thread Rob McBroom
, 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 permanent. The definition of “bad guys ” will not. -- You received this message because you

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

2010-08-27 Thread Rob McBroom
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 you are subscribed

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

2010-08-27 Thread Rob McBroom
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 Puppet Users group. To post to this group, send email to puppet-us

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

2010-08-27 Thread Rob McBroom
. 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 group, send email to puppet-users+unsubscr

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

2010-08-27 Thread Rob McBroom
, 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.com. To unsubscribe from this group, send email to puppet-users

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

2010-08-27 Thread Rob McBroom
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 puppet-us...@googlegroups.com. To unsubscribe from

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/*.rb lib/puppet/providers/*.rb That's my typo - mea culpa

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

2010-08-26 Thread Rob McBroom
, 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 Groups Puppet Users group. To post to this group, send email

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

2010-08-26 Thread Rob McBroom
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 to the Google Groups Puppet Users group

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

2010-08-26 Thread Rob McBroom
, 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. -- You received this message because

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

2010-08-25 Thread Rob McBroom
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 something is important to you if the whole of your “support” entails getting

[Puppet Users] Augeas Documentation

2010-08-23 Thread Rob McBroom
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/ -- You received this message

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/ The magnitude

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

2010-08-17 Thread Rob McBroom
://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...@googlegroups.com. To unsubscribe from this group

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

2010-08-17 Thread Rob McBroom
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 illegal. -- You received

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

2010-08-17 Thread Rob McBroom
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 from this group, send email to puppet-users+unsubscr

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 codelike this/code 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 very least). I've

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

2010-08-12 Thread Rob McBroom
+Examples Again, the code 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 than what we have traditionally done.) -- Rob McBroom http://www.skurfer.com/ -- You

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

2010-08-11 Thread Rob McBroom
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 Puppet Users group. To post

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

2010-08-11 Thread Rob McBroom
://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 group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email

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

2010-08-06 Thread Rob McBroom
” 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 group. To post to this group, send email to puppet-us

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

2010-08-05 Thread Rob McBroom
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 subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com

[Puppet Users] a basic(?) mount resource

2010-08-04 Thread Rob McBroom
Puppet to unmount (or mount) it. I just want it defined in `fstab` so it can be easily mounted as needed. Can that be done? 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

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

2010-08-03 Thread Rob McBroom
to apache:apache, but I still see the error. Is there a list of paths that Passenger expects write-access to somewhere? Why wasn’t this an issue before? Thanks. -- Rob McBroom http://www.skurfer.com/ -- You received this message because you are subscribed to the Google Groups Puppet Users group

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

2010-08-03 Thread Rob McBroom
; 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://www.skurfer.com/ -- You received this message because you are subscribed

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 Users group. To post

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.skurfer.com/ -- You

Re: [Puppet Users] Catching failure with templates

2010-07-29 Thread Rob McBroom
`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 that no one on Earth has the authority to make

Re: [Puppet Users] Puppet_Augeas: Working Examlples

2010-07-29 Thread Rob McBroom
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 unsubscribe from this group, send email to puppet-users+unsubscr

Re: [Puppet Users] Puppet_Augeas: Working Examlples

2010-07-29 Thread Rob McBroom
. 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 tell me something

[Puppet Users] Catching failure with templates

2010-07-27 Thread Rob McBroom
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 subscribed to the Google Groups Puppet

[Puppet Users] Augeas working inconsistently

2010-07-27 Thread Rob McBroom
need_to_run to 0 failed: Save failed with return code false Any guesses? Am I missing something? (I realize with the define as written, there are potential uniqueness problems for users with multiple entries, etc. It’s a work in progress.) -- Rob McBroom http://www.skurfer.com/ -- You received

Re: [Puppet Users] Getting started

2010-07-26 Thread Rob McBroom
://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 this group, send email to puppet

Re: [Puppet Users] checking if a user exists

2010-07-23 Thread Rob McBroom
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 http://www.skurfer.com

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

2010-07-23 Thread Rob McBroom
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 just that no one on Earth has the authority

Re: [Puppet Users] instantiating defines in LDAP

2010-07-23 Thread Rob McBroom
= Service[ldap”], } Although, now that I think about it, the per-host changes in that example are so minimal, I should probably look into using `puppetVar` and a template for this file. -- Rob McBroom http://www.skurfer.com/ -- You received this message because you are subscribed

Re: [Puppet Users] instantiating defines in LDAP

2010-07-23 Thread Rob McBroom
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. -- Rob McBroom http://www.skurfer.com/ Don't try to tell me something is important to you if the whole of your

Re: [Puppet Users] Installing a module FIRST

2010-07-22 Thread Rob McBroom
, 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 Puppet Users group. To post to this group, send email

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

2010-07-20 Thread Rob McBroom
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. To unsubscribe from this group, send email

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

2010-07-20 Thread Rob McBroom
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 twice? -- Rob McBroom http

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. To post

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

2010-07-14 Thread Rob McBroom
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 subscribed to the Google Groups Puppet

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

2010-07-12 Thread Rob McBroom
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 are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com

Re: [Puppet Users] Puppet report server

2010-07-08 Thread Rob McBroom
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 email to puppet-users+unsubscr

Re: [Puppet Users] Sun Java module for RedHat

2010-07-06 Thread Rob McBroom
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.skurfer.com/ If you need something, that doesn't mean

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

2010-06-30 Thread Rob McBroom
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 to the Google Groups Puppet

Re: [Puppet Users] augeas and sudo woes

2010-06-30 Thread Rob McBroom
”, ], } This will add the entry if it doesn’t exist, but it will also apply changes to individual settings (like host_group/command). And if the entry exists as defined, Puppet does nothing, which is what you want. -- Rob McBroom http://www.skurfer.com/ Don't try to tell me something

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 this message because you

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

2010-06-30 Thread Rob McBroom
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...@googlegroups.com. To unsubscribe from this group, send

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 getting Congress

Re: [Puppet Users] node inheritance for external nodes

2010-06-22 Thread Rob McBroom
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.com. To unsubscribe from

Re: [Puppet Users] augeas and sendmail aliases

2010-06-17 Thread Rob McBroom
an “onlyif” after all. You might also try the native mail alias type, as someone else suggested. http://docs.puppetlabs.com/references/latest/type.html#mailalias -- 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

Re: [Puppet Users] augeas and sendmail aliases

2010-06-16 Thread Rob McBroom
to get comfortable with how it works. -- 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 illegal. -- You received this message because you

Re: [Puppet Users] External Nodes Examples

2010-06-07 Thread Rob McBroom
to use for external nodes, but I use LDAP where classes are the primary thing, but you can also set various ‘puppetVars’ on an individual node if you really need a one-off configuration. -- Rob McBroom http://www.skurfer.com/ The magnitude of a problem does not affect its ownership. -- You

Re: [Puppet Users] augeas type and /etc/services

2010-06-04 Thread Rob McBroom
/service-name[161]/protocol = tcp /files/etc/services/service-name[161]/#comment = MCom -- 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

Re: [Puppet Users] augeas type and /etc/services

2010-06-04 Thread Rob McBroom
These types of paths seem to match the correct thing as well: /files/etc/services/service-name[port = '443' and protocol = 'tcp'] /files/etc/services/*[port = '443' and protocol = 'tcp'] Maybe you should just take a look at http://augeas.net/page/Path_expressions. -- Rob McBroom http

Re: [Puppet Users] augeas type and /etc/services

2010-06-04 Thread Rob McBroom
On Jun 4, 2010, at 11:55 AM, Christopher Johnston wrote: What version of augeas are you using? I am on 0.5.3 I don't think support has been added to do some of that functionality I am going to upgrade 0.7.0 -- Rob McBroom http://www.skurfer.com/ -- You received this message because you

  1   2   >