Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: How best to validate the keys of hashref arguments?

by cbeckley (Curate)
on Mar 16, 2017 at 18:09 UTC ( [id://1184913]=note: print w/replies, xml ) Need Help??


in reply to Re: How best to validate the keys of hashref arguments?
in thread How best to validate the keys of hashref arguments?

Given how common the use of Perl is for system administration and further, that you and I are both trying to do the same thing, I'm surprised this isn't

Something That Has Been Done Before

I've done several searches on various permutations of "remote" "automated" "administration" "framework" and haven't turned up any examples of what I expect already exists in somebody's lovingly tended CPAN module.

I turned up https://www.amazon.com/Automating-System-Administration-Perl-Efficient/dp/059600639X/ref=sr_1_1?s=books&ie=UTF8&qid=1489687502&sr=1-1&keywords=perl+system+administration, naturally ...

But nothing that address fleet administration in a configurable fashion.

Does something like this already exist?

Thanks,
cbeckley

  • Comment on Re^2: How best to validate the keys of hashref arguments?

Replies are listed 'Best First'.
Re^3: How best to validate the keys of hashref arguments?
by nysus (Parson) on Mar 16, 2017 at 18:26 UTC

    I have been asking kind of the same question recently. I was told no such animal exists. Read through that discussion on how one might change privileged files securely, though. It's interesting. As pointed out in that thread, there are beasts out there like webmin (which I forgot about years ago) but it is full of security holes and it's ill-advised to use it.

    For now, I'm just kind of writing modules for use on my own personal home network to help me automate set up of websites on local machines with an eye toward eventually being able to automate tasks on a live server as a long term goal. Thanks for the link to the book. Maybe I'll check it out.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

      I have been asking kind of the same question recently. I was told no such animal exists.

      First, you should have linked to Re^12: Best way to write to a file owned by root?. Secondly, you were NOT told that no such tool exists:

      Is there some tool or module already out like that that would allow me safely automate updates to my /etc/hosts file?
      I don't know of any.

      One person stating lack of knowledge is quite different from non-existence. Automated, remote administration of a bunch of machines should be a common problem. So, some solutions should exist. How secure those solutions are, and how well they scale, are different questions.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1184913]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found