Comments (11)
@gomex login into instance with kitchen login
, run these commands manually and try to figure out ?
from kitchen-puppet.
@ytsarev I already did that. That files was removed from box after kitchen provision :(
from kitchen-puppet.
there are a few hits on google
https://groups.google.com/forum/#!topic/puppet-users/EtumyaMY_oM
http://stackoverflow.com/questions/10559724/puppet-accidently-deleted-etckeeper-commit-pre-and-etckeeper-commit-post-is-ther
https://www.packtpub.com/books/content/puppet-integrating-external-tools
https://bugs.launchpad.net/openstack-cisco/+bug/1191090
kitchen-puppet just install puppet in a couple of different ways.
it looks like you config these in the puppet.conf. is that true?
I expect it is a puppet or ubuntu issue or something in the way you want to install puppet.
If you can find out the issue we can alway add a parameter to kitchn-puppet to support it.
are you running puppet apply or the puppet agent with puppetmaster.
there are so copies of the file:
https://github.com/timcowlishaw/Puppet/blob/master/etckeeper-commit-pre
I think you just need to do some research to understand what these files are.
from kitchen-puppet.
I guess the core issue is just this /etc/puppet clean up https://github.com/neillturner/kitchen-puppet/blob/master/lib/kitchen/provisioner/puppet_apply.rb#L419
from kitchen-puppet.
oh, no, scratch that, it's for git_init only
from kitchen-puppet.
@neillturner I have this config in my puppet.conf:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
from kitchen-puppet.
My workaround was:
prerun_command=/etc/puppet/hieradata/etckeeper-commit-pre
postrun_command=/etc/puppet/hieradata/etckeeper-commit-post
hieradata folder is copied with "hiera_data_remote_path".
from kitchen-puppet.
That workaround don't works in agent :( Because in the agent don't have hieradata.
Is there any other way to fix it?
from kitchen-puppet.
This was fixed with #83 because now I can use jessie repository that put etckeeper files in correct place 👍 This problem will break in ubuntu packages. Is there any way to send that files to test machine?
from kitchen-puppet.
The spec/fixtures
directory will be copied over to the test machine if that's what you're looking for
from kitchen-puppet.
closing this as we have merged #83
from kitchen-puppet.
Related Issues (20)
- Passing custom facts to provisioner that has a hash results in garbage values HOT 1
- No example of facter_file HOT 3
- dependency problems HOT 2
- sync environments dir HOT 3
- exported resources/storeconfigs HOT 1
- Don't copy unneeded files when testing a Puppet module HOT 2
- weird interaction with hiera? HOT 1
- Make puppet_coll_remote_path useable with require_puppet_collections == false HOT 4
- Running specific modules by overriding in command line HOT 1
- fixtures for rspec-puppet cause recursive copy during transferring files stage HOT 1
- puppet release package has been removed from repo HOT 2
- faraday gem conflict - how can I resolve this? HOT 2
- Allow test-kitchen 2.0.0 HOT 2
- puppet collections repo is incorrect HOT 1
- Puppet command not found error HOT 2
- Support for hiera_writer_files on different levels
- apt-transport-https missing HOT 1
- nil `basedir` when instantiating R10K::Puppetfile HOT 1
- How could I upgrade ruby version 2.3 inside puppet agent HOT 1
- debug? 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 kitchen-puppet.