Comments (13)
I think there may be an issue with Puppetfile's that contain forge entries instead of git entries can you confirm which on you are using?
from puppet-r10k.
both, actually.
forge 'http://forge.puppetlabs.com'
mod 'puppetlabs/apache'
mod 'puppetlabs/mysql'
mod 'puppetlabs/vcsrepo'
mod 'puppetlabs/stdlib'
mod 'hunner/wordpress'
mod 'nanliu/staging'
mod 'seteam/opencsw'
mod 'xinetd',
:git => 'https://github.com/vchepkov/puppetlabs-xinetd.git',
:ref => 'development'
mod 'ntp',
:git => 'https://github.com/vchepkov/puppetlabs-ntp.git',
:ref => 'development'
from puppet-r10k.
@vchepkov are you still having this issue?
from puppet-r10k.
Yes, I even changed r10k version to 1.3.2, default was 1.1.0
But it didn't help. To test it I remove a module from an environment :
# rm -rf /etc/puppetlabs/puppet/environments/production/modules/staging/
# sudo -u peadmin /opt/puppet/bin/mco r10k synchronize
...
Finished processing 1 / 1 hosts in 2622.32 ms
And I see log entry in mcollective-audit.log on master, but yet no module
# tail /var/log/pe-mcollective/mcollective-audit.log
... agent=r10k action=synchronize data={:process_results=>true}
# ls /etc/puppetlabs/puppet/environments/production/modules/staging/
ls: cannot access /etc/puppetlabs/puppet/environments/production/modules/staging/: No such file or directory
I enabled prerun_command, but this brought up some other unexpected consequences. We are still working on the support ticket #6470, but it looks like inclusion of r10k into prerun_command breaks PE upgrade process.
from puppet-r10k.
Are you seeing the same behaviour with ntp, I am wondering if this is an issue with the Puppet Module Tool running via mcollective.
from puppet-r10k.
got modules are installed, i.e. NTP is
from puppet-r10k.
Stupid speller - git modules
from puppet-r10k.
I think the large majority of people use the git functionality who also use the webhook, so I need to try and trace this issue down, can you provide me with your version of PE?
from puppet-r10k.
Also any other relevant info such as OS version, selinux status. I think this has to do with the puppet module tool running under mcollective. So this for instance could be impacted by things like a proxy
from puppet-r10k.
I am using PE 3.3.2. RedHat 6.5, SELinux is disabled, no proxies.
from puppet-r10k.
After doing a bit of debugging (no strace or anything), I believe this may have something to do with r10k calling "puppet module" and assuming puppet is in the PATH. This is just a guess, but I've noticed the same issue happening when calling r10k from cron with a limited sh shell. As soon as we modified the cron job to have puppet in it's PATH, everything worked as expected.
After creating a link to the puppet binary to /usr/bin/puppet, everything worked as expected. This isn't a full blown formal proof or anything, but it's a good sign that the PATH is the issue.
from puppet-r10k.
from puppet-r10k.
Released in https://github.com/acidprime/r10k/releases/tag/v2.5.3
from puppet-r10k.
Related Issues (20)
- Remove dependence on old puppetlabs-git module
- Remove dependency on puppetlabs/ruby module HOT 1
- Support Bitbucket webhook pull request event type
- CLI arguments --no-ri and --no-rdoc have been deprecated since Ruby 2.6.0
- webhook pulling wrong version of git repo HOT 1
- Enhancement Request: Support ignore_branch_prefixes in config hash / seperate HOT 1
- updates on existing unit file fail to restart service due to missing systemctl daemon-reload HOT 2
- Docs wrong for mcollective "deploy" command?
- Webhook incorrectly reports success on `ping` event from GitHub with invalid secret
- Webhook-go url is hardcoded HOT 1
- Please clarify the instructions for integrating abrader-gms webhook type into this module HOT 4
- Request for comment on refactoring HOT 3
- wrong dependencies for version 12.1.0 and 12.0.0? HOT 2
- Webhook in v11 non functional, v12 incompatible
- Webhook go ordering manages service prior installing package
- webhook configuration default location - `/etc/voxpupuli` does not exist
- Documentation is totally wrong for webhook-go
- Installing r10k Returns Error: Last Version of faraday (~> 2.0) to support your Ruby & RubyGems was 3.0.2 then 2.8.1 HOT 1
- New release? HOT 1
- Provide ability to override individual webhook settings
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-r10k.