Skip to content

Commit

Permalink
Add User and Group folders.
Browse files Browse the repository at this point in the history
  • Loading branch information
cabeca committed May 3, 2012
1 parent fce9a0d commit 62bb3eb
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Group/group-append.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>
15 changes: 15 additions & 0 deletions Group/group.sublime-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>
20 changes: 20 additions & 0 deletions User/user.sublime-snippet
@@ -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.