search for: disableuser

Displaying 2 results from an estimated 2 matches for "disableuser".

Did you mean: disable_user
2007 Jul 05
1
Is this correct?
...y. Here is what I have so far. Can someone tell me if the syntax and constructs look correct? The goal. I want to have a function that disables a user. For each user listed, if the user is present, then disable that user. Here is my class file. /etc/puppet/classes/users.pp class users { define disableuser($user) { exec { "passwd -l $user":} } user {"lp": ensure => ? present { disableuser("lp"} } } Thanks for any help! --------------------------------- Get your own web address. Have a HUGE year through Yahoo! Small Business. _________________________________...
2005 Jan 13
10
Program logic behind Ruby On Rails
Hi, I''m a newbie in both Ruby and Ruby on Rails. I finished the Ruby on Rail Tutorial on Todo list and it was great. But, now I''m trying to understand the logic behind it, that is something that is not obvious on how each one of them ties together. Is there a flowchart that shows how the inner working of Ruby on Rails? In another words, let''s suppose we consider the