Permalink
Browse files

Add User and Group folders.

  • Loading branch information...
cabeca committed May 3, 2012
1 parent fce9a0d commit 62bb3eb204cfd12961e4633c8518a1b4e706c486
Showing with 51 additions and 0 deletions.
  1. +16 −0 Group/group-append.sublime-snippet
  2. +15 −0 Group/group.sublime-snippet
  3. +20 −0 User/user.sublime-snippet
@@ -0,0 +1,16 @@
+<snippet>
+ <content><![CDATA[
+group "${1:name}" do
+ action :create
+ gid ${2:999}
+ members [${3:'paco'}]
+ append ${4:true}
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>groupa</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>group append</description>
+</snippet>
@@ -0,0 +1,15 @@
+<snippet>
+ <content><![CDATA[
+group "${1:name}" do
+ action :create
+ gid ${2:999}
+ members [${3:'paco','vicente'}]
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>group</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>group</description>
+</snippet>
View
@@ -0,0 +1,20 @@
+<snippet>
+ <content><![CDATA[
+user "${1:random}" do
+ action :create
+ comment "${2:Random User}"
+ uid ${3:1000}
+ gid "${4:users}"
+ home "${5:/home/random}"
+ shell "${6:/bin/zsh}"
+ password "${7:\$1\$JJsvHslV\$szsCjVEroftprNn4JHtDi.}"
+ supports :manage_home => true
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>user</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>user</description>
+</snippet>

0 comments on commit 62bb3eb

Please sign in to comment.