search for: userspec

Displaying 4 results from an estimated 4 matches for "userspec".

Did you mean: usersec
2009 Oct 07
1
Mixing Ruby and Puppet
...user definitions in a single string, and make something like the following. Should I go down this way, or should I use a template that takes the array and creates all users in one go? $users = [ "223 sip.login allyourbase Sip Extension 223" ] $users.split().each do |userspec| spec = userspec.split() asterisk::user { spec[1]: full => spec[4..42], secret => spec[2], extension => spec[0], } end Please forgive my lack of Ruby-fu, I''m still making baby-steps. Thank you, -- Luis Bru...
2004 Feb 10
22
Re: [Shorewall-newbies] specific log-prefix ... patch
Let''s move this to the Shorewall Development list.... On Tuesday 10 February 2004 03:14 pm, xavier wrote: > here is a patch to allow this : > |ACCEPT<10/sec:20>:debug fw lan:$ntp_servers udp 123 - - - - ntp > > a problem with the patch is that now the logprefix is mandatory. > i''m trying to debug it, but i can''t find the flaw. Also, with
2005 Feb 01
4
Shorewall problem
I am getting the following message when Shorewall stops can anybody shed any light on this message and where I should be looking? Thanks root@bobshost:~# shorewall stop Loading /usr/share/shorewall/functions... Processing /etc/shorewall/params ... Processing /etc/shorewall/shorewall.conf... Loading Modules... Stopping Shorewall...Processing /etc/shorewall/stop ... IP Forwarding Enabled
2006 Dec 24
6
What do you think of this controller spec?
Here''s a controller spec I wrote, it''s for a very simple RESTful controller (well, aren''t all RESTful controllers simple? :) I''ve created a couple spec helper methods to refactor some of the common code...for example, require_login_and_correct_user creates two specifications: one for when the user isn''t logged in, and one when the user is logged in but