Awk with bash variables
Simply pass a variable to awk
Read MoreSimply pass a variable to awk
Read MorePuppet file source only accepts puppet:// or file:// URIs I was trying to get a file downloaded from our repo and was able to do this file{ ‘/usr/local/sbin/tape’: ensure => directory, owner => ‘root’, group => ‘root’, mode => ‘0755’, }-> exec{‘get_TS3500CLI’: command => “/usr/bin/wget -q ftp://ftp.software.ibm.com/storage/358x/3584/TS3500CLI/TS3500CLI.jar -O /usr/local/sbin/tape/TS3500CLI.jar”, creates => “/usr/local/sbin/tape/TS3500CLI.jar”, }-> In this […]
Read MoreWe have been using php fileinfo for a while and were not happy about how office 2007 files were identified as .zip as mime type. Which is actually accurate they are zip archives. When serving those files back to users we had some users complain about file being identified as corrupt. If you can compile […]
Read More