Permalink
Browse files

Added Mdadm, Mount and Ohai folders.

  • Loading branch information...
cabeca committed May 3, 2012
1 parent 3bf232e commit 5e0c246a816e4f04ecea1fd8bd61524d2031fc36
@@ -0,0 +1,16 @@
+<snippet>
+ <content><![CDATA[
+mdadm "${1:/dev/md0}" do
+ devices [ ${2:"/dev/sda", "/dev/sdb"} ]
+ level ${3:1}
+ chunk ${4:64}
+ action [ ${5::create, :assemble} ]
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>mdadm</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>mdadm</description>
+</snippet>
@@ -0,0 +1,19 @@
+<snippet>
+ <content><![CDATA[
+mount "${1:/mnt/volume1}" do
+ action [${2::mount, :enable}]
+ device "${3:/dev/sda}"
+ device_type :${4:device}
+ fstype "${5:xfs}"
+ options "${6:rw}"
+ dump ${7:0}
+ pass ${8:2}
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>mountf</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>mount full</description>
+</snippet>
@@ -0,0 +1,16 @@
+<snippet>
+ <content><![CDATA[
+mount "${1:/mnt/volume1}" do
+ device "${2:volume1}"
+ device_type :label
+ fstype "${3:xfs}"
+ options "${4:rw}"
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>mountl</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>mount label</description>
+</snippet>
@@ -0,0 +1,16 @@
+<snippet>
+ <content><![CDATA[
+mount "${1:/mnt/local}" do
+ device "${2:nas1prod:/export/web_sites}"
+ fstype "${3:nfs}"
+ options "${4:rw}"
+ action [${5::mount, :enable}]
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>mountn</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>mount network</description>
+</snippet>
@@ -0,0 +1,14 @@
+<snippet>
+ <content><![CDATA[
+mount "${1:/mnt/local}" do
+ device "${2:/dev/sdb1}"
+ fstype "${3:ext3}"
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>mount</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>mount</description>
+</snippet>
@@ -0,0 +1,14 @@
+<snippet>
+ <content><![CDATA[
+ohai "reload" do
+ action :reload
+ plugin "${1:passwd}"
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>ohaip</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>ohai plugin</description>
+</snippet>
View
@@ -0,0 +1,13 @@
+<snippet>
+ <content><![CDATA[
+ohai "reload" do
+ action :reload
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>ohai</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>ohai</description>
+</snippet>

0 comments on commit 5e0c246

Please sign in to comment.