Skip to content

Commit ca367f4

Browse files
committed
Update gitignore and add a chefignore
Use the standard gitignore used in Chef managed cookbooks and add a chefignore file which limits the files uploaded to the chef server to speed up chef pulling down the artifacts.
1 parent a0dc008 commit ca367f4

2 files changed

Lines changed: 132 additions & 8 deletions

File tree

.gitignore

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
*.gem
2+
.zero-knife.rb
3+
*.rbc
4+
.bundle
5+
.config
6+
coverage
7+
InstalledFiles
8+
lib/bundler/man
9+
pkg
10+
rdoc
11+
spec/reports
12+
test/tmp
13+
test/version_tmp
14+
tmp
15+
Gemfile.lock
16+
_Store
117
*~
218
*#
319
.#*
@@ -7,15 +23,24 @@
723
*.tmp
824
*.bk
925
*.bkup
10-
.kitchen.local.yml
26+
.ruby-version
27+
.ruby-gemset
28+
.rvmrc
29+
30+
# YARD artifacts
31+
.yardoc
32+
_yardoc
33+
doc/
34+
.idea
35+
36+
#chef stuff
1137
Berksfile.lock
12-
Gemfile.lock
38+
.kitchen
39+
.kitchen.local.yml
40+
vendor/
41+
.coverage/
1342

14-
.bundle/
15-
.cache/
16-
.kitchen/
43+
#vagrant stuff
1744
.vagrant/
1845
.vagrant.d/
19-
bin/
20-
tmp/
21-
vendor/
46+
.kitchen/

chefignore

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Put files/directories that should be ignored in this file when uploading
2+
# or sharing to the community site.
3+
# Lines that start with '# ' are comments.
4+
5+
# OS generated files #
6+
######################
7+
.DS_Store
8+
Icon?
9+
nohup.out
10+
ehthumbs.db
11+
Thumbs.db
12+
13+
# SASS #
14+
########
15+
.sass-cache
16+
17+
# EDITORS #
18+
###########
19+
\#*
20+
.#*
21+
*~
22+
*.sw[a-z]
23+
*.bak
24+
REVISION
25+
TAGS*
26+
tmtags
27+
*_flymake.*
28+
*_flymake
29+
*.tmproj
30+
.project
31+
.settings
32+
mkmf.log
33+
34+
## COMPILED ##
35+
##############
36+
a.out
37+
*.o
38+
*.pyc
39+
*.so
40+
*.com
41+
*.class
42+
*.dll
43+
*.exe
44+
*/rdoc/
45+
46+
# Testing #
47+
###########
48+
.watchr
49+
.rspec
50+
spec/*
51+
spec/fixtures/*
52+
test/*
53+
features/*
54+
examples/*
55+
Guardfile
56+
Procfile
57+
test/*
58+
spec/*
59+
60+
# SCM #
61+
#######
62+
.git
63+
*/.git
64+
.gitignore
65+
.gitmodules
66+
.gitconfig
67+
.gitattributes
68+
.svn
69+
*/.bzr/*
70+
*/.hg/*
71+
*/.svn/*
72+
73+
# Berkshelf #
74+
#############
75+
Berksfile
76+
Berksfile.lock
77+
cookbooks/*
78+
tmp
79+
80+
# Cookbooks #
81+
#############
82+
CONTRIBUTING
83+
CHANGELOG*
84+
85+
# Strainer #
86+
############
87+
Colanderfile
88+
Strainerfile
89+
.colander
90+
.strainer
91+
92+
# Vagrant #
93+
###########
94+
.vagrant
95+
Vagrantfile
96+
97+
# Travis #
98+
##########
99+
.travis.yml

0 commit comments

Comments
 (0)