summaryrefslogtreecommitdiff
path: root/manifests/openbsd.pp
AgeCommit message (Collapse)Author
2011-03-15instead of using $RANDOM, which isn't POSIX, we get even more esoteric by ↵Micah Anderson
pulling 2 bytes from /dev/urandom, giving them to od which turns them into unsigned decimals, and then we bitshift the output, either by 5 or 6 depending on if we are replacing $RANDOM/1000*60 (right sift by 5 is the same as dividing by 2^N, or /32) or $RANDOM/2000*60 (range of [0,983]) Thanks to dkg for working through this with me, not only did he come up with it faster than a human brain should be able to function, he had the patience to explain all the individual pieces that I did not understand to me.
2011-01-10fix the bc dependency (closes: #2690)Micah Anderson
this is done by removing the hacky `if !defined` on the bc package by removing the package dependency altogether and replacing the places where it is used by shell built-in math functions. this is a follow-up commit to 1455b1f9a55cdffc582fd93fa0bc5c016585760c
2010-11-28Fix whitespace and coding standards to use standard formatting styles (I ↵Micah Anderson
believe that this Closes #2353)
2010-08-17fix pattern for 2.6 openbsdmh
2010-08-17update openbsd stuff to 2.6 stylemh
2010-08-09quote special usernamemh
2010-08-09use correct user on openbsdmh
2010-08-06codestyle - whitespacemh
Only code style and whitespace formatting issues. Everything should no be in ligne.
2009-10-04use the new named definemh
2008-12-27factored classes out in their own filesmh