Comments (6)
I've added a defined type for adding entries to the bottom of .gitignore
, etc. You'd do something like:
::etckeeper::ignore { 'pve/*':
ensure => present,
}
from puppet-etckeeper.
Temporary solution:
git rm --cached -r pve
echo 'pve/*' >> /etc/.gitignore
etckeeper commit -m "remove pve folder"
from puppet-etckeeper.
In theory this requires just managing the .gitignore
file somehow however I don't want to end up fighting with etckeeper if it wants to manage its own block of ignores. Ideally I would want something that works for each of the supported VCS if they also have a way of ignoring files.
from puppet-etckeeper.
So etckeeper runs etckeeper update-ignore
to generate the list of ignores in whatever form each VCS wants. Any patterns added before or after the magic managed by etckeeper
comments are retained but if they're within those comments then a subsequent run of etckeeper update-ignore
will trash them. So ideally I need a way of managing just that bit of the file.
from puppet-etckeeper.
Thanks a lot. Works :-)
from puppet-etckeeper.
Ah... One last thing.
The already existing entries in git also needs to be removed. Adding the following command should do the trick for git:
- git rm --cached -r pve
from puppet-etckeeper.
Related Issues (12)
- Add option for yum plugin configuration HOT 1
- Why is Ubuntu 14.04 configured to use bzr? HOT 2
- git user.email and user.name should be set on Debian/Ubuntu HOT 4
- Add config switch if vcs package should be installed HOT 7
- Compatibility with puppetlabs-stdlib (v6.x)
- Compatibility with newer Debian and Ubuntu versions
- Drop old Puppet versions
- Convert to PDK
- Drop old OS versions
- Convert to Litmus
- Evaluation Error: Unknown function: 'has_key' in install.pp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-etckeeper.