Good software for centrally managing jobs on mixed OS clients
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
Yeah I've been pestered to learn Puppet for ages but never knew that it could also manage cron/at jobs too.... if that is the case then it's awsome!
Thanks for that
[EDIT]
Hmm... it seems that Puppet can manage cron jobs but only through a crontab and not under /etc/cron.d/
Just discovered this:
Quote:
The built in Puppet type only manages per user crontab files (the kind that exist under /var/spool/cron on Linux). There is currently no built in way to explicitly manage cron file entries under /etc, although you can use many of the other types as a work around.
well it could always drop files into certain places, which is often more than enough, but it does also have dedicated "cron" and "scheduled-task" objects to use to do it properly. Offhand, I'm not so sure it's possible to remove them though, so dropping a file in cron.d might be a better approach depending on your needs and my recollection of its features.
well the puppet client for windows is new, but the code is highly portable and generic, so there's not a vast amount of additional work required, not a rewrite by any means, and is being worked on very hard to bring it up to speed. I've never used it against windaz yet though so can't personally comment.
As an aside, one key thing I found worked well for puppet is to split the types of client config in to two parts - general widely used configs defined within the node.pp configs and more specific configurations on aribitrary groups / individual clients to be obtained from a web front end like puppet dashboard using ENC lookups. So in the former, all linux hosts need ntp set up according to this one file, whilst in the latter, i want to group these 8 machines as "daves test servers" and make all those machines run the "daves config updates" code, which is still defined on the puppet server, but not associated to any machine by default. Puppet can be so flexible it can be hard to pin down a general way to use it, so I found that approach implicitly kept things tidy.
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
Nice
Actually a friend of mine who has been a UNIX engineer for 15 years or more has been pestering me to learn Puppet for quite a few months now. Never had the infrastructure before to take the time to learn it but this **may** be the time now!
I've not got the training VM for Vbox installed and am checking it out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.