Ask Your Question
0

vcsrepo weird behavior on aws

asked 2015-05-06 08:57:38 -0500

slk gravatar image

Hi,

Having a some what weird behavior from PuppetLabs Vcsrepo module ( https://forge.puppetlabs.com/puppetla... )

When I run it on my Vagrant test instance using ' puppet apply provisioner " ( http://docs.vagrantup.com/v2/provisio... ) everything gets picked and executed as expected.

The problem manifests when we try to run the same manifests with in our AWS environment ( puppet agent -t style ) Basically puppet just skips over anything VCSREPO related.

this is the stanza that utilizes vcsrepo

vcsrepo { '/var/lib/app/content': ensure => present, user => 'git', provider => git, require => File['/var/lib/app/content'], source => 'git@github.com:blah/blah.git', }

edit retag flag offensive close merge delete

Comments

Does your aws node(s) already have /var/lib/app/content created, and if so, what are the contents before running "puppet agent -t"? Can you also post a link to a pastebin of "puppet agent -t --debug" somewhere?

GregLarkin gravatar imageGregLarkin ( 2015-05-06 22:14:18 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-05-18 08:49:03 -0500

slk gravatar image

so we basically traced this behavior to incorrect installation of the agent and a seriously outdated AMI.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-05-06 08:57:38 -0500

Seen: 82 times

Last updated: May 18 '15