Skip to content
Browse files

Fixes tabs issue from the previous commit

  • Loading branch information...
1 parent e5c5d5f commit 37440411dd5912021b0237b5ad1769438538cbbe @pmorillon pmorillon committed Mar 9, 2011
Showing with 46 additions and 46 deletions.
  1. +46 −46 snippets/puppet.snippets
View
92 snippets/puppet.snippets
@@ -1,55 +1,55 @@
# vim: nofoldenable foldmethod=manual
snippet file
- file {
- "${1:filename}":
- source => "puppet:///${2:source}",
- ensure => ${3:file},
- owner => ${4:root},
- group => ${5:root},
- mode => ${6:0755};
- }
+ file {
+ "${1:filename}":
+ source => "puppet:///${2:source}",
+ ensure => ${3:file},
+ owner => ${4:root},
+ group => ${5:root},
+ mode => ${6:0755};
+ }
snippet exec
- exec {
- "${1:name}":
- command => "${2:command}",
- refreshonly => "${3:true}",
- onlyif => "${4:run_if_true}",
- unless => "${5:run_if_false}",
- }
+ exec {
+ "${1:name}":
+ command => "${2:command}",
+ refreshonly => "${3:true}",
+ onlyif => "${4:run_if_true}",
+ unless => "${5:run_if_false}",
+ }
snippet package
- package {
- "${1:package_name}":
- ensure => ${2:installed};
- }
+ package {
+ "${1:package_name}":
+ ensure => ${2:installed};
+ }
snippet cron
- cron {
- "${1:name}":
- command => "${2:command}",
- hour => ${3:hour},
- minute => ${4:minute},
- day => ${5:day};
- }
+ cron {
+ "${1:name}":
+ command => "${2:command}",
+ hour => ${3:hour},
+ minute => ${4:minute},
+ day => ${5:day};
+ }
snippet class
- # Class:: $1
- #
- #
- class ${1:classname} {
- ${2:#code...}
- } # Class:: $1
+ # Class:: $1
+ #
+ #
+ class ${1:classname} {
+ ${2:#code...}
+ } # Class:: $1
snippet def
- # Define:: $1
- # Args:: $2
- #
- define ${1:defname}(${2:args}) {
- ${3:#code}
- } # Define: $1
+ # Define:: $1
+ # Args:: $2
+ #
+ define ${1:defname}(${2:args}) {
+ ${3:#code}
+ } # Define: $1
snippet inc
- include "${1}"
+ include "${1}"
snippet #head
- # Module:: ${1:modulename}
- # Manifest:: ${2:init.pp}
- #
- # Author:: `system("git config user.name")` (<`system("git config user.email")`>)
- # Date:: `system("ruby -e 'puts Time.now'")`
- #
- ${3}
+ # Module:: ${1:modulename}
+ # Manifest:: ${2:init.pp}
+ #
+ # Author:: `system("git config user.name")` (<`system("git config user.email")`>)
+ # Date:: `system("ruby -e 'puts Time.now'")`
+ #
+ ${3}

0 comments on commit 3744041

Please sign in to comment.
Something went wrong with that request. Please try again.