Ask Your Question

vcsrepo weird behavior on aws

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

slk gravatar image


Having a some what weird behavior from PuppetLabs Vcsrepo module ( )

When I run it on my Vagrant test instance using ' puppet apply provisioner " ( ) 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 => '', }

edit retag flag offensive close merge delete


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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

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

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


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

Seen: 88 times

Last updated: May 18 '15